IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ec9f5338 authored by Felix Riehn's avatar Felix Riehn Committed by ralfulrich
Browse files

testCONEX

parent 6ee3c4c9
No related branches found
No related tags found
No related merge requests found
...@@ -97,13 +97,15 @@ TEST_CASE("CONEXSourceCut") { ...@@ -97,13 +97,15 @@ TEST_CASE("CONEXSourceCut") {
auto const emPosition = showerCore + showerAxis.getDirection() * (-20_km); auto const emPosition = showerCore + showerAxis.getDirection() * (-20_km);
std::cout << "position injection: " CORSIKA_LOG_DEBUG("position injection: {} {}",
<< injectionPos.getCoordinates(conex.getObserverCS()) << " " injectionPos.getCoordinates(conex.getObserverCS()),
<< injectionPos.getCoordinates(rootCS) << std::endl; injectionPos.getCoordinates(rootCS));
std::cout << "position core: " << showerCore.getCoordinates(conex.getObserverCS()) CORSIKA_LOG_DEBUG("position core: {} {}",
<< " " << showerCore.getCoordinates(rootCS) << std::endl; showerCore.getCoordinates(conex.getObserverCS()),
std::cout << "position EM: " << emPosition.getCoordinates(conex.getObserverCS()) << " " showerCore.getCoordinates(rootCS));
<< emPosition.getCoordinates(rootCS) << std::endl; CORSIKA_LOG_DEBUG("position EM: {} {}",
emPosition.getCoordinates(conex.getObserverCS()),
emPosition.getCoordinates(rootCS));
conex.addParticle(Code::Proton, Eem, 0_eV, emPosition, momentum.normalized(), 0_s); conex.addParticle(Code::Proton, Eem, 0_eV, emPosition, momentum.normalized(), 0_s);
// supperimpose a photon // supperimpose a photon
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment