Calculates the true jet energy from MCParticles. More...
#include <MCTruthJetEnergy.h>
Public Member Functions | |
MCTruthJetEnergy (const MCTruthJetEnergy &)=delete | |
MCTruthJetEnergy & | operator= (const MCTruthJetEnergy &)=delete |
virtual Processor * | newProcessor () |
MCTruthJetEnergy () | |
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 | |
StringVec | _jetcolNames {} |
Input collection name. More... | |
std::string | _relName {} |
int | _nRun {} |
int | _nEvt {} |
Calculates the true jet energy from MCParticles.
Sums up the energy from all MCParticles that had the largest contribution to at least one of the ReconstructedParticles in the jet.
jet collections MCParticle collection LCRelation(ReconstructedParticle,MCParticle)
collection parameter 'MCTruthJetEnergies'
JetCollectionNames | Name of the jet collections |
MCTruthRelationName | of the mc truth relation |
Definition at line 37 of file MCTruthJetEnergy.h.
|
delete |
MCTruthJetEnergy::MCTruthJetEnergy | ( | ) |
Definition at line 25 of file MCTruthJetEnergy.cc.
|
virtual |
Definition at line 216 of file MCTruthJetEnergy.cc.
|
virtual |
Called after data processing for clean up.
Definition at line 278 of file MCTruthJetEnergy.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 58 of file MCTruthJetEnergy.cc.
|
inlinevirtual |
Definition at line 44 of file MCTruthJetEnergy.h.
|
delete |
|
virtual |
Called for every event - the working horse.
Definition at line 101 of file MCTruthJetEnergy.cc.
|
virtual |
Called for every run.
Definition at line 96 of file MCTruthJetEnergy.cc.
|
protected |
Input collection name.
Definition at line 75 of file MCTruthJetEnergy.h.
|
protected |
Definition at line 79 of file MCTruthJetEnergy.h.
|
protected |
Definition at line 78 of file MCTruthJetEnergy.h.
|
protected |
Definition at line 76 of file MCTruthJetEnergy.h.