|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
The actual writer to save dEdX data to disk. More...
#include <EnergyLossWriterParquet.hpp>

Public Member Functions | |
| EnergyLossWriterParquet (std::array< const char *, NColumns > const &colNames) | |
| Construct a new writer. | |
| void | startOfLibrary (boost::filesystem::path const &directory) override |
| Called at the start of each library. | |
| void | startOfShower (unsigned int const showerId) override |
| Called at the start of each shower. | |
| void | endOfShower (unsigned int const showerId) override |
| Called at the end of each shower. | |
| void | endOfLibrary () override |
| Called at the end of each library. More... | |
| void | write (unsigned int const showerId, GrammageType const grammage, std::array< HEPEnergyType, NColumns > const &data) |
| Write energy lost to the file. | |
Public Member Functions inherited from corsika::BaseOutput | |
| bool | isInit () const |
| Flag to indicate readiness. | |
| virtual YAML::Node | getSummary () const |
| Provide YAML Summary for this BaseOutput. | |
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. | |
The actual writer to save dEdX data to disk.
The purpose of this class is not to collect single-particle-level energy loss data. But to write entire binned profiles to disk at the end of a shower. To fill the shower data, you have to use EnergyLossWriter in combination with SubWriter. The EnergyLossWriterParquet is the default output mode of the EnergyLossWriter.
| NColumn | – the number of columns written to output. column names and data must be provided consistently. |
Definition at line 35 of file EnergyLossWriterParquet.hpp.
|
overridevirtual |
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.