|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
24 #ifndef DD4HEP_DDG4_LCIOSTDHEPREADER_H
25 #define DD4HEP_DDG4_LCIOSTDHEPREADER_H
28 #include <UTIL/LCStdHepRdr.h>
57 EVENT::LCCollection** particles)
override;
103 printout(INFO,
"LCIOStdHepReader::moveToEvent",
"Skipping the first %d events ", event_number );
104 printout(INFO,
"LCIOStdHepReader::moveToEvent",
"Event number before skipping: %d",
m_currEvent );
106 EVENT::LCCollection* particles =
m_reader->readEvent();
112 printout(INFO,
"LCIOStdHepReader::moveToEvent",
"Event number after skipping: %d",
m_currEvent );
UTIL::LCStdHepRdr * m_reader
Reference to Reader object.
EventReaderStatus
Status codes of the event reader object. Anything with NOT low-bit set is an error.
virtual EventReaderStatus readParticleCollection(int event_number, EVENT::LCCollection **particles) override
Read an event and fill a vector of MCParticles.
Base class to read lcio files.
#define DECLARE_GEANT4_EVENT_READER_NS(name_space, name)
Plugin defintion to create event reader objects.
UriReader * m_reader
Pointer to URI reader.
int m_currEvent
Current event number.
virtual EventReaderStatus moveToEvent(int event_number) override
Move to the indicated event number.
virtual ~LCIOStdHepReader()
Default destructor.
LCIOStdHepReader(const std::string &nam)
Initializing constructor.
Base class to read StdHep files.
LCIO namespace. See http://lcio.desy.de.
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
Namespace for the AIDA detector description toolkit.
virtual EventReaderStatus skipEvent() override
Skip event. To be implemented for sequential sources.