Example processor for marlin. More...
#include <IsoLepTrainingProcessor.h>
Public Member Functions | |
virtual Processor * | newProcessor () |
IsoLepTrainingProcessor () | |
virtual void | init () |
Called at the begin of the job before anything is read. More... | |
virtual void | processRunHeader (LCRunHeader *run) |
Called for every run. More... | |
virtual void | processEvent (LCEvent *evt) |
Called for every event - the working horse. More... | |
virtual void | check (LCEvent *evt) |
virtual void | end () |
Called after data processing for clean up. More... | |
Protected Attributes | |
std::string | _colMCP {} |
Input collection name. More... | |
std::string | _colMCTL {} |
std::string | _colPFOs {} |
std::string | _colPVtx {} |
bool | _mcdebug {} |
bool | _is_lep_tune {} |
bool | _is_for_sig {} |
int | _nRun {} |
int | _nEvt {} |
int | _iso_lep_type {} |
Example processor for marlin.
If compiled with MARLIN_USE_AIDA it creates a histogram (cloud) of the MCParticle energies.
Needs the collection of MCParticles.
A histogram.
CollectionName | Name of the MCParticle collection |
Definition at line 27 of file IsoLepTrainingProcessor.h.
IsoLepTrainingProcessor::IsoLepTrainingProcessor | ( | ) |
Definition at line 47 of file IsoLepTrainingProcessor.cc.
|
virtual |
Definition at line 521 of file IsoLepTrainingProcessor.cc.
|
virtual |
Called after data processing for clean up.
Definition at line 526 of file IsoLepTrainingProcessor.cc.
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.
Definition at line 101 of file IsoLepTrainingProcessor.cc.
|
inlinevirtual |
Definition at line 31 of file IsoLepTrainingProcessor.h.
|
virtual |
Called for every event - the working horse.
Definition at line 120 of file IsoLepTrainingProcessor.cc.
|
virtual |
Called for every run.
Definition at line 115 of file IsoLepTrainingProcessor.cc.
|
protected |
Input collection name.
Definition at line 62 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 63 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 64 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 65 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 70 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 69 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 75 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 67 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 73 of file IsoLepTrainingProcessor.h.
|
protected |
Definition at line 72 of file IsoLepTrainingProcessor.h.