IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 89c8a60f authored by ralfulrich's avatar ralfulrich
Browse files

missing variable

parent 4604b149
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ void read(corsika::super_stupid::SuperStupidStack& s) {
assert(s.GetSize() == 11); // stack has 11 particles
HEPEnergyType total_energy;
int i = 0;
for (const auto& p : s) {
total_energy += p.GetEnergy();
// particles are electrons with 1.5 GeV energy times i
......
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