6 #ifndef HEPMC3_READER_H 7 #define HEPMC3_READER_H 36 virtual void close()=0;
Definition of class GenRunInfo.
virtual void close()=0
Close file and/or stream.
shared_ptr< GenRunInfo > run_info() const
Get the global GenRunInfo object.
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 ~Reader()
Virtual destructor.
shared_ptr< GenRunInfo > m_run_info
The global GenRunInfo object.
Stores event-related information.
void set_run_info(shared_ptr< GenRunInfo > run)
Set the global GenRunInfo object.
Base class for all I/O readers.