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