#include <JetCaloQualityTool.h>
Public Member Functions | |
JetCaloQualityTool (const std::string &name) | |
virtual int | modifyJet (xAOD::Jet &) const |
virtual StatusCode | initialize () |
Protected Attributes | |
std::vector< std::string > | m_calculationNames |
Names of calo quantities to compute and to add as attributes. | |
std::vector< double > | m_timingTimeCuts |
Time cuts for Out-of-time calo quantities. | |
jet::JetCaloCalculations | m_jetCalculations |
This objects holds a list of cluster-based calculators. | |
jet::JetCaloCalculations * | m_calcProcessor |
bool | m_doFracSamplingMax |
Calculates calorimeter based variables for jet quality
This tool calculate calorimeter quantities from a jet and saves them as attributes. It takes a list of string as a property 'Calculations' : the list of moments to calculate.
From this list it internally prepares a list of calculators from JetUtils/JetCaloQualityUtils.h
List of known calculations (see also the implementation of initialize()) : LArQuality, Timing, NegativeE, Centroid, N90Constituents, BchCorrCell, FracSamplingMax
This class performs cluster-based calculation. For similar cell-based calculation, see JetCaloCellQualityUtils.h
StatusCode JetCaloQualityTool::initialize | ( | void | ) | [virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.
Reimplemented in JetCaloCellQualityTool.
int JetCaloQualityTool::modifyJet | ( | xAOD::Jet & | jet | ) | const [virtual] |
Method to modify a jet. Returns 0 for success.
Implements ISingleJetModifier.