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

Processes acting on the particles traversion from one volume into another volume. More...

#include <BoundaryCrossingProcess.hpp>

Inheritance diagram for corsika::BoundaryCrossingProcess< TDerived >:

Additional Inherited Members

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

Detailed Description

template<typename TDerived>
class corsika::BoundaryCrossingProcess< TDerived >

Processes acting on the particles traversion from one volume into another volume.

Create a new BoundaryCrossingProcess, e.g. for XYModel, via

class XYModel : public BoundaryCrossingProcess<XYModel> {};

and provide the necessary interface method:

template <typename TParticle>
ProcessReturn XYModel::doBoundaryCrossing(TParticle& Particle,
typename TParticle::node_type const& from,
typename TParticle::node_type const& to);

where Particle is the object to read particle data from a Stack. The volume the particle is originating from is from, the volume where it goes to is to.

Definition at line 46 of file BoundaryCrossingProcess.hpp.


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