|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Wrapper around an InteractionProcess that fills histograms of the number of calls to doInteraction() binned in projectile energy (both in lab and center-of-mass frame) and species.
More...
#include <InteractionCounter.hpp>

Public Member Functions | |
| InteractionCounter (TCountedProcess &process) | |
| template<typename TSecondaryView > | |
| void | doInteraction (TSecondaryView &view, Code const, Code const, FourMomentum const &, FourMomentum const &) |
| Wrapper around internal process doInteraction. | |
| CrossSectionType | getCrossSection (Code const, Code const, FourMomentum const &, FourMomentum const &) const |
| Wrapper around internal process getCrossSection. | |
| InteractionHistogram const & | getHistogram () const |
| returns the filles histograms. More... | |
Additional Inherited Members | |
Public Types inherited from corsika::BaseProcess< InteractionCounter< TCountedProcess > > | |
| using | process_type = InteractionCounter< TCountedProcess > |
| Base processor type for use in other template classes. | |
Static Public Attributes inherited from corsika::BaseProcess< InteractionCounter< TCountedProcess > > | |
| static bool const | is_process_sequence |
| static bool const | is_switch_process_sequence |
Protected Member Functions inherited from corsika::BaseProcess< InteractionCounter< TCountedProcess > > | |
| InteractionCounter< TCountedProcess > & | getRef () |
| const InteractionCounter< TCountedProcess > & | getRef () const |
Protected Attributes inherited from corsika::BaseProcess< InteractionCounter< TCountedProcess > > | |
| friend | TDerived |
Wrapper around an InteractionProcess that fills histograms of the number of calls to doInteraction() binned in projectile energy (both in lab and center-of-mass frame) and species.
Use by wrapping a normal InteractionProcess:
Definition at line 33 of file InteractionCounter.hpp.
| InteractionHistogram const& corsika::InteractionCounter< TCountedProcess >::getHistogram | ( | ) | const |
returns the filles histograms.