ATLAS Offline Software
Loading...
Searching...
No Matches
TauCombinedTES Class Reference

#include <TauCombinedTES.h>

Inheritance diagram for TauCombinedTES:
Collaboration diagram for TauCombinedTES:

Public Member Functions

 TauCombinedTES (const std::string &name="TauCombinedTES")
virtual StatusCode initialize () override
 Tool initializer.
virtual StatusCode executeTool (xAOD::TauJet &xTau, const EventContext &ctx) const override
 Execute - called for each tau candidate.
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, CaloConstCellContainer &, boost::dynamic_bitset<> &) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, const xAOD::VertexContainer *) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, xAOD::VertexContainer &) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, xAOD::TauTrackContainer &) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, xAOD::CaloClusterContainer &, xAOD::PFOContainer &) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, xAOD::PFOContainer &, xAOD::PFOContainer &, const xAOD::CaloClusterContainer &) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, xAOD::PFOContainer &, xAOD::PFOContainer &) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, xAOD::PFOContainer &) const override
virtual StatusCode executeTool (xAOD::TauJet &, const EventContext &, xAOD::ParticleContainer &, xAOD::PFOContainer &) const override
virtual StatusCode eventInitialize () override
 Event initializer - called at the beginning of each event.
virtual StatusCode eventFinalize () override
 Event finalizer - called at the end of each event.
virtual StatusCode finalize () override
 Finalizer.
std::string find_file (const std::string &fname) const
virtual void print () const
 Print the state of the tool.
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const
Additional helper functions, not directly mimicking Athena
template<class T>
const T * getProperty (const std::string &name) const
 Get one of the tool's properties.
const std::string & msg_level_name () const __attribute__((deprecated))
 A deprecated function for getting the message level's name.
const std::string & getName (const void *ptr) const
 Get the name of an object that is / should be in the event store.
SG::sgkey_t getKey (const void *ptr) const
 Get the (hashed) key of an object that is in the event store.

Protected Member Functions

bool inTrigger () const
bool inAOD () const
bool inEleRM () const
void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Protected Attributes

Gaudi::Property< bool > m_in_trigger {this, "inTrigger", false, "Indicate if the tool is running on trigger"}
Gaudi::Property< bool > m_in_AOD {this, "inAOD", false, "Indicate if the tool is running on AOD"}
Gaudi::Property< bool > m_in_EleRM {this, "inEleRM", false, "Indicate if the tool is running on EleRM routine"}
Gaudi::Property< std::string > m_tauRecToolsTag {this, "calibFolder", "tauRecTools/R22_preprod", "CVMFS path to the tau calibration folder"}

Private Types

enum  Binning { DecayModeBinning = 5 , EtaBinning = 5 }
 Binning in the calibraction graph/hist. More...
typedef ServiceHandle< StoreGateSvc > StoreGateSvc_t

Private Member Functions

TLorentzVector getCombinedP4 (const xAOD::TauJet &tau) const
 Get the weighted four momentum of calo TES and PanTau.
bool isValid (const xAOD::TauJet &tau) const
 Whether the tau candidate is valid for the calculation.
int getEtaIndex (float eta) const
 Get the index of eta in the calibration histogram.
xAOD::TauJetParameters::DecayMode getDecayMode (const xAOD::TauJet &tau) const
 Get the decay mode of the tau candidate.
int getDecayModeIndex (xAOD::TauJetParameters::DecayMode decayMode) const
 Get the index of decay mode in the calibration histogram.
double getCorrelation (int decayModeIndex, int etaIndex) const
 Get correlation coefficient between the calo TES and PanTau.
double getCaloResolution (double et, int decayModeIndex, int etaIndex) const
 Get the resolution of Et at the calo TES.
double getPanTauResolution (double et, int decayModeIndex, int etaIndex) const
 Get the resolution of Et at PanTau.
double getCaloCalEt (double et, int decayModeIndex, int etaIndex) const
 Get the Et at the calo TES after calibration correction.
double getPanTauCalEt (double panTauEt, int decayModeIndex, int etaIndex) const
 Get the Et at PanTau after calibration correction.
double getWeight (double caloSigma, double panTauSigma, double correlatioon) const
 Get the weight of calo TES.
double getCompatibilitySigma (double caloSigma, double panTauSigma, double correlation) const
 Get the compatibility sigma of calo TES and PanTau.
double getCombinedEt (double caloEt, double et_substructure, xAOD::TauJetParameters::DecayMode decayMode, float eta) const
 Get the combined Et of calo TES and PanTau.
double getNsigmaCompatibility (double caloEt, int decayModeIndex) const
 Get the allowed difference between calo TES and PanTau.
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

Gaudi::Property< std::string > m_calFileName {this, "WeightFileName", ""}
const std::array< std::string, DecayModeBinning > m_decayModeNames = {"1p0n","1p1n","1pXn","3p0n","3pXn"}
 Decay mode binning in the calibration graph/hist.
