Class used to encapsulate information about a mc particle.
Processor used to translate StdHep MCParticles to ROOT MCParticle objects. more details.
std::string mcPartCollStdhep_
name temporary lcio collection
virtual void configure(const ParameterSet ¶meters)
Configure the Processor.
virtual void initialize(TTree *tree)
Callback for the Processor to take any necessary action when the processing of events starts.
virtual void finalize()
Callback for the Processor to take any necessary action when the processing of events finishes.
int skipEvent_
skipped event numbers to convet
TTree * tree_
TTree holds converted MCParticles for each event.
int maxEvent_
max stdhep event number to convert
std::vector< MCParticle * > mc_particles_
list of converted MCParticles
virtual void initialize(std::string inFilename, std::string outFilename)
Callback for the Processor to take any necessary action when the processing of events starts.
~StdhepMCParticleProcessor()
std::string mcPartCollRoot_
name root collection
virtual bool process(IEvent *event)
Process the event and put new data products into it.
virtual bool process()
Process the event and put new data products into it.