|
Celeritas 0.7.0-dev.172+develop.fe2a0acd4
|
Write events using HepMC3. More...
#include <EventWriter.hh>

Public Types | |
| enum class | Format { hepevt , hepmc2 , hepmc3 , size_ } |
| Output format. | |
Type aliases | |
| using | SPConstParticles = std::shared_ptr< ParticleParams const > |
Public Types inherited from celeritas::EventWriterInterface | |
| using | VecPrimary = std::vector< Primary > |
| using | argument_type = VecPrimary const & |
Public Member Functions | |
| EventWriter (std::string const &filename, SPConstParticles params) | |
| Construct by parsing the extension. | |
| EventWriter (std::string const &filename, SPConstParticles params, Format fmt) | |
| Construct with a filename, particle data, and output format. | |
| CELER_DELETE_COPY_MOVE (EventWriter) | |
| Prevent copying and moving due to file ownership. | |
| void | operator() (VecPrimary const &primaries) final |
| Write all primaries from a single event. | |
Public Member Functions inherited from celeritas::EventWriterInterface | |
| virtual void | operator() (argument_type primaries)=0 |
| Write all primaries from a single event. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::EventWriterInterface | |
| CELER_DEFAULT_COPY_MOVE (EventWriterInterface) | |
Write events using HepMC3.
Write all primaries from a single event.
< Only these are to be transported!