All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
MCTruthJetEnergy Class Reference

Calculates the true jet energy from MCParticles. More...

#include <MCTruthJetEnergy.h>

Inheritance diagram for MCTruthJetEnergy:
[legend]

Public Member Functions

 MCTruthJetEnergy (const MCTruthJetEnergy &)=delete
 
MCTruthJetEnergyoperator= (const MCTruthJetEnergy &)=delete
 
virtual ProcessornewProcessor ()
 
 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 {}
 

Detailed Description

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.

Input - Prerequisites

jet collections MCParticle collection LCRelation(ReconstructedParticle,MCParticle)

Output

collection parameter 'MCTruthJetEnergies'

Parameters
JetCollectionNamesName of the jet collections
MCTruthRelationNameof the mc truth relation
Author
M.Beckmann, F.Gaede, DESY
Version
$Id$

Definition at line 37 of file MCTruthJetEnergy.h.

Constructor & Destructor Documentation

MCTruthJetEnergy::MCTruthJetEnergy ( const MCTruthJetEnergy )
delete
MCTruthJetEnergy::MCTruthJetEnergy ( )

Definition at line 25 of file MCTruthJetEnergy.cc.

Member Function Documentation

void MCTruthJetEnergy::check ( LCEvent *  evt)
virtual

Definition at line 216 of file MCTruthJetEnergy.cc.

void MCTruthJetEnergy::end ( )
virtual

Called after data processing for clean up.

Definition at line 278 of file MCTruthJetEnergy.cc.

void MCTruthJetEnergy::init ( )
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.

virtual Processor* MCTruthJetEnergy::newProcessor ( )
inlinevirtual

Definition at line 44 of file MCTruthJetEnergy.h.

MCTruthJetEnergy& MCTruthJetEnergy::operator= ( const MCTruthJetEnergy )
delete
void MCTruthJetEnergy::processEvent ( LCEvent *  evt)
virtual

Called for every event - the working horse.

Definition at line 101 of file MCTruthJetEnergy.cc.

void MCTruthJetEnergy::processRunHeader ( LCRunHeader *  run)
virtual

Called for every run.

Definition at line 96 of file MCTruthJetEnergy.cc.

Member Data Documentation

StringVec MCTruthJetEnergy::_jetcolNames {}
protected

Input collection name.

Definition at line 75 of file MCTruthJetEnergy.h.

int MCTruthJetEnergy::_nEvt {}
protected

Definition at line 79 of file MCTruthJetEnergy.h.

int MCTruthJetEnergy::_nRun {}
protected

Definition at line 78 of file MCTruthJetEnergy.h.

std::string MCTruthJetEnergy::_relName {}
protected

Definition at line 76 of file MCTruthJetEnergy.h.


The documentation for this class was generated from the following files: