|
CORSIKA8
0.0.0
The framework to simulate particle cascades for astroparticle physics
|

Public Member Functions | |
| Interaction (std::string const &dataPath="", bool const epos_printout_on=false) | |
| std::tuple< CrossSectionType, CrossSectionType > | calcCrossSectionCoM (Code const, int const, int const, Code const, int const, int const, HEPEnergyType const) const |
| returns production and elastic cross section for hadrons in epos. Inputs are: CorsikaId of beam particle, CorsikaId of target particle, center-of-mass energy. Allowed targets are: nuclei or single nucleons (p,n,hydrogen). This routine calculates the cross sections from scratch. Very slow! | |
| std::tuple< CrossSectionType, CrossSectionType > | readCrossSectionTableLab (Code const, int const, int const, Code const, HEPEnergyType const) const |
| returns production and elastic cross section for hadrons in epos by reading pre-calculated tables from epos. | |
| std::tuple< CrossSectionType, CrossSectionType > | getCrossSectionLab (Code const, int const, int const, Code const, int const, int const, HEPEnergyType const) const |
| returns production and elastic cross section. Allowed configurations are hadron-nucleon, hadron-nucleus and nucleus-nucleus. Inputs are particle id's mass and charge numbers and total energy in the lab. | |
| template<typename TParticle > | |
| GrammageType | getInteractionLength (TParticle const &) const |
| template<typename TSecondaries > | |
| void | doInteraction (TSecondaries &) |
| In this function EPOSLHC is called to produce one event. More... | |
| bool | isValidCoMEnergy (HEPEnergyType const ecm) const |
| bool | isValidTarget (Code const) const |
| eposlhc only accepts nuclei with X<=A<=Y as targets, or protons aka Hydrogen or neutrons (p,n == nucleon) | |
| void | initialize () const |
| void | initializeEventCoM (Code const, int const, int const, Code const, int const, int const, HEPEnergyType const) const |
| void | initializeEventLab (Code const, int const, int const, Code const, int const, int const, HEPEnergyType const) const |
| void | configureParticles (Code const, int const, int const, Code const, int const, int const) const |
| void | setParticlesStable () const |
Public Member Functions inherited from corsika::InteractionProcess< Interaction > | |
| InverseGrammageType | getInverseInteractionLength (TParticle const &particle) |
Additional Inherited Members | |
Public Types inherited from corsika::BaseProcess< Interaction > | |
| using | process_type = Interaction |
| Base processor type for use in other template classes. | |
Static Public Attributes inherited from corsika::BaseProcess< Interaction > | |
| static bool const | is_process_sequence |
| static bool const | is_switch_process_sequence |
Protected Member Functions inherited from corsika::BaseProcess< Interaction > | |
| Interaction & | ref () |
| const Interaction & | ref () const |
Protected Attributes inherited from corsika::BaseProcess< Interaction > | |
| friend | TDerived |
Definition at line 19 of file Interaction.hpp.
| void corsika::epos::Interaction::doInteraction | ( | TSecondaries & | ) |
In this function EPOSLHC is called to produce one event.
The event is copied into the shower lab frame.