6 #ifndef HEPMC_READERROOT_H
7 #define HEPMC_READERROOT_H
21 #include "HepMC/Reader.h"
22 #include "HepMC/GenEvent.h"
23 #include "HepMC/Data/GenEventData.h"
24 #include "HepMC/Data/GenRunInfoData.h"
void close()
Close file stream.
bool failed()
Get stream error state.
TFile m_file
File handler.
Base class for all I/O readers.
GenEvent I/O parsing and serialization for root files.
TIter m_next
Iterator for event reading.
Stores event-related information.
bool read_event(GenEvent &evt)
Read event from file.
ReaderRoot(const std::string &filename)
Default constructor.