2 #ifndef HEPMC_READERHEPEVT_H 3 #define HEPMC_READERHEPEVT_H 15 #include "HepMC/Reader.h" 16 #include "HepMC/GenEvent.h" 17 #include "HepMC/GenRunInfo.h" 18 #include "HepMC/Data/GenEventData.h" char * hepevtbuffer
Pointer to HEPEVT Fortran common block/C struct.
Base class for all I/O readers.
void close()
Close file stream.
int m_events_count
Event count.
virtual bool read_hepevt_particle(int i, bool iflong=true)
read particle from file
FILE * m_file
File to read.
Stores event-related information.
GenEvent I/O parsing and serialization for HEPEVT files.
virtual bool read_hepevt_event_header()
Find and read event header line from file.
bool failed()
Get stream error state.
Definition of template class SmartPointer.
ReaderHEPEVT(const std::string &filename)
Default constructor.
bool read_event(GenEvent &evt, bool iflong)
Read event from file.