CORSIKA8  0.0.0
The framework to simulate particle cascades for astroparticle physics
corsika::BaseOutput Class Referenceabstract

This is the base class for all outputs so that they can be stored in homogeneous containers. More...

#include <BaseOutput.hpp>

Inheritance diagram for corsika::BaseOutput:

Public Member Functions

virtual void startOfLibrary (boost::filesystem::path const &directory)=0
 Called at the start of each run.
 
virtual void startOfShower ()
 Called at the start of each event/shower.
 
virtual void endOfShower ()=0
 Called at the end of each event/shower.
 
virtual void endOfLibrary ()=0
 Called at the end of each run.
 
virtual YAML::Node getConfig () const =0
 Get the configuration of this output.
 
virtual YAML::Node getSummary ()
 Get any summary information for the entire library.
 
bool isInit () const
 Flag to indicate readiness.
 

Protected Member Functions

void setInit (bool const v)
 Set init flag.
 

Protected Attributes

int shower_ {0}
 The current event number.
 

Detailed Description

This is the base class for all outputs so that they can be stored in homogeneous containers.

Definition at line 20 of file BaseOutput.hpp.


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