![]() |
ATLAS Offline Software
|
calculates hadronic cell weights based on cluster and cell quantities More...
#include <CaloLCWeightTool.h>
Public Member Functions | |
| virtual | ~CaloLCWeightTool () |
| virtual StatusCode | weight (xAOD::CaloCluster *theCluster, const EventContext &ctx) const override |
| virtual StatusCode | initialize () override |
Private Attributes | |
| SG::ReadCondHandleKey< CaloLocalHadCoeff > | m_key {this, "CorrectionKey", "HadWeights"} |
| name of the key for had cell weights | |
| Gaudi::Property< double > | m_signalOverNoiseCut {this, "SignalOverNoiseCut", 2} |
| minimal signal/elec_noise ratio for a cell to be weighted | |
| Gaudi::Property< bool > | m_useHadProbability {this, "UseHadProbability", false} |
| look for em-probability moment and apply relative weight only | |
| std::vector< std::string > | m_sampnames |
| vector of names of individual samplings | |
| Gaudi::Property< bool > | m_interpolate {this, "Interpolate", false} |
| interpolate correction coefficients | |
| Gaudi::Property< bool > | m_updateSamplingVars {this, "UpdateSamplingVars", false} |
| update also sampling variables | |
| Gaudi::Property< std::vector< std::string > > | m_interpolateDimensionNames |
| vector of names of dimensions in look-up tables to interpolate | |
| std::vector< int > | m_interpolateDimensions |
| actual set of dimension id's to interpolate | |
| const CaloCell_ID * | m_calo_id {} |
| SG::ReadCondHandleKey< CaloNoise > | m_noiseCDOKey {this,"CaloNoiseKey","electronicNoise","SG Key of CaloNoise data object"} |
calculates hadronic cell weights based on cluster and cell quantities
concrete class implementing a IClusterCellWeightTool to calculate the H1-type cell hadronic weights for cells inside a cluster. The cluster moments and its energy are also used to derive the weights
Definition at line 32 of file CaloLCWeightTool.h.
|
virtualdefault |
|
overridevirtual |
Definition at line 34 of file CaloLCWeightTool.cxx.
|
overridevirtual |
Definition at line 68 of file CaloLCWeightTool.cxx.
|
private |
Definition at line 88 of file CaloLCWeightTool.h.
|
private |
interpolate correction coefficients
Definition at line 73 of file CaloLCWeightTool.h.
|
private |
vector of names of dimensions in look-up tables to interpolate
Definition at line 81 of file CaloLCWeightTool.h.
|
private |
actual set of dimension id's to interpolate
Definition at line 86 of file CaloLCWeightTool.h.
|
private |
name of the key for had cell weights
Definition at line 45 of file CaloLCWeightTool.h.
|
private |
Definition at line 90 of file CaloLCWeightTool.h.
|
private |
vector of names of individual samplings
needed to not call many times CaloSamplingHelper::getSamplingName
Definition at line 69 of file CaloLCWeightTool.h.
|
private |
minimal signal/elec_noise ratio for a cell to be weighted
Only cells with |energy| above this value times the RMS of the electronics noise are considered in weighting.
Definition at line 52 of file CaloLCWeightTool.h.
|
private |
update also sampling variables
Definition at line 77 of file CaloLCWeightTool.h.
|
private |
look for em-probability moment and apply relative weight only
The classification provides the probability p for the current cluster to be em-like. Hadronic weights are applied with the additional hadronic probablity factor (1-p) to all clusters for the cases EM and HAD.
Definition at line 61 of file CaloLCWeightTool.h.