IAP GITLAB

Skip to content
Snippets Groups Projects
Commit bfd51121 authored by ralfulrich's avatar ralfulrich Committed by Maximilian Reininghaus
Browse files

fixed physics processes

parent d051fbe0
No related branches found
No related tags found
No related merge requests found
...@@ -148,9 +148,6 @@ namespace corsika::process::pythia { ...@@ -148,9 +148,6 @@ namespace corsika::process::pythia {
// set particle stable // set particle stable
Decay::SetStable(vP.GetPID()); Decay::SetStable(vP.GetPID());
// remove original particle from corsika stack
vP.Delete();
// if (fCount>10) throw std::runtime_error("stop here");
} }
} // namespace corsika::process::pythia } // namespace corsika::process::pythia
...@@ -411,8 +411,6 @@ namespace corsika::process::pythia { ...@@ -411,8 +411,6 @@ namespace corsika::process::pythia {
<< "Elab_final=" << Elab_final / 1_GeV << "Elab_final=" << Elab_final / 1_GeV
<< ", Plab_final=" << (Plab_final / 1_GeV).GetComponents() << endl; << ", Plab_final=" << (Plab_final / 1_GeV).GetComponents() << endl;
} }
// delete current particle
vP.Delete();
} }
return process::EProcessReturn::eOk; return process::EProcessReturn::eOk;
} }
......
...@@ -366,8 +366,6 @@ namespace corsika::process::sibyll { ...@@ -366,8 +366,6 @@ namespace corsika::process::sibyll {
<< ", Plab_final=" << (Plab_final / 1_GeV).GetComponents() << endl; << ", Plab_final=" << (Plab_final / 1_GeV).GetComponents() << endl;
} }
} }
// delete current particle
vP.Delete();
return process::EProcessReturn::eOk; return process::EProcessReturn::eOk;
} }
......
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