CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::ParticleWriterParquet Class Reference
Inheritance diagram for corsika::ParticleWriterParquet:

Public Member Functions

 ParticleWriterParquet ()
 Construct an ObservationPlane.
 
void startOfLibrary (boost::filesystem::path const &directory) final override
 Called at the start of each library.
 
void startOfShower (unsigned int const showerId) final override
 Called at the beginning of each shower.
 
void endOfShower (unsigned int const showerId) final override
 Called at the end of each shower.
 
void endOfLibrary () final override
 Called at the end of each library. More...
 
void write (Code const pid, units::si::HEPEnergyType const energy, units::si::LengthType const x, units::si::LengthType const y, units::si::LengthType const z, units::si::TimeType const time, const double weight)
 Write a PDG/corsika::Code particle to the file.
 
YAML::Node getSummary () const final override
 Return collected library-level summary for output.
 
HEPEnergyType getEnergyGround () const
 If plane is absorbing particles: return the total energy absorbed.
 
- Public Member Functions inherited from corsika::BaseOutput
bool isInit () const
 Flag to indicate readiness.
 
- Public Member Functions inherited from corsika::Configurable
virtual YAML::Node getConfig () const =0
 Provide YAML configuration for this BaseOutput.
 

Additional Inherited Members

- Protected Member Functions inherited from corsika::BaseOutput
void setInit (bool const v)
 Set init flag.
 

Detailed Description

Definition at line 18 of file ParticleWriterParquet.hpp.

Member Function Documentation

◆ endOfLibrary()

void corsika::ParticleWriterParquet::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: