53 void set_options(
const std::map<std::string, std::string>& options)
Definition of class GenRunInfo.
Stores event-related information.
Base class for all I/O readers.
virtual bool read_event(GenEvent &evt)=0
Fill next event from input into evt.
virtual ~Reader()
Virtual destructor.
void set_options(const std::map< std::string, std::string > &options)
Set options.
virtual bool skip(const int)
skip or fast forward reading of some events
std::shared_ptr< GenRunInfo > run_info() const
Get the global GenRunInfo object.
std::map< std::string, std::string > m_options
options
void set_run_info(std::shared_ptr< GenRunInfo > run)
Set the global GenRunInfo object.
std::map< std::string, std::string > get_options() const
Set options.
virtual bool failed()=0
Get file and/or stream error state.
Reader(const Reader &)=delete
deleted copy constructor
std::shared_ptr< GenRunInfo > m_run_info
The global GenRunInfo object.
Reader & operator=(const Reader &)=delete
deleted copy assignment operator
virtual void close()=0
Close file and/or stream.