IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 555b69c7 authored by Felix Riehn's avatar Felix Riehn
Browse files

recovered sibyll particle id copy

parent 89b3eb29
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,9 @@ public: ...@@ -156,7 +156,9 @@ public:
//transform to lab. frame, primitve //transform to lab. frame, primitve
const double en_lab = gambet * s_plist_.p[2][i] + gamma * p.GetEnergy(); const double en_lab = gambet * s_plist_.p[2][i] + gamma * p.GetEnergy();
// add to corsika stack // add to corsika stack
s.NewParticle().SetEnergy( en_lab * 1_GeV ); auto pnew = s.NewParticle();
pnew.SetEnergy( en_lab * 1_GeV );
pnew.SetPID( process::sibyll::ConvertFromSibyll( p.GetPID() ) );
} }
} }
} }
......
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