CORSIKA8  0.0.0
The framework to simulate particle cascades for astroparticle physics
corsika::TrackWriterParquet Class Reference
Inheritance diagram for corsika::TrackWriterParquet:

Public Member Functions

 TrackWriterParquet ()
 Construct a new writer. More...
 
void startOfLibrary (boost::filesystem::path const &directory) final override
 Called at the start of each library.
 
void endOfShower () final override
 Called at the end of each shower.
 
void endOfLibrary () final override
 Called at the end of each library. More...
 
- Public Member Functions inherited from corsika::BaseOutput
virtual void startOfShower ()
 Called at the start of each event/shower.
 
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 write (Code const &pid, units::si::HEPEnergyType const &energy, QuantityVector< length_d > const &start, QuantityVector< length_d > const &end)
 Write a track to the file.
 
- Protected Member Functions inherited from corsika::BaseOutput
void setInit (bool const v)
 Set init flag.
 

Additional Inherited Members

- Protected Attributes inherited from corsika::BaseOutput
int shower_ {0}
 The current event number.
 

Detailed Description

Definition at line 19 of file TrackWriterParquet.hpp.

Constructor & Destructor Documentation

◆ TrackWriterParquet()

corsika::TrackWriterParquet::TrackWriterParquet ( )

Construct a new writer.

Parameters
nameThe name of this output.

Member Function Documentation

◆ endOfLibrary()

void corsika::TrackWriterParquet::endOfLibrary ( )
finaloverridevirtual

Called at the end of each library.

This must also increment the run number since we override the default behaviour of BaseOutput.

Implements corsika::BaseOutput.


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