const std::array< std::string, EtaBinning > m_etaBinNames = {"0", "1", "2", "3", "4"}
 Eta binning in the calibration graph.
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_caloRelBias
 Calibration graph: mean of bias/caloEt as a function of caloEt.
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_caloRelBiasMaxEt
 Maximum Et of m_caloRelBias.
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_caloRes
 Calibration graph: resolution at Calo TES as a function of caloEt.
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_caloResMaxEt
 Maximum Et of m_caloRes.
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_panTauRelBias
 Calibration graph: mean of bias/panTauEt as a funtion of panTauEt.
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_panTauRelBiasMaxEt
 Maximum Et of m_panTauRelBias.
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_panTauRes
 Calibration graph: resolution at PanTau as a function of panTauEt.
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_panTauResMaxEt
 Maximum Et of m_panTauRes.
std::array< std::unique_ptr< TH1F >, DecayModeBinning > m_correlationHists
 Calibration histogram: correlation coefficient of calo TES and PanTau.
std::array< std::unique_ptr< TF1 >, DecayModeBinning > m_nSigmaCompatibility
 Maximum tolerence in unit of combined sigma, as a function of calo Et.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 21 of file TauCombinedTES.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 376 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ Binning

Binning in the calibraction graph/hist.

Enumerator
DecayModeBinning 
EtaBinning 

Definition at line 81 of file TauCombinedTES.h.

Constructor & Destructor Documentation

◆ TauCombinedTES()

TauCombinedTES::TauCombinedTES ( const std::string & name = "TauCombinedTES")

Definition at line 13 of file TauCombinedTES.cxx.

13 :
14 TauRecToolBase(name) {
15}
TauRecToolBase(const std::string &name)

Member Function Documentation

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ eventFinalize()

StatusCode TauRecToolBase::eventFinalize ( )
overridevirtualinherited

Event finalizer - called at the end of each event.

Implements ITauToolBase.

Definition at line 123 of file TauRecToolBase.cxx.

123 {
124 return StatusCode::SUCCESS;
125}

◆ eventInitialize()

StatusCode TauRecToolBase::eventInitialize ( )
overridevirtualinherited

Event initializer - called at the beginning of each event.

Implements ITauToolBase.

Definition at line 36 of file TauRecToolBase.cxx.

