IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 2874660a authored by Felix Riehn's avatar Felix Riehn Committed by Maximilian Reininghaus
Browse files

changed particle output to energy instead of kinetic energy

parent 25016e20
No related branches found
No related tags found
1 merge request!490Resolve "ObservationPlanes show non-existing particles"
...@@ -46,7 +46,8 @@ namespace corsika { ...@@ -46,7 +46,8 @@ namespace corsika {
return ProcessReturn::Ok; return ProcessReturn::Ok;
} }
HEPEnergyType const energy = step.getEkinPost(); HEPEnergyType const energy =
step.getEkinPost() + get_mass(step.getParticlePre().getPID());
Point const pointOfIntersection = step.getPositionPost(); Point const pointOfIntersection = step.getPositionPost();
Vector const displacement = pointOfIntersection - plane_.getCenter(); Vector const displacement = pointOfIntersection - plane_.getCenter();
......
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