11 #include <corsika/output/BaseOutput.hpp> 12 #include <corsika/output/ParquetStreamer.hpp> 15 #include <corsika/framework/geometry/QuantityVector.hpp> 32 void startOfLibrary(boost::filesystem::path
const& directory)
final override;
37 void startOfShower(
unsigned int const showerId)
final override;
42 void endOfShower(
unsigned int const showerId)
final override;
62 unsigned int showerId_;
68 #include <corsika/detail/modules/writers/TrackWriterParquet.inl> void startOfShower(unsigned int const showerId) final override
Called at the start of each shower.
Import and extend the phys::units package.
void endOfShower(unsigned int const showerId) final override
Called at the end of each shower.
This class automates the construction of simple tabular Parquet files using the parquet::StreamWriter...
TrackWriterParquet()
Construct a new writer.
void write(Code const pid, HEPEnergyType const KinenergyPre, double const weight, QuantityVector< length_d > const &start, TimeType const t_start, QuantityVector< length_d > const &end, HEPEnergyType const KinenergyPost, TimeType const t_end)
Write a track to the file.
`, since they are used everywhere as integral part of the framework.
This is the base class for all outputs so that they can be stored in homogeneous containers.
void endOfLibrary() final override
Called at the end of each library.
Interface to particle properties.
void startOfLibrary(boost::filesystem::path const &directory) final override
Called at the start of each library.