|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Access to the CONEX model. More...
#include <CONEXhybrid.hpp>

Public Member Functions | |
| CONEXhybrid (Point const ¢er, ShowerAxis const &showerAxis, LengthType groundDist, LengthType injectionHeight, HEPEnergyType primaryEnergy, PDGCode pdg, TOutputE &outputE, TOutputN &outputN) | |
| Constructor with output sink specified. More... | |
| template<typename TStackView > | |
| void | doSecondaries (TStackView &) |
| void | initCascadeEquations () |
| init currently needs to be called to initializa a new event. More... | |
| template<typename TStack > | |
| void | doCascadeEquations (TStack &stack) |
| Cascade equations are solved basoned on the data in the tables. | |
| bool | addParticle (Code pid, HEPEnergyType energy, HEPEnergyType mass, Point const &position, Vector< dimensionless_d > const &direction, TimeType t, double weight=1) |
| Internal function to fill particle data inside CONEX tables. More... | |
| CoordinateSystemPtr const & | getObserverCS () const |
| YAML::Node | getConfig () const final override |
| Provide YAML configuration for this BaseOutput. | |
Public Member Functions inherited from corsika::SubWriter< TOutputE > | |
| SubWriter (TOutputE &output) | |
| void | write (TArgs &&... args) |
Public Member Functions inherited from corsika::SubWriter< TOutputN > | |
| SubWriter (TOutputN &output) | |
| void | write (TArgs &&... args) |
Additional Inherited Members | |
Public Types inherited from corsika::BaseProcess< CONEXhybrid< TOutputE, TOutputN > > | |
| using | process_type = CONEXhybrid< TOutputE, TOutputN > |
| Base processor type for use in other template classes. | |
Static Public Attributes inherited from corsika::BaseProcess< CONEXhybrid< TOutputE, TOutputN > > | |
| static bool const | is_process_sequence |
| static bool const | is_switch_process_sequence |
Protected Member Functions inherited from corsika::BaseProcess< CONEXhybrid< TOutputE, TOutputN > > | |
| CONEXhybrid< TOutputE, TOutputN > & | getRef () |
| const CONEXhybrid< TOutputE, TOutputN > & | getRef () const |
Protected Attributes inherited from corsika::BaseProcess< CONEXhybrid< TOutputE, TOutputN > > | |
| friend | TDerived |
Access to the CONEX model.
The fortran version of CONEX is interfaced. This is a SecondariesProcess since it skims the Stack for input particles (specific energies, or types) in order to fill internal CONEX source tables. CONEX is the called after the Cascade is finished to do a CascadeEquations step. This typically produces output data, and in addition can even generate new secondaries on the main Stack.
Note that the output is processed by SubWriter<TOutputE/N>. The SubWriters have to be initialized with valid objects of type TOutputE/N at construction time.If no output is wished, WriterOff can be used for this purpose.
| TOutputE | – Output writer for dEdX data. |
| TOutputN | – Output writer for particle number profile data. |
Definition at line 53 of file CONEXhybrid.hpp.
| corsika::CONEXhybrid< TOutputE, TOutputN >::CONEXhybrid | ( | Point const & | center, |
| ShowerAxis const & | showerAxis, | ||
| LengthType | groundDist, | ||
| LengthType | injectionHeight, | ||
| HEPEnergyType | primaryEnergy, | ||
| PDGCode | pdg, | ||
| TOutputE & | outputE, | ||
| TOutputN & | outputN | ||
| ) |
Constructor with output sink specified.
The output will be generated by the output sink.
| center | center of earth. |
| showerAxis | shower axis to convert geometry to grammage. |
| groundDist | distance to ground. |
| injectionHeight | height of injection. |
| primaryEnergy | energy of primary particle |
| pdg | type of primary particle. |
| outputE | object to initialized SubWriter<TOutputE> |
| outputN | object to initialized SubWriter<TOutputN> |
| bool corsika::CONEXhybrid< TOutputE, TOutputN >::addParticle | ( | Code | pid, |
| HEPEnergyType | energy, | ||
| HEPEnergyType | mass, | ||
| Point const & | position, | ||
| Vector< dimensionless_d > const & | direction, | ||
| TimeType | t, | ||
| double | weight = 1 |
||
| ) |
Internal function to fill particle data inside CONEX tables.
Only e.m. particles are selected right now.
| void corsika::CONEXhybrid< TOutputE, TOutputN >::initCascadeEquations | ( | ) |
init currently needs to be called to initializa a new event.
All tables are cleared, etc.