|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
The Cascade class is constructed from template arguments making it very versatile. More...
#include <Cascade.hpp>
Public Member Functions | |
| void | setNodes () |
| set the nodes for all particles on the stack according to their numerical position. | |
| void | run () |
| The Run function is the main simulation loop, which processes particles from the Stack until the Stack is empty. | |
| void | forceInteraction () |
| Force an interaction of the top particle of the stack at its current position. More... | |
constructors | |
Cascade class cannot be default constructed, but needs a valid list of physics processes for configuration at construct time. | |
| Cascade ()=delete | |
| Cascade (Cascade const &)=default | |
| Cascade (Cascade &&)=default | |
| ~Cascade ()=default | |
| Cascade & | operator= (Cascade const &)=default |
| Cascade (Environment< medium_interface_type > const &env, TTracking &tr, TProcessList &pl, TOutput &out, TStack &stack) | |
The Cascade class is constructed from template arguments making it very versatile.
Via the template arguments physics models are plugged into the cascade simulation.
TTracking must be a class according to the TrackingInterface providing the functions:
TProcessList must be a ProcessSequence. * Stack is the storage object for particle data, i.e. with particle class type Stack::particle_type.
Definition at line 52 of file Cascade.hpp.
| void corsika::Cascade< TTracking, TProcessList, TOutput, TStack >::forceInteraction | ( | ) |
Force an interaction of the top particle of the stack at its current position.
Note that setNodes() or an equivalent procedure needs to be called first if you want to call forceInteraction() for the primary interaction.