Holds a list of JetCalculators. More...
#include <JetCaloCalculations.h>
Public Member Functions | |
JetCaloCalculations (bool ownCalc=true) | |
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. | |
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