HepMC3 event record library
|
Go to the documentation of this file.
6 #ifndef HEPMC3_READERHEPEVT_H
7 #define HEPMC3_READERHEPEVT_H
40 #ifndef HEPMC3_PYTHON_BINDINGS
60 bool skip(
const int)
override;
68 void close()
override;
Definition of class GenEvent.
Stores event-related information.
std::ifstream m_file
Input file.
virtual bool read_hepevt_particle(int i)
read particle from file
bool m_vertices_positions_present
true if vertex positions are available
bool skip(const int) override
skip events
char * hepevtbuffer
Pointer to HEPEVT Fortran common block/C struct.
Base class for all I/O readers.
Definition of class GenRunInfo.
ReaderHEPEVT(const std::string &filename)
Default constructor.
bool failed() override
Get stream error state.
void close() override
Close file stream.
GenEvent I/O parsing and serialization for HEPEVT files.
bool read_event(GenEvent &evt) override
Read event from file.
bool m_isstream
toggles usage of m_file or m_stream
std::istream * m_stream
For ctor when reading from stdin.
Definition of interface Reader.
Definition of struct GenEventData.
virtual bool read_hepevt_event_header()
Find and read event header line from file.