Celeritas 0.6.0-dev.115+3b60a5fd
|
Abstract base class for reading all primaries from an event. More...
#include <EventIOInterface.hh>
Public Types | |
Type aliases | |
using | VecPrimary = std::vector< Primary > |
using | result_type = VecPrimary |
Public Member Functions | |
virtual result_type | operator() ()=0 |
Read all primaries from a single event. | |
virtual size_type | num_events () const =0 |
Get total number of events. | |
Protected Member Functions | |
CELER_DEFAULT_COPY_MOVE (EventReaderInterface) | |
Abstract base class for reading all primaries from an event.
|
protecteddefault |
Allow construction and assignment only through daughter classes
|
protected |
Allow construction and assignment only through daughter classes
Get total number of events.
Implemented in celeritas::EventReader, celeritas::RootEventReader, celeritas::RootEventSampler, and celeritas::PrimaryGenerator.
|
pure virtual |
Read all primaries from a single event.
Implemented in celeritas::EventReader, celeritas::RootEventReader, celeritas::PrimaryGenerator, and celeritas::RootEventSampler.