|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
This class combines sibyll::HadronInteractionModel, which can only handle hadron projectiles, and sibyll::NuclearInteractionModel, which can handle only nucleus projectile, into a single process. More...
#include <InteractionModel.hpp>

Public Types | |
| using | nuclear_model_type = NuclearInteractionModel< HadronInteractionModel > |
Public Member Functions | |
| template<typename TEnvironment > | |
| InteractionModel (TEnvironment const &) | |
| CrossSectionType | getCrossSection (Code, Code, FourMomentum const &, FourMomentum const &) const |
| template<typename TSecondaries > | |
| void | doInteraction (TSecondaries &, Code, Code, FourMomentum const &, FourMomentum const &) |
| HadronInteractionModel & | getHadronInteractionModel () |
| HadronInteractionModel const & | getHadronInteractionModel () const |
| nuclear_model_type & | getNuclearInteractionModel () |
| nuclear_model_type const & | getNuclearInteractionModel () const |
This class combines sibyll::HadronInteractionModel, which can only handle hadron projectiles, and sibyll::NuclearInteractionModel, which can handle only nucleus projectile, into a single process.
The getCrossSection() and doInteraction() methods forward to the underlying models, depending on the projectile type.
Definition at line 24 of file InteractionModel.hpp.