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