HepMC3 event record library
|
Go to the documentation of this file.
6 #ifndef HEPMC3_WRITER_H
7 #define HEPMC3_WRITER_H
36 virtual void close() = 0;
shared_ptr< GenRunInfo > run_info() const
Get the global GenRunInfo object.
Stores event-related information.
void set_run_info(shared_ptr< GenRunInfo > run)
Set the global GenRunInfo object.
Definition of class GenRunInfo.
virtual void close()=0
Close file and/or stream.
virtual void write_event(const GenEvent &evt)=0
Write event evt to output target.
Base class for all I/O writers.
shared_ptr< GenRunInfo > m_run_info
The global GenRunInfo object.
virtual bool failed()=0
Get file and/or stream error state.
virtual ~Writer()
Virtual destructor.