CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::history::HistorySecondaryProducer< T1, T2 > Class Template Reference

Public Member Functions

template<typename Particle >
 HistorySecondaryProducer (Particle const &p)
 
template<typename Particle >
auto new_secondary (Particle &sec)
 Method is called after a new Secondary has been created on the SecondaryView. More...
 

Public Attributes

EventPtr event_
 

Static Public Attributes

static bool constexpr has_event {true}
 

Detailed Description

template<class T1, template< class > class T2>
class corsika::history::HistorySecondaryProducer< T1, T2 >

Definition at line 17 of file StackIteratorInterface.hpp.

Member Function Documentation

◆ new_secondary()

template<class T1 , template< class > class T2>
template<typename Particle >
auto corsika::history::HistorySecondaryProducer< T1, T2 >::new_secondary ( Particle &  sec)
inline

Method is called after a new Secondary has been created on the SecondaryView.

Extra logic can be introduced here.

The input Particle is the new secondary that was produced and is of course a reference into the SecondaryView itself.

Definition at line 48 of file HistorySecondaryProducer.hpp.


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