CORSIKA8  0.0.0
The framework to simulate particle cascades for astroparticle physics
corsika::proposal::Interaction Class Reference

Electro-magnetic and photon stochastic losses produced by proposal. It makes use of interpolation tables which are runtime intensive calculation, but can be reused by setting the. More...

#include <Interaction.hpp>

Inheritance diagram for corsika::proposal::Interaction:

Public Member Functions

template<typename TEnvironment >
 Interaction (TEnvironment const &env)
 Produces the stoachastic loss calculator for leptons based on nuclear compositions and stochastic description limited by the particle cut.
 
template<typename TSecondaryView >
ProcessReturn doInteraction (TSecondaryView &)
 Calculate the rates for the different targets and interactions. Sample a pair of interaction-type, component and rate, followed by sampling a loss and produce the corresponding secondaries and store them on the particle stack.
 
template<typename TParticle >
GrammageType getInteractionLength (TParticle const &p)
 Calculates the mean free path length.
 
- 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
 

Detailed Description

Electro-magnetic and photon stochastic losses produced by proposal. It makes use of interpolation tables which are runtime intensive calculation, but can be reused by setting the.

Parameters
PROPOSAL::InterpolationDef::path_to_tablesvariable.

Definition at line 28 of file Interaction.hpp.


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