Hadronic interaction interface 2.0
Current problems:
-
getCrossSection
has 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
getInteractionLength
is called and insidedoInteraction
when 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.
doInteraction
receives 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 (closed)), HepMC/CRMC (#56 (closed)), Epos issues (#443 (closed)), validation of hadronic models (#58)