![]() |
ATLAS Offline Software
|
Holds a list of JetCalculators. More...
#include <JetCaloCalculations.h>
Public Member Functions | |
JetCaloCalculations (bool ownCalc=true) | |
virtual | ~JetCaloCalculations () |
void | addCalculator (JetCaloCalculator *c) |
bool | setupEvent () |
virtual std::vector< double > | process (const xAOD::Jet *jet) const |
Perform all tasks correspondings to the associated JetCaloCalculators on Jet jet. More... | |
void | clear () |
size_t | numCalculators () const |
const JetCaloCalculator * | at (size_t i) const |
Protected Attributes | |
std::vector< JetCaloCalculator * > | m_calculators |
bool | m_owncalculators |
Holds a list of JetCalculators.
For a given jet, performs a single, optimized loop over constituents and calls the processConstituent function of all its calculators.
When processing constituents, it passes JetConstituentVector::iterator at the UncalibratedJetConstituent scale : this is a choice (most quantities are build from cluster moments calculated at EM scale).
See also JetCaloCellCalculations in JetCaloCellQualityUtils.h for a similar object using calculators acting on CaloCell directly
Definition at line 145 of file JetCaloCalculations.h.
|
inline |
Definition at line 148 of file JetCaloCalculations.h.
|
inlinevirtual |
Definition at line 150 of file JetCaloCalculations.h.
void jet::JetCaloCalculations::addCalculator | ( | JetCaloCalculator * | c | ) |
Definition at line 257 of file JetCaloCalculations.cxx.
|
inline |
Definition at line 162 of file JetCaloCalculations.h.
void jet::JetCaloCalculations::clear | ( | ) |
Definition at line 331 of file JetCaloCalculations.cxx.
|
inline |
Definition at line 161 of file JetCaloCalculations.h.
Perform all tasks correspondings to the associated JetCaloCalculators on Jet jet.
Reimplemented in jet::JetCaloCellCalculations.
Definition at line 269 of file JetCaloCalculations.cxx.
bool jet::JetCaloCalculations::setupEvent | ( | ) |
Definition at line 262 of file JetCaloCalculations.cxx.
|
protected |
Definition at line 167 of file JetCaloCalculations.h.
|
protected |
Definition at line 168 of file JetCaloCalculations.h.