CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::sibyll::InteractionModel Class Reference

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>

Inheritance diagram for corsika::sibyll::InteractionModel:

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 &)
 
HadronInteractionModelgetHadronInteractionModel ()
 
HadronInteractionModel const & getHadronInteractionModel () const
 
nuclear_model_typegetNuclearInteractionModel ()
 
nuclear_model_type const & getNuclearInteractionModel () const
 

Detailed Description

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.


The documentation for this class was generated from the following file: