![]() |
ATLAS Offline Software
|
#include <TrigGlobalEfficiencyCorrectionTool.h>
Classes | |
| struct | CachedRanking |
| struct | Hierarchy |
| struct | TagDecorator |
| struct | ToolKey |
Public Member Functions | |
| virtual ASG_TOOL_CLASS(TrigGlobalEfficiencyCorrectionTool, ITrigGlobalEfficiencyCorrectionTool) TrigGlobalEfficiencyCorrectionTool(const std | ~TrigGlobalEfficiencyCorrectionTool () |
| virtual StatusCode | initialize () override |
| Dummy implementation of the initialisation function. | |
| virtual CP::CorrectionCode | getEfficiencyScaleFactor (const std::vector< const xAOD::IParticle * > &particles, double &efficiencyScaleFactor) override |
| virtual CP::CorrectionCode | getEfficiencyScaleFactor (unsigned runNumber, const std::vector< const xAOD::IParticle * > &particles, double &efficiencyScaleFactor) override |
| These should in principle not be used (except by unit tests), as the CP tools require the EventInfo decoration "RandomRunNumber" to be present. | |
| virtual CP::CorrectionCode | getEfficiency (const std::vector< const xAOD::IParticle * > &particles, double &efficiencyData, double &efficiencyMc) override |
| virtual CP::CorrectionCode | getEfficiency (unsigned runNumber, const std::vector< const xAOD::IParticle * > &particles, double &efficiencyData, double &efficiencyMc) override |
| virtual bool | isAffectedBySystematic (const CP::SystematicVariation &systematic) const override |
| Declare the interface that this class provides. | |
| virtual CP::SystematicSet | affectingSystematics () const override |
| the list of all systematics this tool can be affected by | |
| virtual CP::SystematicSet | recommendedSystematics () const override |
| the list of all systematics this tool recommends to use | |
| virtual StatusCode | applySystematicVariation (const CP::SystematicSet &systConfig) override |
| effects: configure this tool for the given list of systematic variations. | |
| virtual CP::CorrectionCode | checkTriggerMatching (bool &matched, const std::vector< const xAOD::IParticle * > &particles) override |
| virtual CP::CorrectionCode | checkTriggerMatching (std::unordered_map< std::string, bool > &matched_per_trigger, const std::vector< const xAOD::IParticle * > &particles) override |
| virtual CP::CorrectionCode | getRelevantTriggers (std::vector< std::string > &triggers) override |
| This will fill the 'triggers' argument with the names of the triggers relevant for the current run number, among those specified in the tool configuration. | |
| virtual CP::CorrectionCode | countTriggerLegs (const std::string &trigger, std::size_t &numberOfLegs) override |
| This utility function provides the number of legs for the specified trigger. | |
| template<class CPTool> | |
| bool | enumerateTools (ImportData &data, ToolHandleArray< CPTool > &suppliedTools, std::map< ToolKey, std::size_t > &toolIndex, flat_set< std::size_t > &collectedTags) |
| template<class ParticleType> | |
| auto | getEgammaTriggerLegEfficiencies (const ParticleType *p, unsigned runNumber, std::size_t leg, std::size_t tag, Efficiencies &efficiencies) -> TLE_RESULT |
| template<class Container> | |
| auto | rankTriggerLegs (float pt, const Container &legs) -> CachedRanking |
| 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 |
| template<typename... Args> | |
| auto | getEfficiencyScaleFactor (Args &... args) -> std::enable_if_t< validArgs< Args... >(1), CP::CorrectionCode > |
| Alternatively, the list of particles can be supplied via one or several vectors of xAOD::Electron*/Muon*/Photon* The generic signature is getEfficiencyScaleFactor((const) vector<(const)Type1*>&, ..., (const) vector<(const)TypeN*>&, double& efficiencyScaleFactor) e.g. | |
| template<typename... Args> | |
| auto | getEfficiency (Args &... args) -> std::enable_if_t< validArgs< Args... >(2), CP::CorrectionCode > |
| template<typename BoolOrMap, typename... Args> | |
| auto | checkTriggerMatching (BoolOrMap &matched, Args &... args) -> std::enable_if_t< validArgs< Args... >(0), CP::CorrectionCode > |
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. | |
Static Public Member Functions | |
| static CP::CorrectionCode | suggestElectronMapKeys (const std::map< std::string, std::string > &triggerCombination, const std::string &version, std::map< std::string, std::string > &legsPerKey) |
| static CP::CorrectionCode | suggestPhotonMapKeys (const std::map< std::string, std::string > &triggerCombination, const std::string &version, std::map< std::string, std::string > &legsPerKey) |
| static CP::CorrectionCode | suggestEgammaMapKeys (const std::map< std::string, std::string > &triggerCombination, const std::string &version, std::map< std::string, std::string > &legsPerKey, xAOD::Type::ObjectType type) |
| template<typename Arg> | |
| static constexpr bool | validArgs (unsigned nTrailingDoubles) |
| template<typename Arg1, typename Arg2, typename... OtherArgs> | |
| static constexpr bool | validArgs (unsigned nTrailingDoubles) |
| static std::string | toolnameForDefaultScaleFactor () |
| To be used with the ListOfLegsPerTool property: | |
Protected Member Functions | |
| 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. | |
| double * | handleArg (double &arg, std::vector< const xAOD::IParticle * > &) |
| template<typename P> | |
| double * | handleArg (const std::vector< P > &arg, std::vector< const xAOD::IParticle * > &particles) |
Private Types | |
| enum | TLE_RESULT { TLE_OK , TLE_UNAVAILABLE , TLE_ERROR } |
| using | LeptonList = std::vector<TrigGlobEffCorr::Lepton> |
| template<typename Key> | |
| using | flat_set = boost::container::flat_set<Key> |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| bool | loadHierarchies () |
| Internal methods (I) – initialization of the tool. | |
| template<class CPTool> | |
| bool | enumerateTools (TrigGlobEffCorr::ImportData &data, ToolHandleArray< CPTool > &suppliedTools, std::map< ToolKey, std::size_t > &toolIndex, flat_set< std::size_t > &collectedTags) |
| flat_set< ToolKey > | parseListOfLegs (TrigGlobEffCorr::ImportData &data, const std::string &inputList, bool &success) |
| bool | parseTagString (const std::string &tagstring, flat_set< std::size_t > &tags) |
| bool | loadTriggerCombination (TrigGlobEffCorr::ImportData &data, bool useDefaultElectronTools, bool useDefaultPhotonTools) |
| bool | loadTagDecorators (const flat_set< std::size_t > &collectedElectronTags, const flat_set< std::size_t > &collectedMuonTags, const flat_set< std::size_t > &collectedPhotonTags) |
| bool | loadListOfLegsPerTag () |
| bool | processDeprecatedProperties () |
| bool | retrieveRunNumber (unsigned &runNumber) |
| Internal methods (II) – core task. | |
| bool | retrieveEventNumber (unsigned long &eventNumber) |
| bool | aboveThreshold (const TrigGlobEffCorr::Lepton &p, std::size_t leg) const |
| template<class... ListOfLegs> | |
| unsigned long | getCachedTriggerLegsRanking (const TrigGlobEffCorr::Lepton &lepton, ListOfLegs... legs) |
| std::size_t | getLoosestLegAboveThreshold (const TrigGlobEffCorr::Lepton &lepton, const flat_set< std::size_t > &legs, bool &success) |
| std::size_t | getLoosestLeg (const TrigGlobEffCorr::Lepton &lepton, std::size_t leg1, std::size_t leg2, bool &success) |
| std::pair< std::size_t, std::size_t > | getTwoLoosestLegs (const TrigGlobEffCorr::Lepton &lepton, const flat_set< std::size_t > &legs, bool &success) |
| std::vector< std::size_t > | getSortedLegs (const TrigGlobEffCorr::Lepton &lepton, const flat_set< std::size_t > &legs, bool &success) |
| template<class Container> | |
| CachedRanking | rankTriggerLegs (float pt, const Container &legs) |
| template<class Particle> | |
| bool | updateLeptonList (LeptonList &leptons, const std::vector< const Particle * > &particles) |
| void | updateMuonTriggerNames (std::size_t leg, const std::string &name) |
| TLE_RESULT | getTriggerLegEfficiencies (const xAOD::Electron *p, unsigned runNumber, std::size_t leg, std::size_t tag, TrigGlobEffCorr::Efficiencies &efficiencies) |
| TLE_RESULT | getTriggerLegEfficiencies (const xAOD::Muon *p, unsigned runNumber, std::size_t leg, std::size_t tag, TrigGlobEffCorr::Efficiencies &efficiencies) |
| TLE_RESULT | getTriggerLegEfficiencies (const xAOD::Photon *p, unsigned runNumber, std::size_t leg, std::size_t tag, TrigGlobEffCorr::Efficiencies &efficiencies) |
| template<class ParticleType> | |
| TLE_RESULT | getEgammaTriggerLegEfficiencies (const ParticleType *p, unsigned runNumber, std::size_t leg, std::size_t tag, TrigGlobEffCorr::Efficiencies &efficiencies) |
| decltype(m_electronSfToolIndex) & | GetScaleFactorToolIndex (const xAOD::Electron *) |
| decltype(m_photonSfToolIndex) & | GetScaleFactorToolIndex (const xAOD::Photon *) |
| decltype(m_electronEffToolIndex) & | GetEfficiencyToolIndex (const xAOD::Electron *) |
| decltype(m_photonEffToolIndex) & | GetEfficiencyToolIndex (const xAOD::Photon *) |
| IAsgElectronEfficiencyCorrectionTool & | GetScaleFactorTool (const xAOD::Electron *, std::size_t index) |
| IAsgPhotonEfficiencyCorrectionTool & | GetScaleFactorTool (const xAOD::Photon *, std::size_t index) |
| IAsgElectronEfficiencyCorrectionTool & | GetEfficiencyTool (const xAOD::Electron *, std::size_t index) |
| IAsgPhotonEfficiencyCorrectionTool & | GetEfficiencyTool (const xAOD::Photon *, std::size_t index) |
| std::size_t | getCombinedHash (const flat_set< std::size_t > &legs) |
| std::size_t | getCombinedHash (std::size_t leg1, std::size_t leg2) |
| bool | checkAndRecord (CP::CorrectionCode &&cc) |
| Internal methods (III) – misc. helpers. | |
| flat_set< std::size_t > | listNonOrderedCSValues (const std::string &s, bool &success) |
| Parses the input string (comma-separated list) and returns a set of hashes Watch out: since a flat_set is returned, the order of the entries in the input list is not preserved, as hinted by the name of the function. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Static Private Member Functions | |
| static constexpr const flat_set< std::size_t > & | forwardLegs (const flat_set< std::size_t > &legs) |
| static constexpr std::array< std::size_t, 2 > | forwardLegs (std::size_t leg1, std::size_t leg2) |
Friends | |
| class | TrigGlobEffCorr::ImportData |
| class | TrigGlobEffCorr::CheckConfig |
| class | TrigGlobEffCorr::Calculator |
Definition at line 35 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 196 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 143 of file TrigGlobalEfficiencyCorrectionTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
private |
| Enumerator | |
|---|---|
| TLE_OK | |
| TLE_UNAVAILABLE | |
| TLE_ERROR | |
Definition at line 243 of file TrigGlobalEfficiencyCorrectionTool.h.
|
virtual |
Definition at line 96 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 1010 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
overridevirtual |
the list of all systematics this tool can be affected by
Implements CP::IReentrantSystematicsTool.
Definition at line 1222 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
overridevirtual |
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 1232 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlineprivate |
Internal methods (III) – misc. helpers.
Definition at line 627 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inherited |
Definition at line 111 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
overridevirtual |
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 914 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
overridevirtual |
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 936 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
overridevirtual |
This utility function provides the number of legs for the specified trigger.
this abuses a little the role of the dictionary to act as a cache: for the key chosen as the trigger name hash XORed with the magic number, the mapped value is not the name of the trigger, but a meaningless string whose size equals the number of legs
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 972 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
| bool TrigGlobalEfficiencyCorrectionTool::enumerateTools | ( | ImportData & | data, |
| ToolHandleArray< CPTool > & | suppliedTools, | ||
| std::map< ToolKey, std::size_t > & | toolIndex, | ||
| flat_set< std::size_t > & | collectedTags ) |
Find the legs associated to this tool ("ListOfLegsPerTool" property)
Find the tags associated to this tool ("ListOfTagsPerTool" property)
Store
Definition at line 240 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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
|
inlinestaticconstexprprivate |
Definition at line 1044 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlinestaticconstexprprivate |
Definition at line 1050 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 1059 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 1028 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
returns 0 if leg1 == leg2, which is the correct behaviour
Definition at line 1038 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inherited |
Definition at line 102 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
overridevirtual |
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 836 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
overridevirtual |
ignores silently previous state + clears "checked" flag
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 870 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inherited |
Alternatively, the list of particles can be supplied via one or several vectors of xAOD::Electron*/Muon*/Photon* The generic signature is getEfficiencyScaleFactor((const) vector<(const)Type1*>&, ..., (const) vector<(const)TypeN*>&, double& efficiencyScaleFactor) e.g.
getEfficiencyScaleFactor(electrons, muons, sf); getEfficiencyScaleFactor(photons, sf); getEfficiencyScaleFactor(muons, electrons, photons, sf); don't forget the last argument(s)! (scale factor for getEfficiencyScaleFactor(), data and MC efficiencies for getEfficiency())
Definition at line 93 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
overridevirtual |
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 827 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
overridevirtual |
These should in principle not be used (except by unit tests), as the CP tools require the EventInfo decoration "RandomRunNumber" to be present.
ignores silently previous state + clears "checked" flag
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 845 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlineprivate |
Definition at line 279 of file TrigGlobalEfficiencyCorrectionTool.h.
|
inlineprivate |
Definition at line 283 of file TrigGlobalEfficiencyCorrectionTool.h.
|
inlineprivate |
Definition at line 264 of file TrigGlobalEfficiencyCorrectionTool.h.
|
inlineprivate |
Definition at line 268 of file TrigGlobalEfficiencyCorrectionTool.h.
| auto TrigGlobalEfficiencyCorrectionTool::getEgammaTriggerLegEfficiencies | ( | const ParticleType * | p, |
| unsigned | runNumber, | ||
| std::size_t | leg, | ||
| std::size_t | tag, | ||
| Efficiencies & | efficiencies ) -> TLE_RESULT |
Common implementation for electrons and photons
Definition at line 667 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
|
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::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.
| ptr | The bare pointer to the object that the event store should know about |
Definition at line 119 of file AsgTool.cxx.
|
private |
Definition at line 1147 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 1172 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
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.
| ptr | The bare pointer to the object that the event store should know about |
Definition at line 106 of file AsgTool.cxx.
|
inherited |
Get one of the tool's properties.
|
overridevirtual |
This will fill the 'triggers' argument with the names of the triggers relevant for the current run number, among those specified in the tool configuration.
Implements ITrigGlobalEfficiencyCorrectionTool.
Definition at line 959 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlineprivate |
Definition at line 271 of file TrigGlobalEfficiencyCorrectionTool.h.
|
inlineprivate |
Definition at line 275 of file TrigGlobalEfficiencyCorrectionTool.h.
|
inlineprivate |
Definition at line 257 of file TrigGlobalEfficiencyCorrectionTool.h.
|
inlineprivate |
Definition at line 261 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 1190 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 716 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 728 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 722 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 1158 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlineprotectedinherited |
Definition at line 60 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
inlineprotectedinherited |
Definition at line 59 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
overridevirtual |
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...
Copy the following variables from data as the latter is short-lived
Reimplemented from asg::AsgTool.
Definition at line 100 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
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.
|
overridevirtual |
Declare the interface that this class provides.
returns: whether this tool is affected by the given systematics
Implements CP::ISystematicsTool.
Definition at line 1216 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Parses the input string (comma-separated list) and returns a set of hashes Watch out: since a flat_set is returned, the order of the entries in the input list is not preserved, as hinted by the name of the function.
Definition at line 638 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Internal methods (I) – initialization of the tool.
|
private |
Create the hash list of legs allowed for each tag; check that a CP tool is available for each combination
Definition at line 562 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Initialize decorators Note: can't use listNonOrderedCSValues() as the order in which decorations are listed must be preserved
tag = decorator name (considered tagged if decorated value != 0)
tag = decorator name (without '?') + decorated value
find a tag of the form <name><integer suffix>
Check there's a suitable decorator for all tags associated to CP tools via ListOfTagsPerTool
ok, there's a direct match
Definition at line 451 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
tools have not been associated with legs so far so the key hash is only the tag
Definition at line 384 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
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:
This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.
Definition at line 101 of file AsgTool.cxx.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
private |
Definition at line 336 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Definition at line 225 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in AsgHelloTool, HI::HIPileupTool, JetBottomUpSoftDrop, JetConstituentsRetriever, JetDumper, JetFinder, JetFromPseudojet, JetModifiedMassDrop, JetPileupLabelingTool, JetPruner, JetPseudojetRetriever, JetReclusterer, JetReclusteringTool, JetRecTool, JetRecursiveSoftDrop, JetSoftDrop, JetSplitter, JetSubStructureMomentToolsBase, JetToolRunner, JetTrimmer, JetTruthLabelingTool, KtDeltaRTool, and LundVariablesTool.
Definition at line 131 of file AsgTool.cxx.
|
private |
Definition at line 201 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
| auto TrigGlobalEfficiencyCorrectionTool::rankTriggerLegs | ( | float | pt, |
| const Container & | legs ) -> CachedRanking |
need not only to sort, but also to verify consistency for all pairs of legs (in case of configuration issue) for that, use a O(n^2) algorithm and count for each leg the number of legs tighter than itself
future: might search recursively whether some order can be found via transitivity through an intermediate leg
Definition at line 1080 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
overridevirtual |
the list of all systematics this tool recommends to use
Implements CP::IReentrantSystematicsTool.
Definition at line 1227 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
private |
Definition at line 791 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
Internal methods (II) – core task.
Definition at line 772 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
static |
Definition at line 1206 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
inlinestatic |
Definition at line 78 of file TrigGlobalEfficiencyCorrectionTool.h.
|
inlinestatic |
Definition at line 85 of file TrigGlobalEfficiencyCorrectionTool.h.
|
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 >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlinestaticinherited |
To be used with the ListOfLegsPerTool property:
Definition at line 57 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
private |
tag = <name>+
Definition at line 804 of file TrigGlobalEfficiencyCorrectionTool.cxx.
|
private |
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
staticconstexprinherited |
Definition at line 68 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
staticconstexprinherited |
Definition at line 81 of file ITrigGlobalEfficiencyCorrectionTool.h.
|
friend |
Definition at line 301 of file TrigGlobalEfficiencyCorrectionTool.h.
|
friend |
Definition at line 300 of file TrigGlobalEfficiencyCorrectionTool.h.
|
friend |
Definition at line 299 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 170 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 193 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 177 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 178 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 179 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 187 of file TrigGlobalEfficiencyCorrectionTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 180 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 172 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 160 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 171 of file TrigGlobalEfficiencyCorrectionTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 168 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 184 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 183 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 186 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
deprecated
Definition at line 162 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 155 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 158 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 191 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
deprecated
Definition at line 161 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 175 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 164 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 163 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 174 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 173 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 192 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 188 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Properties:
Definition at line 147 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 149 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 154 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 151 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 153 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 159 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 169 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 156 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 157 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 166 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 181 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 165 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 176 of file TrigGlobalEfficiencyCorrectionTool.h.
|
private |
Definition at line 189 of file TrigGlobalEfficiencyCorrectionTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.