Hadronic interaction interface 2.0
getCrossSectionhas a different signature for different models and sometimes calculates in the Lab frame, sometimes in CoM.
- the cross section is evaluated at least two times per interaction. When
getInteractionLengthis called and inside
doInteractionwhen the target nucleus for a composite target, like air, is sampled.
Needed for CRMC-like interface:
- target and projectile are currently handled in a way that is specific to the Lab-frame and air shower simulations.
doInteractionreceives only the projectile and samples the target from the environment but always with zero momentum. To simulate CoM collisions with models that already work in the CoM (e.g. sibyll) in the current interface we would have to boost back and forth.
Related issues: configurability/charm-switch (#446), universal superposition model (#65 (closed)), photon-hadron interactions (#411), HepMC/CRMC (#56), Epos issues (#443), validation of hadronic models (#58)