11 #include <corsika/output/BaseOutput.hpp> 12 #include <corsika/output/ParquetStreamer.hpp> 30 template <
size_t NColumns>
42 void startOfLibrary(boost::filesystem::path
const& directory)
override;
52 void endOfShower(
unsigned int const showerId)
override;
66 std::array<double, NColumns>
const& data);
69 std::array<const char*, NColumns> columns_;
76 #include <corsika/detail/modules/writers/LongitudinalProfileWriterParquet.inl> LongitudinalProfileWriterParquet(std::array< const char *, NColumns > const &colNames)
Construct a new writer.
Import and extend the phys::units package.
void startOfLibrary(boost::filesystem::path const &directory) override
Called at the start of each library.
void write(unsigned int const showerId, GrammageType const grammage, std::array< double, NColumns > const &data)
Add profile to disk.
This class automates the construction of simple tabular Parquet files using the parquet::StreamWriter...
`, since they are used everywhere as integral part of the framework.
void endOfLibrary() override
Called at the end of each library.
This is the base class for all outputs so that they can be stored in homogeneous containers.
void endOfShower(unsigned int const showerId) override
Called at the end of each shower.
The actual writer to save longitudinal profile data to disk.
void startOfShower(unsigned int const showerId) override
Called at the start of each shower.
Interface to particle properties.