ATLAS Offline Software
|
Base class (inheriting JetCaloCalculator) for calculations accessing CaloCell directly. More...
#include <JetCaloCellQualityUtils.h>
Public Types | |
typedef double | weight_t |
Public Member Functions | |
virtual bool | processCell (const CaloCell *, weight_t)=0 |
perform calculation for a single cell More... | |
virtual double | operator() (const xAOD::Jet *jet, xAOD::JetConstitScale s=xAOD::UncalibratedJetConstituent) |
convenience function to perform the full calculation on a given jet More... | |
virtual JetCaloCellCalculator * | clone () const =0 |
Clone. Base class should not be cloned. More... | |
virtual bool | setupEvent () |
virtual bool | setupJet (const xAOD::Jet *)=0 |
virtual bool | processConstituent (xAOD::JetConstituentVector::iterator &) |
Perform 1 calculation step using 1 constituent. More... | |
virtual double | jetCalculation () const |
return the result of the calculation More... | |
virtual std::string | name () const |
void | setName (const std::string &n) |
void | setExtractor (const CaloConstitHelpers::CaloConstitExtractor *ex) |
Protected Attributes | |
std::string | m_name |
xAOD::JetAttribute::AttributeID | m_id {} |
const CaloConstitHelpers::CaloConstitExtractor * | m_constitExtractor {} |
Base class (inheriting JetCaloCalculator) for calculations accessing CaloCell directly.
A base class which virtually inherit JetCaloCalculator and provide the interface to perform calo calculation from jets, using CaloCell acces directly.
This class is available only in Athena.
The virutal inheritance allow concrete implementations to also inherit the corresponding implementations of JetCaloCalculator. For example : JetCalcNegativeEnergy_fromCells inherits JetCalcNegativeEnergy JetCalcNegativeEnergy_fromCells only needs to implement processCell() and clone()
IMPORTANT : cell based calculation are not necessarily identical to their correspondant cluster based calculation. Several cell calculation actually differ or can depend on parameters different than those used for the cluster based quantity.
Definition at line 37 of file JetCaloCellQualityUtils.h.
|
inherited |
Definition at line 79 of file JetCaloCalculations.h.
|
pure virtual |
Clone. Base class should not be cloned.
Implements jet::JetCaloCalculator.
|
inlinevirtualinherited |
return the result of the calculation
Definition at line 97 of file JetCaloCalculations.h.
|
inlinevirtualinherited |
Definition at line 102 of file JetCaloCalculations.h.
|
virtual |
convenience function to perform the full calculation on a given jet
Reimplemented from jet::JetCaloCalculator.
Definition at line 15 of file JetCaloCellQualityUtils.cxx.
perform calculation for a single cell
|
inlinevirtualinherited |
Perform 1 calculation step using 1 constituent.
Implementation of these functions should use the kinematics from the iterator NOT from the underlying cluster
It is expected that the input is valid, i.e. : CaloConstitExtractor::valid(it) == true.
Reimplemented in jet::JetCalcQualityHEC.
Definition at line 93 of file JetCaloCalculations.h.
|
inlineinherited |
Definition at line 107 of file JetCaloCalculations.h.
|
inlineinherited |
Definition at line 104 of file JetCaloCalculations.h.
|
inlinevirtualinherited |
Definition at line 86 of file JetCaloCalculations.h.
|
protectedinherited |
Definition at line 115 of file JetCaloCalculations.h.
|
protectedinherited |
Definition at line 114 of file JetCaloCalculations.h.
|
protectedinherited |
Definition at line 113 of file JetCaloCalculations.h.