 |
DD4hep
1.36.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DDG4_LCIO_LCIOEVENTREADER_H
14 #define DDG4_LCIO_LCIOEVENTREADER_H
21 namespace EVENT {
class LCCollection; }
40 using CollectionOwner = std::unique_ptr<EVENT::LCCollection, void(*)(EVENT::LCCollection*)>;
50 std::vector<Particle*>& particles);
61 #endif // DDG4_LCIO_LCIOEVENTREADER_H
virtual EventReaderStatus readParticles(int event_number, Vertices &vertices, std::vector< Particle * > &particles)
Read an event and fill a vector of MCParticles.
EventReaderStatus
Status codes of the event reader object. Anything with NOT low-bit set is an error.
Base class to read lcio files.
LCIOEventReader(const std::string &nam)
Initializing constructor.
LCIO namespace. See http://lcio.desy.de.
virtual ~LCIOEventReader()
Default destructor.
std::unique_ptr< EVENT::LCCollection, void(*)(EVENT::LCCollection *)> CollectionOwner
Basic geant4 event reader class. This interface/base-class must be implemented by concrete readers.
virtual EventReaderStatus readParticleCollection(int event_number, CollectionOwner &particles)=0
Namespace for the AIDA detector description toolkit.
std::vector< Vertex * > Vertices