CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::StackInspector< TStack > Class Template Reference

StackProcess that will act each \(n_{step}\) steps to perform diagnostics on the full stack. More...

#include <StackInspector.hpp>

Inheritance diagram for corsika::StackInspector< TStack >:

Public Member Functions

 StackInspector (int const nStep, bool const reportStack, HEPEnergyType const vE0)
 
void doStack (TStack const &)
 
void setE0 (HEPEnergyType const E0)
 To set a new E0, for example when a new shower event is started.
 
- Public Member Functions inherited from corsika::StackProcess< StackInspector< TStack > >
 StackProcess (const unsigned int nStep)
 
int getStep () const
 return the current Cascade step counter
 
bool checkStep ()
 check if current step is where StackProcess should be executed, this also increases the internal step counter implicitly
 

Additional Inherited Members

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

Detailed Description

template<typename TStack>
class corsika::StackInspector< TStack >

StackProcess that will act each \(n_{step}\) steps to perform diagnostics on the full stack.

The StackInspector can dump the entrie stack content for debugging, or also just determine the total energy remaining on the stack. From the decrease of energy on the stack an ETA for the completion of the simulation is determined.

Template Parameters
TStackIs the type of the particle stack.

Definition at line 30 of file StackInspector.hpp.


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