![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <TauEfficiencyCorrectionsTool.h>
|
| TauEfficiencyCorrectionsTool (const std::string &sName) |
| Create a proper constructor for Athena. More...
|
|
| ~TauEfficiencyCorrectionsTool () |
|
virtual StatusCode | initialize () |
| Function initialising the tool. More...
|
|
virtual StatusCode | beginInputFile () |
| Function called when a new input file is opened. More...
|
|
virtual void | printConfig () const |
| Print tool configuration. More...
|
|
virtual CP::CorrectionCode | getEfficiencyScaleFactor (const xAOD::TauJet &xTau, double &eff, unsigned int iRunNumber=0, unsigned int iMu=0) |
| Get the tau efficiency scale factor. More...
|
|
virtual CP::CorrectionCode | applyEfficiencyScaleFactor (const xAOD::TauJet &xTau, unsigned int iRunNumber=0, unsigned int iMu=0) |
| Decorate the tau with its efficiency scale factor. 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 &systConfig) |
| effects: 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 StatusCode | sysInitialize () |
| Function initialising the tool in the correct way in Athena. 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 | 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 |
|
◆ MetaStore_t
◆ MetaStorePtr_t
Type of the metadata store pointer in standalone mode.
Definition at line 68 of file AsgMetadataTool.h.
◆ StoreGateSvc_t
◆ TauEfficiencyCorrectionsTool()
TauAnalysisTools::TauEfficiencyCorrectionsTool::TauEfficiencyCorrectionsTool |
( |
const std::string & |
sName | ) |
|
◆ ~TauEfficiencyCorrectionsTool()
TauAnalysisTools::TauEfficiencyCorrectionsTool::~TauEfficiencyCorrectionsTool |
( |
| ) |
|
◆ affectingSystematics()
CP::SystematicSet TauAnalysisTools::TauEfficiencyCorrectionsTool::affectingSystematics |
( |
| ) |
const |
|
virtual |
◆ applyEfficiencyScaleFactor()
◆ applySystematicVariation()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::applySystematicVariation |
( |
const CP::SystematicSet & |
systConfig | ) |
|
|
virtual |
effects: configure this tool for the given list of systematic variations.
any requested systematics that are not affecting this tool will be silently ignored (unless they cause other errors). failures: systematic unknown failures: requesting multiple variations on the same systematic (e.g. up & down) failures: requesting an unsupported variation on an otherwise supported systematic (e.g. a 2 sigma variation and the tool only supports 1 sigma variations) failures: unsupported combination of supported systematic failures: other tool specific errors
Implements CP::ISystematicsTool.
Definition at line 373 of file TauEfficiencyCorrectionsTool.cxx.
376 if ((**it)->applySystematicVariation(sSystematicSet) == StatusCode::FAILURE)
377 return StatusCode::FAILURE;
379 if ((**it)->applySystematicVariation(sSystematicSet) == StatusCode::FAILURE)
380 return StatusCode::FAILURE;
381 return StatusCode::SUCCESS;
◆ beginEvent()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::beginEvent |
( |
| ) |
|
|
privatevirtual |
Function called when a new events is loaded.
Dummy implementation that can be overridden by the derived tool.
Reimplemented from asg::AsgMetadataTool.
Definition at line 208 of file TauEfficiencyCorrectionsTool.cxx.
224 return StatusCode::SUCCESS;
234 return StatusCode::SUCCESS;
238 return StatusCode::SUCCESS;
241 return StatusCode::SUCCESS;
◆ beginInputFile()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::beginInputFile |
( |
| ) |
|
|
virtual |
Function called when a new input file is opened.
Dummy implementation that can be overridden by the derived tool.
Reimplemented from asg::AsgMetadataTool.
Definition at line 542 of file TauEfficiencyCorrectionsTool.cxx.
544 if (
inputMetaStore()->contains<xAOD::FileMetaData>(
"FileMetaData")) {
547 std::string simType(
"");
552 if (simType.find(
"ATLFASTII")!=std::string::npos){
553 ATH_MSG_WARNING(
"Input file is AFII sample which should be replaced by AF3 as this will be the only atlas fast simulation supported by TauCP");
554 }
else if( simType.find(
"ATLFAST3") != std::string::npos && !
m_useFastSim){
555 ATH_MSG_WARNING(
"Input file is AF3 sample but you are _not_ using AF3 corrections and uncertainties, you should set \"useFastSim\" to \"true\"");
556 }
else if (simType.find(
"FULLG4")!=std::string::npos &&
m_useFastSim){
557 ATH_MSG_WARNING(
"Input file is full simulation but you are using AF3 corrections and uncertainties, you should set \"useFastSim\" to \"false\"");
561 return StatusCode::SUCCESS;
◆ ConvertEleIDToString()
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::ConvertEleIDToString |
( |
const int |
iLevel | ) |
const |
|
private |
◆ ConvertJetIDToString()
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::ConvertJetIDToString |
( |
const int |
iLevel | ) |
const |
|
private |
Definition at line 565 of file TauEfficiencyCorrectionsTool.cxx.
572 ATH_MSG_WARNING(
"Efficiency corrections for JETIDRNNVERYLOOSE working point are not supported.");
575 return "jetrnnsigloose";
577 return "jetrnnsigmedium";
579 return "jetrnnsigtight";
◆ ConvertTriggerIDToString()
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::ConvertTriggerIDToString |
( |
const int |
iLevel | ) |
const |
|
private |
◆ 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);
◆ 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.
◆ 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.
◆ 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()
◆ endInputFile()
StatusCode asg::AsgMetadataTool::endInputFile |
( |
| ) |
|
|
protectedvirtualinherited |
◆ 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
◆ firstEvent()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::firstEvent |
( |
| ) |
|
|
private |
Definition at line 192 of file TauEfficiencyCorrectionsTool.cxx.
199 ANA_MSG_WARNING(
"Could not determine MC campaign from run number! The mu dependent systematic of the trigger scale factors should not be trusted. Current (" << xEventInfo->
runNumber() <<
"). Will only print this warning once." );
203 ANA_MSG_WARNING(
"TauEfficiency callibrations from 2022-prerec are not recommended for Run2 MC. Will only print this warning once." );
205 return StatusCode::SUCCESS;
◆ getEfficiencyScaleFactor()
CP::CorrectionCode TauAnalysisTools::TauEfficiencyCorrectionsTool::getEfficiencyScaleFactor |
( |
const xAOD::TauJet & |
xTau, |
|
|
double & |
eff, |
|
|
unsigned int |
iRunNumber = 0 , |
|
|
unsigned int |
iMu = 0 |
|
) |
| |
|
virtual |
◆ 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
124 return evtStore()->event()->getKey( ptr );
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
111 return evtStore()->event()->getName( ptr );
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.
◆ GetTriggerSFMeasurementString()
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::GetTriggerSFMeasurementString |
( |
| ) |
const |
|
private |
◆ handle()
void asg::AsgMetadataTool::handle |
( |
const Incident & |
inc | ) |
|
|
protectedvirtualinherited |
Function receiving incidents from IncidentSvc/TEvent.
Reimplemented in Trig::TrigDecisionTool.
Definition at line 130 of file AsgMetadataTool.cxx.
136 if( inc.type() == IncidentType::BeginInputFile ) {
140 throw std::runtime_error(
"Couldn't call beginInputFile()" );
142 }
else if( inc.type() == IncidentType::EndInputFile ) {
145 throw std::runtime_error(
"Couldn't call endInputFile()" );
147 }
else if( inc.type() == IncidentType::BeginEvent ) {
155 throw std::runtime_error(
"Couldn't call beginInputFile()" );
160 throw std::runtime_error(
"Couldn't call beginEvent()" );
163 #ifdef XAOD_STANDALONE
164 }
else if( inc.type() == IncidentType::MetaDataStop ) {
167 throw std::runtime_error(
"Couldn't call metaDataStop()" );
170 #endif // XAOD_STANDALONE
172 ATH_MSG_WARNING(
"Unknown incident type received in AsgMetaDataTool: " << inc.type() );
◆ initialize()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::initialize |
( |
| ) |
|
|
virtual |
Function initialising the tool.
Reimplemented from asg::AsgTool.
Definition at line 122 of file TauEfficiencyCorrectionsTool.cxx.
124 ATH_MSG_INFO(
"Initializing TauEfficiencyCorrectionsTool" );
127 ATH_MSG_WARNING(
"Truth match check will be skipped. This is ONLY FOR TESTING PURPOSE!");
136 ATH_MSG_ERROR(
"Either use a TauSelectionTool handle or EfficiencyCorrectionTypes, not both.");
137 return StatusCode::FAILURE;
141 if(tauSelectionTool ==
nullptr) {
143 return StatusCode::FAILURE;
146 ATH_MSG_ERROR(
"Failed to determine scale factors using TauSelectionTool");
147 return StatusCode::FAILURE;
154 ATH_MSG_ERROR(
"Could not retrieve any EfficiencyCorrectionType");
155 return StatusCode::FAILURE;
159 ATH_MSG_WARNING(
"2022-prerec tag are pre-recommendations and still under development.");
164 return StatusCode::FAILURE;
170 ATH_CHECK((**it).setProperty(
"OutputLevel", this->msg().level()));
175 ATH_CHECK((**it).setProperty(
"OutputLevel", this->msg().level()));
181 if (!
registry.registerSystematics(*
this))
184 return StatusCode::FAILURE;
189 return StatusCode::SUCCESS;
◆ initializeTools_2022_prerec()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::initializeTools_2022_prerec |
( |
| ) |
|
|
private |
Definition at line 389 of file TauEfficiencyCorrectionsTool.cxx.
391 std::string sDirectory =
"TauAnalysisTools/" + std::string(sSharedFilesVersion) +
"/EfficiencyCorrections/";
400 ATH_MSG_ERROR(
"isAFII property is now deprecated, please use useFastSim property and AF3 samples");
401 return StatusCode::FAILURE;
403 ATH_MSG_WARNING(
"No fast-sim recommendation for Tau RNN, using full sim");
411 if (sJetIDWP.empty()) {
412 ATH_MSG_WARNING(
"Could not find valid ID working point. Skip ID efficiency corrections.");
441 ATH_MSG_ERROR(
"isAFII property is now deprecated, please use useFastSim property and AF3 samples");
442 return StatusCode::FAILURE;
444 ATH_MSG_WARNING(
"No fast-sim recommendation for tau electron veto, using full sim");
476 if (sJetIDWP.empty()) {
477 ATH_MSG_WARNING(
"Could not find valid ID working point. Skip ID efficiency corrections.");
493 ATH_MSG_ERROR(
"Property \"Trigger\" was not set, please provide a trigger name.");
494 return StatusCode::FAILURE;
503 if (
m_sTriggerName.find(
"mediumRNN_tracktwoMVA") != std::string::npos) {
506 else if (
m_sTriggerName.find(
"tracktwoEF") != std::string::npos) {
509 else if (
m_sTriggerName.find(
"tau160_medium1") != std::string::npos) {
520 return StatusCode::FAILURE;
533 ATH_MSG_WARNING(
"unsupported EfficiencyCorrectionsType with enum " << iEfficiencyCorrectionType);
537 return StatusCode::SUCCESS;
◆ initializeWithTauSelectionTool()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::initializeWithTauSelectionTool |
( |
TauSelectionTool * |
tauSelectionTool | ) |
|
|
private |
◆ 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.
◆ inputMetaStore()
AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::inputMetaStore |
( |
| ) |
const |
|
inherited |
Accessor for the input metadata store.
Definition at line 88 of file AsgMetadataTool.cxx.
90 #ifdef XAOD_STANDALONE
92 #else // XAOD_STANDALONE
94 #endif // XAOD_STANDALONE
◆ isAffectedBySystematic()
◆ isSupportedRunNumber()
virtual bool TauAnalysisTools::TauEfficiencyCorrectionsTool::isSupportedRunNumber |
( |
int |
iRunNumber | ) |
const |
|
inlinevirtual |
◆ metaDataStop()
StatusCode asg::AsgMetadataTool::metaDataStop |
( |
| ) |
|
|
protectedvirtualinherited |
◆ 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.
◆ outputMetaStore()
AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::outputMetaStore |
( |
| ) |
const |
|
inherited |
Accessor for the output metadata store.
Definition at line 97 of file AsgMetadataTool.cxx.
99 #ifdef XAOD_STANDALONE
101 #else // XAOD_STANDALONE
103 #endif // XAOD_STANDALONE
◆ 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, top::TopObjectSelection, 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, top::TopObjectSelection, asg::AsgTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
◆ printConfig()
void TauAnalysisTools::TauEfficiencyCorrectionsTool::printConfig |
( |
| ) |
const |
|
virtual |
◆ readRandomRunNumber()
StatusCode TauAnalysisTools::TauEfficiencyCorrectionsTool::readRandomRunNumber |
( |
| ) |
|
|
private |
Definition at line 634 of file TauEfficiencyCorrectionsTool.cxx.
640 if (!
evtStore()->contains<xAOD::EventInfo>(
"EventInfo") || !
evtStore()->
retrieve(eventInfo,
"EventInfo").isSuccess())
643 return StatusCode::FAILURE;
646 if (!acc_rnd.isAvailable(*eventInfo))
648 ANA_MSG_ERROR(
"Failed to find the RandomRunNumber decoration. Call the apply() method from the PileupReweightingTool beforehand to get period dependent SFs.");
649 return StatusCode::FAILURE;
657 return StatusCode::SUCCESS;
◆ recommendedSystematics()
CP::SystematicSet TauAnalysisTools::TauEfficiencyCorrectionsTool::recommendedSystematics |
( |
| ) |
const |
|
virtual |
◆ renounce()
◆ renounceArray()
◆ setUseIncidents()
void asg::AsgMetadataTool::setUseIncidents |
( |
const bool |
flag | ) |
|
|
inlineprotectedinherited |
◆ sysInitialize()
StatusCode asg::AsgMetadataTool::sysInitialize |
( |
| ) |
|
|
virtualinherited |
Function initialising the tool in the correct way in Athena.
This function is used to set up the callbacks from IncidentSvc in Athena at the right time during initialisation, without the user having to do anything special in his/her code.
Reimplemented from AthCommonDataStore< AthCommonMsg< AlgTool > >.
Definition at line 110 of file AsgMetadataTool.cxx.
112 #ifndef XAOD_STANDALONE
119 incSvc->addListener(
this, IncidentType::BeginEvent, 0,
false );
124 #endif // not XAOD_STANDALONE
127 return StatusCode::SUCCESS;
◆ 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_beginInputFileCalled
bool asg::AsgMetadataTool::m_beginInputFileCalled |
|
privateinherited |
Flag helping to discover when the tool misses the opening of the first input file.
Definition at line 126 of file AsgMetadataTool.h.
◆ m_bIsConfigured
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_bIsConfigured |
|
private |
◆ m_bIsData
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_bIsData |
|
private |
◆ m_bReadRandomRunNumber
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_bReadRandomRunNumber |
|
private |
◆ m_bSkipTruthMatchCheck
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_bSkipTruthMatchCheck |
|
private |
◆ m_bUseHighPtUncert
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_bUseHighPtUncert |
|
private |
◆ m_bUseTauSubstructure
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_bUseTauSubstructure |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_firstEvent
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_firstEvent = false |
|
private |
◆ m_iEleIDLevel
int TauAnalysisTools::TauEfficiencyCorrectionsTool::m_iEleIDLevel |
|
private |
◆ m_iJetIDLevel
int TauAnalysisTools::TauEfficiencyCorrectionsTool::m_iJetIDLevel |
|
private |
◆ m_iMu
unsigned int TauAnalysisTools::TauEfficiencyCorrectionsTool::m_iMu |
|
private |
◆ m_inputMetaStore
◆ m_iRunNumber
unsigned int TauAnalysisTools::TauEfficiencyCorrectionsTool::m_iRunNumber |
|
private |
◆ m_outputMetaStore
◆ m_sAFII
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sAFII |
|
private |
◆ m_sInputFilePathDecayModeHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sInputFilePathDecayModeHadTau |
|
private |
◆ m_sInputFilePathEleIDElectron
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sInputFilePathEleIDElectron |
|
private |
◆ m_sInputFilePathEleIDHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sInputFilePathEleIDHadTau |
|
private |
◆ m_sInputFilePathJetIDHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sInputFilePathJetIDHadTau |
|
private |
◆ m_sInputFilePathRecoHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sInputFilePathRecoHadTau |
|
private |
◆ m_sInputFilePathTriggerHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sInputFilePathTriggerHadTau |
|
private |
◆ m_sMCCampaign
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sMCCampaign |
|
private |
◆ m_sRecommendationTag
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sRecommendationTag |
|
private |
◆ m_sTriggerName
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sTriggerName |
|
private |
◆ m_sTriggerSFMeasurement
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sTriggerSFMeasurement |
|
private |
◆ m_sVarNameBase
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sVarNameBase |
|
private |
◆ m_sVarNameDecayModeHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sVarNameDecayModeHadTau |
|
private |
◆ m_sVarNameEleIDElectron
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sVarNameEleIDElectron |
|
private |
◆ m_sVarNameEleIDHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sVarNameEleIDHadTau |
|
private |
◆ m_sVarNameJetIDHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sVarNameJetIDHadTau |
|
private |
◆ m_sVarNameRecoHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sVarNameRecoHadTau |
|
private |
◆ m_sVarNameTriggerHadTau
std::string TauAnalysisTools::TauEfficiencyCorrectionsTool::m_sVarNameTriggerHadTau |
|
private |
◆ m_tPRWTool
◆ m_tTauSelectionToolHandle
◆ m_useFastSim
bool TauAnalysisTools::TauEfficiencyCorrectionsTool::m_useFastSim |
|
private |
◆ m_useIncidents
bool asg::AsgMetadataTool::m_useIncidents |
|
privateinherited |
◆ m_varHandleArraysDeclared
◆ m_vCommonEfficiencyTools
◆ m_vEfficiencyCorrectionTypes
std::vector<int> TauAnalysisTools::TauEfficiencyCorrectionsTool::m_vEfficiencyCorrectionTypes |
|
private |
◆ m_vhka
◆ m_vTriggerEfficiencyTools
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Class to wrap a set of SystematicVariations.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
Helper class to provide constant type-safe access to aux data.
#define ATH_MSG_VERBOSE(x)
@ IS_SIMULATION
true: simulation, false: data
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.
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
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.
@ Ok
The correction was done successfully.
#define ATH_MSG_WARNING(x)
This module implements the central registry for handling systematic uncertainties with CP tools.
Return value from object correction CP tools.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
bool eventType(EventType type) const
Check for one particular bitmask value.
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.