#include <StdHepReader.h>
Inheritance diagram for marlin::StdHepReader:
Public Member Functions | |
virtual StdHepReader * | newProcessor () |
Return a new instance of the processor. | |
virtual void | readDataSource (int numEvents) |
Creates events with MCParticle collections from the StdHep input file and calls all active processors' processEvent() and processRunHeader Method. | |
virtual void | init () |
Called at the begin of the job before anything is read. | |
virtual void | end () |
Called after data processing for clean up in the inverse order of the init() method so that resources allocated in the first processor also will be available for all following processors. | |
Protected Attributes | |
std::string | _fileName |
Example processor for reading non-LCIO input files - creates events with MCParticle collections from binary StdHep files. Has to be the first active processor and requires that no LCIO input collection is used (parameter LCIOInputFiles).
StdHep file.
LCEvent with MCParticle collection.
StdHepFileName | name of input file |
|
Called at the begin of the job before anything is read. Use to initialize the processor, e.g. book histograms. Reimplemented from marlin::Processor. |
|
Return a new instance of the processor. Has to be implemented by subclasses. Implements marlin::Processor. |