36 {
37 return StatusCode::SUCCESS;
38}

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ executeTool() [1/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
CaloConstCellContainer & ,
boost::dynamic_bitset<> &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 49 of file TauRecToolBase.cxx.

56 {
57 ATH_MSG_ERROR("function not implemented");
58 return StatusCode::FAILURE;
59}
#define ATH_MSG_ERROR(x,...)

◆ executeTool() [2/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
const xAOD::VertexContainer *  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 54 of file TauRecToolBase.cxx.

64 {
65 ATH_MSG_ERROR("function not implemented");
66 return StatusCode::FAILURE;
67}

◆ executeTool() [3/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
xAOD::CaloClusterContainer & ,
xAOD::PFOContainer &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 66 of file TauRecToolBase.cxx.

86 {
87 ATH_MSG_ERROR("function not implemented");
88 return StatusCode::FAILURE;
89}

◆ executeTool() [4/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
xAOD::ParticleContainer & ,
xAOD::PFOContainer &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 86 of file TauRecToolBase.cxx.

118 {
119 ATH_MSG_ERROR("function not implemented");
120 return StatusCode::FAILURE;
121}

◆ executeTool() [5/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
xAOD::PFOContainer &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 82 of file TauRecToolBase.cxx.

110 {
111 ATH_MSG_ERROR("function not implemented");
112 return StatusCode::FAILURE;
113}

◆ executeTool() [6/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
xAOD::PFOContainer & ,
xAOD::PFOContainer &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 77 of file TauRecToolBase.cxx.

103 {
104 ATH_MSG_ERROR("function not implemented");
105 return StatusCode::FAILURE;
106}

◆ executeTool() [7/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
xAOD::PFOContainer & ,
xAOD::PFOContainer & ,
const xAOD::CaloClusterContainer &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 71 of file TauRecToolBase.cxx.

95 {
96 ATH_MSG_ERROR("function not implemented");
97 return StatusCode::FAILURE;
98}

◆ executeTool() [8/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
xAOD::TauTrackContainer &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 62 of file TauRecToolBase.cxx.

78 {
79 ATH_MSG_ERROR("function not implemented");
80 return StatusCode::FAILURE;
81}

◆ executeTool() [9/10]

StatusCode TauRecToolBase::executeTool ( xAOD::TauJet & ,
const EventContext & ,
xAOD::VertexContainer &  ) const
overridevirtual

Reimplemented from TauRecToolBase.

Definition at line 58 of file TauRecToolBase.cxx.

71 {
72 ATH_MSG_ERROR("function not implemented");
73 return StatusCode::FAILURE;
74}

◆ executeTool() [10/10]

StatusCode TauCombinedTES::executeTool ( xAOD::TauJet & xTau,
const EventContext & ctx ) const
overridevirtual

Execute - called for each tau candidate.

Reimplemented from TauRecToolBase.

Definition at line 118 of file TauCombinedTES.cxx.

119 {
120
121 TLorentzVector combinedP4(tau.p4(xAOD::TauJetParameters::TauEnergyScale));
122
123 // Parameterization is only valid for |eta| < 2.5, and decay modes of 1p0n, 1p1n, 1pXn, 3p0n, 3pXn
124 // If these variables of the given tau candidate are outside the range, we just use calo TES
125 if(isValid(tau)) {
126 combinedP4 = getCombinedP4(tau);
127 }
128
129 static const SG::Accessor<float> decPtCombined("ptCombined");
130 static const SG::Accessor<float> decEtaCombined("etaCombined");
131 static const SG::Accessor<float> decPhiCombined("phiCombined");
132 static const SG::Accessor<float> decMCombined("mCombined");
133
134 decPtCombined(tau) = combinedP4.Pt();
135 decEtaCombined(tau) = combinedP4.Eta();
136 decPhiCombined(tau) = combinedP4.Phi();
137 decMCombined(tau) = combinedP4.M();
138
139 return StatusCode::SUCCESS;
140}
TLorentzVector getCombinedP4(const xAOD::TauJet &tau) const
Get the weighted four momentum of calo TES and PanTau.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ finalize()

StatusCode TauRecToolBase::finalize ( )
overridevirtualinherited

Finalizer.

Implements ITauToolBase.

Reimplemented in PanTau::PanTauProcessor.

Definition at line 127 of file TauRecToolBase.cxx.

127 {
128 return StatusCode::SUCCESS;
129}

◆ find_file()

std::string TauRecToolBase::find_file ( const std::string & fname) const
inherited

Definition at line 19 of file TauRecToolBase.cxx.

19 {
20 std::string full_path;
21 //offline calib files are in GroupData
22 //online calib files are in release
23 full_path = PathResolverFindCalibFile(m_tauRecToolsTag+"/"+fname);
24 if(full_path.empty()) full_path = PathResolverFindCalibFile(fname);
25 return full_path;
26}
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Gaudi::Property< std::string > m_tauRecToolsTag

◆ getCaloCalEt()

double TauCombinedTES::getCaloCalEt ( double et,
int decayModeIndex,
int etaIndex ) const
private

Get the Et at the calo TES after calibration correction.

Definition at line 209 of file TauCombinedTES.cxx.

211 {
212 // ratio stored in the calibration graph equals (caloEt-truthEt)/caloEt
213 double ratio = 0.0;
214
215 // FIXME: If caloEt is larger than max et, could we use the ratio at
216 // max et, instead of setting it to zero
217 if (caloEt <= m_caloRelBiasMaxEt.at(decayModeIndex).at(etaIndex)) {
218 ratio = m_caloRelBias.at(decayModeIndex).at(etaIndex)->Eval(caloEt);
219 }
220
221 double caloCalEt = caloEt - ratio * caloEt;
222
223 return caloCalEt;
224}
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_caloRelBias
Calibration graph: mean of bias/caloEt as a function of caloEt.
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_caloRelBiasMaxEt
Maximum Et of m_caloRelBias.

◆ getCaloResolution()

double TauCombinedTES::getCaloResolution ( double et,
int decayModeIndex,
int etaIndex ) const
private

Get the resolution of Et at the calo TES.

Definition at line 246 of file TauCombinedTES.cxx.

246 {
247 double x = std::min(et, m_caloResMaxEt.at(decayModeIndex).at(etaIndex));
248 double resolution = m_caloRes.at(decayModeIndex).at(etaIndex)->Eval(x);
249
250 return resolution;
251}
float et(const xAOD::jFexSRJetRoI *j)
#define x
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_caloResMaxEt
Maximum Et of m_caloRes.
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_caloRes
Calibration graph: resolution at Calo TES as a function of caloEt.
double resolution[nGasTypes][nParametersResolution]

◆ getCombinedEt()

double TauCombinedTES::getCombinedEt ( double caloEt,
double et_substructure,
xAOD::TauJetParameters::DecayMode decayMode,
float eta ) const
private

Get the combined Et of calo TES and PanTau.

Definition at line 296 of file TauCombinedTES.cxx.

299 {
300 // Obtain the index of calibration graph
301 int decayModeIndex = getDecayModeIndex(decayMode);
302 int etaIndex = getEtaIndex(eta);
303
304 // Obtain the calibration parameter based on the index
305 // -- Correlation between calo TES and PanTau
306 double correlation = getCorrelation(decayModeIndex, etaIndex);
307
308 // -- Sigma of the difference between reconstruted et and truth et at calo TES
309 double caloSigma = caloEt * getCaloResolution(caloEt, decayModeIndex, etaIndex);
310 if (0. == caloSigma) {
311 ATH_MSG_WARNING("Calo TES: Et resolution at " << caloEt << " is 0");
312 m_caloRes.at(decayModeIndex)[etaIndex]->Print("all");
313 return 0.;
314 }
315
316 // -- Sigma of the difference between reconstruted et and truth et at PanTau
317 double panTauSigma = panTauEt * getPanTauResolution(panTauEt, decayModeIndex, etaIndex);
318 if (0. == panTauSigma) {
319 ATH_MSG_WARNING("PanTau: Et resolution at " << panTauEt << " is 0");
320 m_panTauRes.at(decayModeIndex).at(etaIndex)->Print("all");
321 return 0.;
322 }
323
324 // -- Et at calo TES with bias corrected
325 double caloCalEt = getCaloCalEt(caloEt, decayModeIndex, etaIndex);
326
327 // -- Et at PanTau with bias corrected
328 double panTauCalEt = getPanTauCalEt(panTauEt, decayModeIndex, etaIndex);
329
330 // Combination of calo TES and PanTau
331 // FIXME: A more consistent way would be calculating the weight use bias corrected Et as input
332 double weight = getWeight(caloSigma, panTauSigma, correlation);
333 double weightedEt = weight * caloCalEt + (1 - weight) * panTauCalEt;
334 double compatibilitySigma = getCompatibilitySigma(caloSigma, panTauSigma, correlation);
335
336 // If the difference of calo TES and PanTau is too large, the combined result
337 // may not be reliable
338 // FIXME: A more consistent way would be calculating the NsigmaCompatibility use caloCalEt
339 double deltaEt = caloCalEt - panTauCalEt;
340 if (std::abs(deltaEt) > getNsigmaCompatibility(caloEt, decayModeIndex) * compatibilitySigma) {
341 // FIXME: Why not use caloCalEt here ?
342 weightedEt = caloEt;
343 }
344
345 ATH_MSG_DEBUG("Intermediate results\n" <<
346 "coff: " << correlation << " sigma(calo): " << caloSigma << " sigma(constituent): " << panTauSigma <<
347 "\ncalibrated et(calo): " << caloCalEt << " calibrated et(constituent): " << panTauCalEt <<
348 "\nweight:" << weight << " combined et: " << weightedEt << " compatibility sigma: " << compatibilitySigma);
349
350 return weightedEt;
351}
Scalar eta() const
pseudorapidity method
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_WARNING(x,...)
double getWeight(double caloSigma, double panTauSigma, double correlatioon) const
Get the weight of calo TES.
int getEtaIndex(float eta) const
Get the index of eta in the calibration histogram.
double getCaloResolution(double et, int decayModeIndex, int etaIndex) const
Get the resolution of Et at the calo TES.
double getPanTauResolution(double et, int decayModeIndex, int etaIndex) const
Get the resolution of Et at PanTau.
double getCompatibilitySigma(double caloSigma, double panTauSigma, double correlation) const
Get the compatibility sigma of calo TES and PanTau.
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_panTauRes
Calibration graph: resolution at PanTau as a function of panTauEt.
double getCaloCalEt(double et, int decayModeIndex, int etaIndex) const
Get the Et at the calo TES after calibration correction.
int getDecayModeIndex(xAOD::TauJetParameters::DecayMode decayMode) const
Get the index of decay mode in the calibration histogram.
double getCorrelation(int decayModeIndex, int etaIndex) const
Get correlation coefficient between the calo TES and PanTau.
double getNsigmaCompatibility(double caloEt, int decayModeIndex) const
Get the allowed difference between calo TES and PanTau.
double getPanTauCalEt(double panTauEt, int decayModeIndex, int etaIndex) const
Get the Et at PanTau after calibration correction.
uint16_t etaIndex(double eta, bool &inRange)
Definition NSWEncoding.h:38

◆ getCombinedP4()

TLorentzVector TauCombinedTES::getCombinedP4 ( const xAOD::TauJet & tau) const
private

Get the weighted four momentum of calo TES and PanTau.

Definition at line 355 of file TauCombinedTES.cxx.

355 {
356 TLorentzVector caloP4 = tau.p4(xAOD::TauJetParameters::TauEnergyScale);
357 TLorentzVector panTauP4 = tau.p4(xAOD::TauJetParameters::PanTauCellBased);
358
359 ATH_MSG_DEBUG("Four momentum at calo TES, pt: " << caloP4.Pt() << " eta: " << caloP4.Eta() <<
360 " phi: " << caloP4.Phi() << " mass: " << caloP4.M());
361 ATH_MSG_DEBUG("Four momentum at PanTau, pt: " << panTauP4.Pt() << " eta: " << panTauP4.Eta() <<
362 " phi: " << panTauP4.Phi() << " mass: " << panTauP4.M());
363
365
366 double combinedEt = getCombinedEt(caloP4.Et(), panTauP4.Et(), decayMode, caloP4.Eta());
367
368 // Et is the combination of calo TES and PanTau, but eta and phi is from PanTau
369 TLorentzVector combinedP4;
370 combinedP4.SetPtEtaPhiM(combinedEt, panTauP4.Eta(), panTauP4.Phi(), 0.);
371
372 ATH_MSG_DEBUG("Combined four momentum, pt: " << combinedP4.Pt() << " eta: " << combinedP4.Eta() <<
373 " phi: " << combinedP4.Phi() << " mass: " << combinedP4.M());
374
375 return combinedP4;
376}
xAOD::TauJetParameters::DecayMode getDecayMode(const xAOD::TauJet &tau) const
Get the decay mode of the tau candidate.
double getCombinedEt(double caloEt, double et_substructure, xAOD::TauJetParameters::DecayMode decayMode, float eta) const
Get the combined Et of calo TES and PanTau.

◆ getCompatibilitySigma()

double TauCombinedTES::getCompatibilitySigma ( double caloSigma,
double panTauSigma,
double correlation ) const
private

Get the compatibility sigma of calo TES and PanTau.

Definition at line 276 of file TauCombinedTES.cxx.

278 {
279 double compatibilitySigma2 = std::pow(caloSigma, 2) + std::pow(panTauSigma, 2) - 2 * correlation * caloSigma * panTauSigma;
280
281 return std::sqrt(compatibilitySigma2);
282}

◆ getCorrelation()

double TauCombinedTES::getCorrelation ( int decayModeIndex,
int etaIndex ) const
private

Get correlation coefficient between the calo TES and PanTau.

Definition at line 203 of file TauCombinedTES.cxx.

203 {
204 return m_correlationHists.at(decayModeIndex)->GetBinContent(etaIndex);
205}
std::array< std::unique_ptr< TH1F >, DecayModeBinning > m_correlationHists
Calibration histogram: correlation coefficient of calo TES and PanTau.

◆ getDecayMode()

xAOD::TauJetParameters::DecayMode TauCombinedTES::getDecayMode ( const xAOD::TauJet & tau) const
private

Get the decay mode of the tau candidate.

Definition at line 170 of file TauCombinedTES.cxx.

170 {
173
174 return static_cast<xAOD::TauJetParameters::DecayMode>(decayMode);
175}

◆ getDecayModeIndex()

int TauCombinedTES::getDecayModeIndex ( xAOD::TauJetParameters::DecayMode decayMode) const
private

Get the index of decay mode in the calibration histogram.

Definition at line 179 of file TauCombinedTES.cxx.

179 {
180 return static_cast<int>(decayMode);
181}

◆ getEtaIndex()

int TauCombinedTES::getEtaIndex ( float eta) const
private

Get the index of eta in the calibration histogram.

Definition at line 144 of file TauCombinedTES.cxx.

144 {
145 // It would be better to retrieve eta bins from the calibration file, e.g. for upgrade studies!
146 float abseta = std::abs(eta);
147
148 if (abseta < 0.3) {
149 return 0;
150 }
151 if (abseta < 0.8) {
152 return 1;
153 }
154 if (abseta < 1.3) {
155 return 2;
156 }
157 if (abseta < 1.6) {
158 return 3;
159 }
160 // slightly extend the tau eta range, as |eta|<2.5 applies to the seed jet
161 if (abseta < 2.6) {
162 return 4;
163 }
164
165 return 99;
166}

◆ getKey()

SG::sgkey_t asg::AsgTool::getKey ( const void * ptr) const
inherited

Get the (hashed) key of an object that is in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::Event both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getName
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The hashed key of the object in the store. If not found, an invalid (zero) key.

Definition at line 119 of file AsgTool.cxx.

119 {
120
121#ifdef XAOD_STANDALONE
122 // In case we use @c xAOD::Event, we have a direct function call
123 // for this.
124 return evtStore()->event()->getKey( ptr );
125#else
126 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
127 return ( proxy == nullptr ? 0 : proxy->sgkey() );
128#endif // XAOD_STANDALONE
129 }
ServiceHandle< StoreGateSvc > & evtStore()

◆ getName()

const std::string & asg::AsgTool::getName ( const void * ptr) const
inherited

Get the name of an object that is / should be in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::Event both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getKey
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The string name of the object in the store. If not found, an empty string.

Definition at line 106 of file AsgTool.cxx.

106 {
107
108#ifdef XAOD_STANDALONE
109 // In case we use @c xAOD::Event, we have a direct function call
110 // for this.
111 return evtStore()->event()->getName( ptr );
112#else
113 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
114 static const std::string dummy = "";
115 return ( proxy == nullptr ? dummy : proxy->name() );
116#endif // XAOD_STANDALONE
117 }

◆ getNsigmaCompatibility()

double TauCombinedTES::getNsigmaCompatibility ( double caloEt,
int decayModeIndex ) const
private

Get the allowed difference between calo TES and PanTau.

Definition at line 286 of file TauCombinedTES.cxx.

286 {
287 double nsigma = m_nSigmaCompatibility.at(decayModeIndex)->Eval(et);
288
289 if (nsigma < 0.) return 0.;
290
291 return nsigma;
292}
std::array< std::unique_ptr< TF1 >, DecayModeBinning > m_nSigmaCompatibility
Maximum tolerence in unit of combined sigma, as a function of calo Et.

◆ getPanTauCalEt()

double TauCombinedTES::getPanTauCalEt ( double panTauEt,
int decayModeIndex,
int etaIndex ) const
private

Get the Et at PanTau after calibration correction.

Definition at line 228 of file TauCombinedTES.cxx.

230 {
231 // ratio stored in the calibration graph equals (panTauEt-truthEt)/panTauEt
232 double ratio = 0.0;
233
234 // Substructure is badly determined at high pt, as track momentum is pooryly measured
235 if (panTauEt <= m_panTauRelBiasMaxEt.at(decayModeIndex).at(etaIndex)) {
236 ratio = m_panTauRelBias.at(decayModeIndex).at(etaIndex)->Eval(panTauEt);
237 }
238
239 double panTauCalEt = panTauEt - ratio * panTauEt;
240
241 return panTauCalEt;
242}
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_panTauRelBiasMaxEt
Maximum Et of m_panTauRelBias.
std::array< std::array< std::unique_ptr< TGraph >, EtaBinning >, DecayModeBinning > m_panTauRelBias
Calibration graph: mean of bias/panTauEt as a funtion of panTauEt.

◆ getPanTauResolution()

double TauCombinedTES::getPanTauResolution ( double et,
int decayModeIndex,
int etaIndex ) const
private

Get the resolution of Et at PanTau.

Definition at line 255 of file TauCombinedTES.cxx.

255 {
256 double x = std::min(et, m_panTauResMaxEt.at(decayModeIndex).at(etaIndex));
257 double resolution = m_panTauRes.at(decayModeIndex).at(etaIndex)->Eval(x);
258
259 return resolution;
260}
std::array< std::array< double, EtaBinning >, DecayModeBinning > m_panTauResMaxEt
Maximum Et of m_panTauRes.

◆ getProperty()

template<class T>
const T * asg::AsgTool::getProperty ( const std::string & name) const
inherited

Get one of the tool's properties.

◆ getWeight()

double TauCombinedTES::getWeight ( double caloSigma,
double panTauSigma,
double correlatioon ) const
private

Get the weight of calo TES.

Definition at line 264 of file TauCombinedTES.cxx.

266 {
267 double cov = correlation * caloSigma * panTauSigma;
268 double caloWeight = std::pow(panTauSigma, 2) - cov;
269 double panTauWeight = std::pow(caloSigma, 2) - cov;
270
271 double weight = (caloWeight + panTauWeight !=0.) ? caloWeight/(caloWeight + panTauWeight) : 0.;
272 // enforce that the weight is within [0,1]
273 return std::clamp(weight, 0., 1.);
274}

◆ inAOD()

bool TauRecToolBase::inAOD ( ) const
inlineprotectedinherited

Definition at line 116 of file TauRecToolBase.h.

116{ return m_in_AOD; }
Gaudi::Property< bool > m_in_AOD

◆ inEleRM()

bool TauRecToolBase::inEleRM ( ) const
inlineprotectedinherited

Definition at line 117 of file TauRecToolBase.h.

117{ return m_in_EleRM; }
Gaudi::Property< bool > m_in_EleRM

◆ initialize()

StatusCode TauCombinedTES::initialize ( void )
overridevirtual

Tool initializer.

Reimplemented from TauRecToolBase.

Definition at line 19 of file TauCombinedTES.cxx.

19 {
20
21 std::string calFilePath = find_file(m_calFileName);
22 std::unique_ptr<TFile> calFile(TFile::Open(calFilePath.c_str(), "READ"));
23 ATH_MSG_INFO("Using calibration file: " << calFilePath);
24
25 // 1D array with decay mode as index
26 TH1F* hist = nullptr;
27 TF1* tf1 = nullptr;
28 std::string histName = "";
29 for (size_t decayModeIndex = 0; decayModeIndex < DecayModeBinning; ++ decayModeIndex) {
30 histName = "CorrelationCoeff_tauRec_" + m_decayModeNames[decayModeIndex];
31 hist = dynamic_cast<TH1F*> (calFile->Get(histName.c_str()));
32 if(hist) {
33 hist->SetDirectory(nullptr);
34 m_correlationHists[decayModeIndex] = std::unique_ptr<TH1F>(hist);
35 ATH_MSG_DEBUG("Adding corr hist: " << histName);
36 }
37 else {
38 ATH_MSG_FATAL("Failed to get an object with name " << histName);
39 return StatusCode::FAILURE;
40 }
41
42 histName = "nSigmaCompatibility_" + m_decayModeNames[decayModeIndex];
43 tf1 = dynamic_cast<TF1*> (calFile->Get(histName.c_str()));
44 if(tf1) {
45 m_nSigmaCompatibility[decayModeIndex] = std::unique_ptr<TF1>(tf1);
46 ATH_MSG_DEBUG("Adding compatibility TF1: " << histName);
47 }
48 else {
49 ATH_MSG_FATAL("Failed to get an object with name " << histName);
50 return StatusCode::FAILURE;
51 }
52 }
53
54 // 2D array with (eta, decay mode) as index
55 TGraph* graph = nullptr;
56 std::string graphName="";
57 for (size_t decayModeIndex = 0; decayModeIndex < DecayModeBinning; ++decayModeIndex) {
58 for (size_t etaIndex = 0; etaIndex < EtaBinning; ++etaIndex) {
59 // Calo TES: relative bias
60 graphName = "tauRec/Graph_from_MeanEt_tauRec_" + m_decayModeNames[decayModeIndex] + "_" + m_etaBinNames[etaIndex];
61 graph = dynamic_cast<TGraph*> (calFile->Get(graphName.c_str()));
62 if(graph) {
63 m_caloRelBiasMaxEt[decayModeIndex][etaIndex] = TMath::MaxElement(graph->GetN(), graph->GetX());
64 m_caloRelBias[decayModeIndex][etaIndex] = std::unique_ptr<TGraph>(graph);
65 ATH_MSG_DEBUG("Adding graph: " << graphName);
66 }
67 else {
68 ATH_MSG_FATAL("Failed to get an object with name " << graphName);
69 return StatusCode::FAILURE;
70 }
71
72 // Calo TES: resolution
73 graphName = "tauRec/Graph_from_ResolutionEt_tauRec_" + m_decayModeNames[decayModeIndex] + "_" + m_etaBinNames[etaIndex];
74 graph = dynamic_cast<TGraph*> (calFile->Get(graphName.c_str()));
75 if(graph){
76 m_caloResMaxEt[decayModeIndex][etaIndex] = TMath::MaxElement(graph->GetN(), graph->GetX());
77 m_caloRes[decayModeIndex][etaIndex] = std::unique_ptr<TGraph>(graph);
78 ATH_MSG_DEBUG("Adding graph: " << graphName);
79 }
80 else {
81 ATH_MSG_FATAL("Failed to get an object with name " << graphName);
82 return StatusCode::FAILURE;
83 }
84
85 // PanTau: relative bias
86 graphName = "ConstituentEt/Graph_from_MeanEt_ConstituentEt_" + m_decayModeNames[decayModeIndex] + "_" + m_etaBinNames[etaIndex];
87 graph = dynamic_cast<TGraph*> (calFile->Get(graphName.c_str()));
88 if(graph){
89 m_panTauRelBiasMaxEt[decayModeIndex][etaIndex] = TMath::MaxElement(graph->GetN(), graph->GetX());
90 m_panTauRelBias[decayModeIndex][etaIndex] = std::unique_ptr<TGraph>(graph);
91 ATH_MSG_DEBUG("Adding graph: " << graphName);
92 }
93 else {
94 ATH_MSG_FATAL("Failed to get an object with name " << graphName);
95 return StatusCode::FAILURE;
96 }
97
98 // PanTau: resolution
99 graphName = "ConstituentEt/Graph_from_ResolutionEt_ConstituentEt_" + m_decayModeNames[decayModeIndex] + "_" + m_etaBinNames[etaIndex];
100 graph = dynamic_cast<TGraph*> (calFile->Get(graphName.c_str()));
101 if(graph){
102 m_panTauResMaxEt[decayModeIndex][etaIndex] = TMath::MaxElement(graph->GetN(), graph->GetX());
103 m_panTauRes[decayModeIndex][etaIndex] = std::unique_ptr<TGraph>(graph);
104 ATH_MSG_DEBUG("Adding graph: " << graphName);
105 }
106 else {
107 ATH_MSG_FATAL("Failed to get an object with name " << graphName);
108 return StatusCode::FAILURE;
109 }
110 }
111 }
112 calFile->Close();
113
114 return StatusCode::SUCCESS;
115}
#define ATH_MSG_INFO(x,...)
#define ATH_MSG_FATAL(x,...)
const std::array< std::string, DecayModeBinning > m_decayModeNames
Decay mode binning in the calibration graph/hist.
const std::array< std::string, EtaBinning > m_etaBinNames
Eta binning in the calibration graph.
Gaudi::Property< std::string > m_calFileName
std::string find_file(const std::string &fname) const
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ inTrigger()

bool TauRecToolBase::inTrigger ( ) const
inlineprotectedinherited

Definition at line 115 of file TauRecToolBase.h.

115{ return m_in_trigger; }
Gaudi::Property< bool > m_in_trigger

◆ isValid()

bool TauCombinedTES::isValid ( const xAOD::TauJet & tau) const
private

Whether the tau candidate is valid for the calculation.

Definition at line 185 of file TauCombinedTES.cxx.

185 {
187 if (decayMode < xAOD::TauJetParameters::Mode_1p0n || decayMode > xAOD::TauJetParameters::Mode_3pXn) {
188 ATH_MSG_DEBUG("Decay mode is not supported !");
189 return false;
190 }
191
192 int etaIndex = getEtaIndex(tau.etaTauEnergyScale());
193 if (etaIndex > 4) {
194 ATH_MSG_DEBUG("Eta is out of the supported range !");
195 return false;
196 }
197
198 return true;
199}

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msg_level_name()

const std::string & asg::AsgTool::msg_level_name ( ) const
inherited

A deprecated function for getting the message level's name.

Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:

MSG::name( msg().level() )

This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.

Returns
The string name of the current minimum message level that's printed

Definition at line 101 of file AsgTool.cxx.

101 {
102
103 return MSG::name( msg().level() );
104 }
MsgStream & msg() const
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition MsgLevel.cxx:19

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ print()

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 368 of file AthCommonDataStore.h.

369 {
370 h.renounce();
372 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 352 of file AthCommonDataStore.h.

352 {
354 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, and AthCheckedComponent<::AthAlgTool >.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 298 of file AthCommonDataStore.h.

298 {
299 for (auto &a : m_vhka) {
301 for (auto k : keys) {
302 k->setOwner(this);
303 }
304 }
305 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_calFileName

Gaudi::Property<std::string> TauCombinedTES::m_calFileName {this, "WeightFileName", ""}
private

Definition at line 35 of file TauCombinedTES.h.

35{this, "WeightFileName", ""};

◆ m_caloRelBias

std::array<std::array<std::unique_ptr<TGraph>, EtaBinning>, DecayModeBinning> TauCombinedTES::m_caloRelBias
private

Calibration graph: mean of bias/caloEt as a function of caloEt.

Definition at line 90 of file TauCombinedTES.h.

◆ m_caloRelBiasMaxEt

std::array<std::array<double, EtaBinning>, DecayModeBinning> TauCombinedTES::m_caloRelBiasMaxEt
private

Maximum Et of m_caloRelBias.

Definition at line 93 of file TauCombinedTES.h.

◆ m_caloRes

std::array<std::array<std::unique_ptr<TGraph>, EtaBinning>, DecayModeBinning> TauCombinedTES::m_caloRes
private

Calibration graph: resolution at Calo TES as a function of caloEt.

Definition at line 96 of file TauCombinedTES.h.

◆ m_caloResMaxEt

std::array<std::array<double, EtaBinning>, DecayModeBinning> TauCombinedTES::m_caloResMaxEt
private

Maximum Et of m_caloRes.

Definition at line 99 of file TauCombinedTES.h.

◆ m_correlationHists

std::array<std::unique_ptr<TH1F>, DecayModeBinning> TauCombinedTES::m_correlationHists
private

Calibration histogram: correlation coefficient of calo TES and PanTau.

Definition at line 114 of file TauCombinedTES.h.

◆ m_decayModeNames

const std::array<std::string, DecayModeBinning> TauCombinedTES::m_decayModeNames = {"1p0n","1p1n","1pXn","3p0n","3pXn"}
private

Decay mode binning in the calibration graph/hist.

Definition at line 84 of file TauCombinedTES.h.

84{"1p0n","1p1n","1pXn","3p0n","3pXn"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 381 of file AthCommonDataStore.h.

◆ m_etaBinNames

const std::array<std::string, EtaBinning> TauCombinedTES::m_etaBinNames = {"0", "1", "2", "3", "4"}
private

Eta binning in the calibration graph.

Definition at line 87 of file TauCombinedTES.h.

87{"0", "1", "2", "3", "4"};

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 378 of file AthCommonDataStore.h.

◆ m_in_AOD

Gaudi::Property<bool> TauRecToolBase::m_in_AOD {this, "inAOD", false, "Indicate if the tool is running on AOD"}
protectedinherited

Definition at line 105 of file TauRecToolBase.h.

105{this, "inAOD", false, "Indicate if the tool is running on AOD"};

◆ m_in_EleRM

Gaudi::Property<bool> TauRecToolBase::m_in_EleRM {this, "inEleRM", false, "Indicate if the tool is running on EleRM routine"}
protectedinherited

Definition at line 106 of file TauRecToolBase.h.

106{this, "inEleRM", false, "Indicate if the tool is running on EleRM routine"};

◆ m_in_trigger

Gaudi::Property<bool> TauRecToolBase::m_in_trigger {this, "inTrigger", false, "Indicate if the tool is running on trigger"}
protectedinherited

Definition at line 104 of file TauRecToolBase.h.

104{this, "inTrigger", false, "Indicate if the tool is running on trigger"};

◆ m_nSigmaCompatibility

std::array<std::unique_ptr<TF1>, DecayModeBinning> TauCombinedTES::m_nSigmaCompatibility
private

Maximum tolerence in unit of combined sigma, as a function of calo Et.

Definition at line 117 of file TauCombinedTES.h.

◆ m_panTauRelBias

std::array<std::array<std::unique_ptr<TGraph>, EtaBinning>, DecayModeBinning> TauCombinedTES::m_panTauRelBias
private

Calibration graph: mean of bias/panTauEt as a funtion of panTauEt.

Definition at line 102 of file TauCombinedTES.h.

◆ m_panTauRelBiasMaxEt

std::array<std::array<double, EtaBinning>, DecayModeBinning> TauCombinedTES::m_panTauRelBiasMaxEt
private

Maximum Et of m_panTauRelBias.

Definition at line 105 of file TauCombinedTES.h.

◆ m_panTauRes

std::array<std::array<std::unique_ptr<TGraph>, EtaBinning>, DecayModeBinning> TauCombinedTES::m_panTauRes
private

Calibration graph: resolution at PanTau as a function of panTauEt.

Definition at line 108 of file TauCombinedTES.h.

◆ m_panTauResMaxEt

std::array<std::array<double, EtaBinning>, DecayModeBinning> TauCombinedTES::m_panTauResMaxEt
private

Maximum Et of m_panTauRes.

Definition at line 111 of file TauCombinedTES.h.

◆ m_tauRecToolsTag

Gaudi::Property<std::string> TauRecToolBase::m_tauRecToolsTag {this, "calibFolder", "tauRecTools/R22_preprod", "CVMFS path to the tau calibration folder"}
protectedinherited

Definition at line 107 of file TauRecToolBase.h.

107{this, "calibFolder", "tauRecTools/R22_preprod", "CVMFS path to the tau calibration folder"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 387 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 386 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: