IAP GITLAB

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

comment

parent 55c19afa
No related branches found
No related tags found
No related merge requests found
...@@ -200,7 +200,7 @@ namespace corsika { ...@@ -200,7 +200,7 @@ namespace corsika {
GrammageType const grammageStart = shower_axis_.getProjectedX(vTrack.getPosition(0)); GrammageType const grammageStart = shower_axis_.getProjectedX(vTrack.getPosition(0));
GrammageType const grammageEnd = shower_axis_.getProjectedX(vTrack.getPosition(1)); GrammageType const grammageEnd = shower_axis_.getProjectedX(vTrack.getPosition(1));
GrammageType deltaX = grammageEnd - grammageStart; GrammageType deltaX = grammageEnd - grammageStart;
if (deltaX < GrammageType::zero()) deltaX = -deltaX; if (deltaX < GrammageType::zero()) deltaX = -deltaX; // to catch upward-going particles
if (deltaX < dX_threshold_) return; if (deltaX < dX_threshold_) return;
// only register the range that is covered by the profile // only register the range that is covered by the profile
......
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