IAP GITLAB

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

return cross sections in correct order: inel, ela

parent 924b64f5
No related branches found
No related tags found
1 merge request!549Draft: "Use Pythia for interactions"
...@@ -195,7 +195,7 @@ namespace corsika::pythia8 { ...@@ -195,7 +195,7 @@ namespace corsika::pythia8 {
CrossSectionType const xsEl = crossSectionPPElastic_.interpolate(Elab); CrossSectionType const xsEl = crossSectionPPElastic_.interpolate(Elab);
CrossSectionType const xsInel = crossSectionPPInelastic_.interpolate(Elab); CrossSectionType const xsInel = crossSectionPPInelastic_.interpolate(Elab);
return std::pair{xsEl, xsInel}; return std::pair{xsInel, xsEl};
} }
CrossSectionType InteractionModel::getCrossSection(Code const projectileId, CrossSectionType InteractionModel::getCrossSection(Code const projectileId,
......
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