Celeritas 0.7.0-dev.127+develop.e63889793
|
Export primary data to json. More...
#include <JsonEventWriter.hh>
Public Types | |
Type aliases | |
using | SPConstParticles = std::shared_ptr< ParticleParams const > |
![]() | |
using | VecPrimary = std::vector< Primary > |
using | argument_type = VecPrimary const & |
Public Member Functions | |
JsonEventWriter (std::string const &filename, SPConstParticles particles) | |
Construct with output filename. | |
CELER_DELETE_COPY_MOVE (JsonEventWriter) | |
Prevent copying and moving. | |
void | operator() (VecPrimary const &primaries) override |
Write all primaries from a single event. | |
![]() | |
virtual void | operator() (argument_type primaries)=0 |
Write all primaries from a single event. | |
Additional Inherited Members | |
![]() | |
CELER_DEFAULT_COPY_MOVE (EventWriterInterface) | |
Export primary data to json.
This write one event per line.