|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
The LongitudinalWriter can be used to pool the particle counts of several longitudinal profile processes into one output file/stream. More...
#include <LongitudinalWriter.hpp>

Public Member Functions | |
| LongitudinalWriter (ShowerAxis const &axis, GrammageType dX=10_g/square(1_cm)) | |
| Construct a new writer. | |
| LongitudinalWriter (ShowerAxis const &axis, size_t nbins, GrammageType dX=10_g/square(1_cm)) | |
| void | startOfLibrary (boost::filesystem::path const &directory) final override |
| void | startOfShower (unsigned int const showerId) final override |
| void | endOfShower (unsigned int const showerId) final override |
| void | endOfLibrary () final override |
| void | write (Point const &p0, Point const &p1, Code const pid, double const weight) |
| Add continuous profile. | |
| void | write (GrammageType const Xstart, GrammageType const Xend, Code const pid, double const weight) |
| Add binned profile. | |
| YAML::Node | getSummary () const |
| Return a summary. | |
| YAML::Node | getConfig () const |
| Return the configuration of this output. | |
| number_profile::ProfileData const & | getProfile (number_profile::ProfileIndex index) const |
The LongitudinalWriter can be used to pool the particle counts of several longitudinal profile processes into one output file/stream.
Typically several processes/modules can lead to particle counts along the shower axis in the shower. The LongitudianalWriter can be used in combination with the SubWriter class to collect all of them into a single output stream:
The default output option is parquet format.
| TOutput |
Definition at line 91 of file LongitudinalWriter.hpp.