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

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

#include <ContinuousProcess.hpp>

Inheritance diagram for corsika::proposal::ContinuousProcess:

Public Member Functions

template<typename TEnvironment >
 ContinuousProcess (TEnvironment const &)
 Produces the continuous loss calculator for leptons based on nuclear compositions and stochastic description limited by the particle cut.
 
template<typename TParticle >
void scatter (TParticle &, HEPEnergyType const &, GrammageType const &)
 Multiple Scattering of the lepton. Stochastic deflection is not yet taken into account. Displacment of the track due to multiple scattering is not possible because of the constant referernce. The final direction will be updated anyway.
 
template<typename TParticle , typename TTrack >
ProcessReturn doContinuous (TParticle &, TTrack const &track, bool const limitFlag)
 Produces the loss and deflection after given distance for the particle. If the particle if below the given energy threshold where it will be considered stochastically, it will be absorbed. More...
 
template<typename TParticle , typename TTrack >
LengthType getMaxStepLength (TParticle const &, TTrack const &)
 Calculates maximal step length of process.
 
void showResults () const
 
void reset ()
 
HEPEnergyType getEnergyLost () const
 

Additional Inherited Members

- Public Types inherited from corsika::BaseProcess< proposal::ContinuousProcess >
using process_type = proposal::ContinuousProcess
 Base processor type for use in other template classes.
 
- Static Public Attributes inherited from corsika::BaseProcess< proposal::ContinuousProcess >
static bool const is_process_sequence
 
static bool const is_switch_process_sequence
 
- Protected Member Functions inherited from corsika::BaseProcess< proposal::ContinuousProcess >
proposal::ContinuousProcessref ()
 
const proposal::ContinuousProcessref () const
 
- Protected Attributes inherited from corsika::BaseProcess< proposal::ContinuousProcess >
friend TDerived
 

Detailed Description

Electro-magnetic and photon continous 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 32 of file ContinuousProcess.hpp.

Member Function Documentation

◆ doContinuous()

template<typename TParticle , typename TTrack >
ProcessReturn corsika::proposal::ContinuousProcess::doContinuous ( TParticle &  ,
TTrack const &  track,
bool const  limitFlag 
)

Produces the loss and deflection after given distance for the particle. If the particle if below the given energy threshold where it will be considered stochastically, it will be absorbed.

Parameters
limitFlagis true, if the track was actually limited by proposal::ContinuousProcess::getMaxStepLength

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