|
ATLAS Offline Software
|
#include <CommonEfficiencyTool.h>
|
| CommonEfficiencyTool (const std::string &sName) |
| Create a proper constructor for Athena. More...
|
|
| ~CommonEfficiencyTool () |
|
virtual StatusCode | initialize () |
| Dummy implementation of the initialisation function. More...
|
|
virtual CP::CorrectionCode | getEfficiencyScaleFactor (const xAOD::TauJet &tau, double &dEfficiencyScaleFactor, unsigned int iRunNumber=0, unsigned int iMu=0) |
| Declare the interface that the class provides. More...
|
|
virtual CP::CorrectionCode | applyEfficiencyScaleFactor (const xAOD::TauJet &xTau, unsigned int iRunNumber=0, unsigned int iMu=0) |
| Decorate the tau with its efficiency. More...
|
|
virtual bool | isAffectedBySystematic (const CP::SystematicVariation &systematic) const |
| returns: whether this tool is affected by the given systematics More...
|
|
virtual CP::SystematicSet | affectingSystematics () const |
| returns: the list of all systematics this tool can be affected by More...
|
|
virtual CP::SystematicSet | recommendedSystematics () const |
| returns: the list of all systematics this tool recommends to use More...
|
|
virtual StatusCode | applySystematicVariation (const CP::SystematicSet &sSystematicSet) |
| configure this tool for the given list of systematic variations. More...
|
|
virtual bool | isSupportedRunNumber (int) const |
| check if run number is supported in recommendations More...
|
|
virtual void | print () const =0 |
| Print the state of the tool. More...
|
|
virtual void | print () const |
| Print the state of the tool. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
Definition at line 36 of file CommonEfficiencyTool.h.
◆ StoreGateSvc_t
◆ tSFMAP
◆ tTupleObjectFunc
◆ CommonEfficiencyTool()
CommonEfficiencyTool::CommonEfficiencyTool |
( |
const std::string & |
sName | ) |
|
◆ ~CommonEfficiencyTool()
CommonEfficiencyTool::~CommonEfficiencyTool |
( |
| ) |
|
◆ addHistogramToSFMap()
void CommonEfficiencyTool::addHistogramToSFMap |
( |
TKey * |
kKey, |
|
|
const std::string & |
sKeyName |
|
) |
| |
|
protected |
Definition at line 555 of file CommonEfficiencyTool.cxx.
559 TClass *cClass = gROOT->GetClass(kKey->GetClassName());
560 if (cClass->InheritsFrom(
"TH2"))
562 TH1* oObject = (TH1*)kKey->ReadObj();
563 oObject->SetDirectory(0);
567 else if (cClass->InheritsFrom(
"TH3"))
569 TH1* oObject = (TH1*)kKey->ReadObj();
570 oObject->SetDirectory(0);
573 }
else if (cClass->InheritsFrom(
"TH1"))
575 TH1* oObject = (TH1*)kKey->ReadObj();
576 oObject->SetDirectory(0);
580 else if (cClass->InheritsFrom(
"TF1"))
582 TObject* oObject = kKey->ReadObj();
◆ affectingSystematics()
◆ applyEfficiencyScaleFactor()
◆ applySystematicVariation()
configure this tool for the given list of systematic variations.
any requested systematics that are not affecting this tool will be silently ignored
Implements CP::ISystematicsTool.
Reimplemented in TauAnalysisTools::TauEfficiencyTriggerTool.
Definition at line 342 of file CommonEfficiencyTool.cxx.
350 return StatusCode::SUCCESS;
354 double dDirection = 0.;
356 for (
auto sSyst : sSystematicSet)
362 ATH_MSG_VERBOSE(
"unsupported systematic variation: "<< sSyst.basename()<<
"; skipping this one");
367 if (sSyst.parameter() * dDirection < 0)
369 ATH_MSG_ERROR(
"unsupported set of systematic variations, you should either use only \"UP\" or only \"DOWN\" systematics in one set!");
371 return StatusCode::FAILURE;
373 dDirection = sSyst.parameter();
377 ATH_MSG_ERROR(
"unsupported set of systematic variations, you should not combine \"TAUS_{TRUE|FAKE}_EFF_*_TOTAL\" with other systematic variations!");
379 return StatusCode::FAILURE;
383 sSystematicSetAvailable.
insert(sSyst);
389 return StatusCode::SUCCESS;
◆ ConvertDecayModeToString()
std::string CommonEfficiencyTool::ConvertDecayModeToString |
( |
const int |
iDecayMode | ) |
const |
|
protected |
◆ ConvertMuToString()
std::string CommonEfficiencyTool::ConvertMuToString |
( |
const int |
iMu | ) |
const |
|
protected |
◆ ConvertProngToString()
std::string CommonEfficiencyTool::ConvertProngToString |
( |
const int |
iProngness | ) |
const |
|
protected |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
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
◆ generateSystematicSets()
void CommonEfficiencyTool::generateSystematicSets |
( |
| ) |
|
|
protected |
Definition at line 606 of file CommonEfficiencyTool.cxx.
609 std::vector<std::string> vSplitInputFilePath = {};
611 std::string sEfficiencyType = vSplitInputFilePath.at(0);
612 std::string sTruthType = vSplitInputFilePath.at(1);
613 std::transform(sEfficiencyType.begin(), sEfficiencyType.end(), sEfficiencyType.begin(), toupper);
614 std::transform(sTruthType.begin(), sTruthType.end(), sTruthType.begin(), toupper);
615 std::string sSystematicBaseString =
"TAUS_"+sTruthType+
"_EFF_"+sEfficiencyType+
"_";
624 if (sEfficiencyType==
"ELERNN" || sEfficiencyType==
"ELEOLR")
m_bNoMultiprong =
true;
626 for (
auto mSF : *
m_mSF)
629 std::vector<std::string> vSplitNP = {};
630 split(mSF.first,
'_',vSplitNP);
631 std::string sNP = vSplitNP.at(0);
632 std::string sNPUppercase = vSplitNP.at(0);
635 if (sNP ==
"sf")
continue;
641 bool bIsRecommended =
false;
642 if (isupper(sNP.at(0)) || isupper(sNP.at(1)))
643 bIsRecommended =
true;
646 std::transform(sNPUppercase.begin(), sNPUppercase.end(), sNPUppercase.begin(), toupper);
647 std::string sSystematicString = sSystematicBaseString+sNPUppercase;
659 ATH_MSG_DEBUG(
"connected base name " << sNP <<
" with systematic " <<sSystematicString);
◆ getEfficiencyScaleFactor()
Declare the interface that the class provides.
Get the tau efficiency scale factor
Implements TauAnalysisTools::ITauEfficiencyCorrectionsTool.
Reimplemented in TauAnalysisTools::TauEfficiencyTriggerTool.
Definition at line 155 of file CommonEfficiencyTool.cxx.
161 dEfficiencyScaleFactor = 1.;
168 dEfficiencyScaleFactor = 1.;
181 ATH_MSG_WARNING(
"Found tau with unknown decay mode. Skip efficiency correction.");
189 dEfficiencyScaleFactor = 1.;
196 std::string sMu =
"";
197 std::string sMCCampaign =
"";
205 dEfficiencyScaleFactor);
208 return tmpCorrectionCode;
215 double dTotalSystematic2 = 0.;
216 double dDirection = 0.;
223 double dUncertaintySyst = 0.;
226 dDirection = syst.parameter();
229 sHistName =
it->second;
230 if (dDirection>0.) sHistName+=
"_up";
231 else sHistName+=
"_down";
233 sHistName += sMode + sMu + sMCCampaign;
236 if( (sHistName.find(
"3P") != std::string::npos && sHistName.find(
"1p") != std::string::npos) ||
237 (sHistName.find(
"1P") != std::string::npos && sHistName.find(
"3p") != std::string::npos))
241 tmpCorrectionCode =
getValue(sHistName,
247 return tmpCorrectionCode;
250 dUncertaintySyst *= dDirection;
253 dTotalSystematic2 += dUncertaintySyst * dUncertaintySyst;
257 dDirection = (dDirection > 0.) ? 1. : -1.;
260 dEfficiencyScaleFactor *= 1. + dDirection * std::sqrt(dTotalSystematic2);
◆ getKey()
Get the (hashed) key of an object that is in the event store.
This is a bit of a special one. StoreGateSvc
and xAOD::TEvent
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
-
ptr | The 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.
121 #ifdef XAOD_STANDALONE
127 return (
proxy ==
nullptr ? 0 :
proxy->sgkey() );
128 #endif // XAOD_STANDALONE
◆ 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::TEvent
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
-
ptr | The 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.
108 #ifdef XAOD_STANDALONE
114 static const std::string
dummy =
"";
116 #endif // XAOD_STANDALONE
◆ getProperty()
template<class T >
const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ getValue()
Definition at line 669 of file CommonEfficiencyTool.cxx.
674 auto it = mSF.find (sHistName);
677 ATH_MSG_ERROR(
"Object with name "<<sHistName<<
" was not found in input file.");
679 for (
auto eEntry : mSF)
688 double dPt =
m_fX(xTau);
691 double dVars[2] = {dPt,
dEta};
695 return (std::get<1>(tTuple))(std::get<0>(tTuple), dEfficiencyScaleFactor, dVars);
◆ getValueTF1()
CP::CorrectionCode CommonEfficiencyTool::getValueTF1 |
( |
const TObject * |
oObject, |
|
|
double & |
dEfficiencyScaleFactor, |
|
|
double |
dVars[] |
|
) |
| |
|
staticprotected |
Definition at line 801 of file CommonEfficiencyTool.cxx.
804 double dPt = dVars[0];
805 double dEta = dVars[1];
807 const TF1* fFunc =
static_cast<const TF1*
>(oObject);
816 dEfficiencyScaleFactor = fFunc->Eval(dPt,
dEta);
◆ getValueTH1()
CP::CorrectionCode CommonEfficiencyTool::getValueTH1 |
( |
const TObject * |
oObject, |
|
|
double & |
dEfficiencyScaleFactor, |
|
|
double |
dVars[] |
|
) |
| |
|
staticprotected |
Definition at line 704 of file CommonEfficiencyTool.cxx.
707 double dPt = dVars[0];
709 const TH1* hHist =
dynamic_cast<const TH1*
>(oObject);
718 dPt =
std::max(dPt,hHist->GetXaxis()->GetXmin());
720 dPt =
std::min(dPt,hHist->GetXaxis()->GetXmax() * .999);
723 int iBin = hHist->FindFixBin(dPt);
724 dEfficiencyScaleFactor = hHist->GetBinContent(iBin);
◆ getValueTH2()
CP::CorrectionCode CommonEfficiencyTool::getValueTH2 |
( |
const TObject * |
oObject, |
|
|
double & |
dEfficiencyScaleFactor, |
|
|
double |
dVars[] |
|
) |
| |
|
staticprotected |
Definition at line 734 of file CommonEfficiencyTool.cxx.
737 double dPt = dVars[0];
738 double dEta = dVars[1];
740 const TH2* hHist =
dynamic_cast<const TH2*
>(oObject);
749 dPt =
std::max(dPt,hHist->GetXaxis()->GetXmin());
752 dPt =
std::min(dPt,hHist->GetXaxis()->GetXmax() * .999);
756 int iBin = hHist->FindFixBin(dPt,
dEta);
757 dEfficiencyScaleFactor = hHist->GetBinContent(iBin);
◆ getValueTH3()
CP::CorrectionCode CommonEfficiencyTool::getValueTH3 |
( |
const TObject * |
oObject, |
|
|
double & |
dEfficiencyScaleFactor, |
|
|
double |
dVars[] |
|
) |
| |
|
staticprotected |
Definition at line 766 of file CommonEfficiencyTool.cxx.
769 double dX = dVars[0];
770 double dY = dVars[1];
771 double dZ = dVars[2];
773 const TH3* hHist =
dynamic_cast<const TH3*
>(oObject);
782 dX =
std::max(dX,hHist->GetXaxis()->GetXmin());
783 dY =
std::max(dY,hHist->GetYaxis()->GetXmin());
784 dZ =
std::max(dZ,hHist->GetZaxis()->GetXmin());
786 dX =
std::min(dX,hHist->GetXaxis()->GetXmax() * .999);
787 dY =
std::min(dY,hHist->GetYaxis()->GetXmax() * .999);
788 dZ =
std::min(dZ,hHist->GetZaxis()->GetXmax() * .999);
791 int iBin = hHist->FindFixBin(dX,dY,dZ);
792 dEfficiencyScaleFactor = hHist->GetBinContent(iBin);
◆ initialize()
StatusCode CommonEfficiencyTool::initialize |
( |
| ) |
|
|
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 TauAnalysisTools::CommonDiTauEfficiencyTool.
Definition at line 113 of file CommonEfficiencyTool.cxx.
121 m_mSF = std::make_unique< tSFMAP >();
122 std::unique_ptr< TFile > fSF( TFile::Open( sInputFilePath.c_str(),
"READ" ) );
125 ATH_MSG_FATAL(
"Could not open file " << sInputFilePath.c_str());
126 return StatusCode::FAILURE;
133 std::vector<std::string> vInputFilePath;
144 return StatusCode::FAILURE;
146 return StatusCode::SUCCESS;
◆ inputHandles()
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.
◆ isAffectedBySystematic()
◆ isSupportedRunNumber()
virtual bool TauAnalysisTools::CommonEfficiencyTool::isSupportedRunNumber |
( |
int |
iRunNumber | ) |
const |
|
inlinevirtual |
◆ msg() [1/2]
◆ msg() [2/2]
◆ 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.
◆ msgLvl()
◆ outputHandles()
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() [1/2]
void asg::AsgTool::print |
( |
| ) |
const |
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
Definition at line 131 of file AsgTool.cxx.
◆ print() [2/2]
virtual void asg::IAsgTool::print |
( |
| ) |
const |
|
pure virtualinherited |
Print the state of the tool.
Implemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, asg::AsgTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
◆ ReadInputs()
void CommonEfficiencyTool::ReadInputs |
( |
const TFile & |
fFile | ) |
|
|
protected |
Definition at line 444 of file CommonEfficiencyTool.cxx.
453 TIter itNext(fFile.GetListOfKeys());
454 while ((kKey = (TKey*)itNext()))
458 std::string sKeyName = kKey->GetName();
459 if (sKeyName ==
"Xaxis")
461 TNamed* tObj = (TNamed*)kKey->ReadObj();
462 std::string sTitle = tObj->GetTitle();
464 if (sTitle ==
"P" || sTitle ==
"PFinalCalib")
469 if (sTitle ==
"TruthDecayMode")
474 if (sTitle ==
"truth pt")
479 if (sTitle ==
"|eta|")
487 else if (sKeyName ==
"Yaxis")
489 TNamed* tObj = (TNamed*)kKey->ReadObj();
490 std::string sTitle = tObj->GetTitle();
492 if (sTitle ==
"track-eta")
497 else if (sTitle ==
"|eta|")
502 else if (sTitle ==
"mu")
506 if (
evtStore()->retrieve(xEventInfo,
"EventInfo").isFailure()) {
521 else if (sTitle ==
"truth |eta|")
529 std::vector<std::string> vSplitName = {};
530 split(sKeyName,
'_',vSplitName);
531 if (vSplitName[0] ==
"sf")
538 if (sKeyName.find(
"_up_") != std::string::npos or sKeyName.find(
"_down_") != std::string::npos)
542 size_t iPos = sKeyName.find(
'_');
◆ recommendedSystematics()
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_bNoMultiprong
bool TauAnalysisTools::CommonEfficiencyTool::m_bNoMultiprong |
|
protected |
◆ m_bSFIsAvailable
bool TauAnalysisTools::CommonEfficiencyTool::m_bSFIsAvailable |
|
protected |
◆ m_bSFIsAvailableChecked
bool TauAnalysisTools::CommonEfficiencyTool::m_bSFIsAvailableChecked |
|
protected |
◆ m_bSkipTruthMatchCheck
bool TauAnalysisTools::CommonEfficiencyTool::m_bSkipTruthMatchCheck |
|
protected |
◆ m_bSplitMu
bool TauAnalysisTools::CommonEfficiencyTool::m_bSplitMu |
|
protected |
◆ m_bUseTauSubstructure
bool TauAnalysisTools::CommonEfficiencyTool::m_bUseTauSubstructure |
|
protected |
◆ m_detStore
◆ m_eCheckTruth
◆ m_evtStore
◆ m_fX
std::function<double(const xAOD::TauJet& xTau)> TauAnalysisTools::CommonEfficiencyTool::m_fX |
|
protected |
◆ m_fY
std::function<double(const xAOD::TauJet& xTau)> TauAnalysisTools::CommonEfficiencyTool::m_fY |
|
protected |
◆ m_iEleIDLevel
int TauAnalysisTools::CommonEfficiencyTool::m_iEleIDLevel |
|
protected |
◆ m_iJetIDLevel
int TauAnalysisTools::CommonEfficiencyTool::m_iJetIDLevel |
|
protected |
◆ m_mSF
std::unique_ptr< tSFMAP > TauAnalysisTools::CommonEfficiencyTool::m_mSF |
|
protected |
◆ m_mSystematics
std::map<std::string, int> TauAnalysisTools::CommonEfficiencyTool::m_mSystematics |
|
protected |
◆ m_mSystematicSets
std::unordered_map< CP::SystematicSet, std::string > TauAnalysisTools::CommonEfficiencyTool::m_mSystematicSets |
|
protected |
◆ m_mSystematicsHistNames
std::map<std::string, std::string> TauAnalysisTools::CommonEfficiencyTool::m_mSystematicsHistNames |
|
protected |
◆ m_sAffectingSystematics
◆ m_sInputFileName
std::string TauAnalysisTools::CommonEfficiencyTool::m_sInputFileName |
|
protected |
◆ m_sInputFilePath
std::string TauAnalysisTools::CommonEfficiencyTool::m_sInputFilePath |
|
protected |
◆ m_sRecommendedSystematics
◆ m_sSFHistName
std::string TauAnalysisTools::CommonEfficiencyTool::m_sSFHistName |
|
protected |
◆ m_sSystematicSet
◆ m_sVarName
std::string TauAnalysisTools::CommonEfficiencyTool::m_sVarName |
|
protected |
◆ m_sWP
std::string TauAnalysisTools::CommonEfficiencyTool::m_sWP |
|
protected |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
bool empty() const
returns: whether the set is empty
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
Class to wrap a set of SystematicVariations.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool panTauDetail(TauJetParameters::PanTauDetails panTauDetail, int &value) const
Get and set values of pantau details variables via enum.
#define ATH_MSG_VERBOSE(x)
uint32_t runNumber() const
The current event's run number.
virtual void setOwner(IDataHandleHolder *o)=0
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
@ OutOfValidityRange
Input object is out of validity range.
@ Error
Some error happened during the object correction.
Helper class to provide type-safe access to aux data.
Class describing a tau jet.
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
const_iterator end() const
description: const iterator to the end of the set
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
void insert(const SystematicVariation &systematic)
description: insert a systematic into the set
Class describing the basic event information.
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
iterator find(const SystematicVariation &sys) const
description: find an element in the set
@ Ok
The correction was done successfully.
#define ATH_MSG_WARNING(x)
Return value from object correction CP tools.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
bool dEta(const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
float actualInteractionsPerCrossing() const
Average interactions per crossing for the current BCID - for in-time pile-up.