ATLAS Offline Software
|
#include <MuonEfficiencyScaleFactors.h>
Public Member Functions | |
MuonEfficiencyScaleFactors (const std::string &name) | |
virtual | ~MuonEfficiencyScaleFactors ()=default |
virtual StatusCode | initialize () |
initialize the tool once all settings are in place! More... | |
virtual CorrectionCode | getEfficiencyScaleFactor (const xAOD::Muon &mu, float &sf, const xAOD::EventInfo *info=0) const |
Retrieve the Scale factor and decorate the muon. More... | |
virtual CorrectionCode | applyEfficiencyScaleFactor (const xAOD::Muon &mu, const xAOD::EventInfo *info=0) const |
decorate the muon with scale factor information More... | |
virtual CorrectionCode | getEfficiencyScaleFactorReplicas (const xAOD::Muon &mu, std::vector< float > &sf_err, const xAOD::EventInfo *info=0) const |
replica generation More... | |
virtual CorrectionCode | applyEfficiencyScaleFactorReplicas (const xAOD::Muon &mu, int nreplicas=50, const xAOD::EventInfo *info=0) const |
decorate the muon with a set of SF replica weights. More... | |
virtual bool | isAffectedBySystematic (const SystematicVariation &systematic) const |
returns: whether this tool is affected by the given systematis More... | |
virtual SystematicSet | affectingSystematics () const |
returns: the list of all systematics this tool can be affected by More... | |
virtual SystematicSet | recommendedSystematics () const |
returns: the list of all systematics this tool recommends to use More... | |
virtual StatusCode | applySystematicVariation (const SystematicSet &systConfig) |
effects: configure this tool for the given list of systematic variations. More... | |
virtual CorrectionCode | getDataEfficiency (const xAOD::Muon &mu, float &eff, const xAOD::EventInfo *info=0) const |
Obtain the muon efficiency measured using the data. More... | |
virtual CorrectionCode | applyDataEfficiency (const xAOD::Muon &mu, const xAOD::EventInfo *info=0) const |
decorate a muon with the efficiency information More... | |
virtual CorrectionCode | getDataEfficiencyReplicas (const xAOD::Muon &mu, std::vector< float > &sf_err, const xAOD::EventInfo *info=0) const |
virtual CorrectionCode | applyDataEfficiencyReplicas (const xAOD::Muon &mu, int nreplicas=50, const xAOD::EventInfo *info=0) const |
virtual CorrectionCode | getMCEfficiency (const xAOD::Muon &mu, float &eff, const xAOD::EventInfo *info=0) const |
Obtain the muon efficiency measured using the MC. More... | |
virtual CorrectionCode | applyMCEfficiency (const xAOD::Muon &mu, const xAOD::EventInfo *info=0) const |
virtual CorrectionCode | getMCEfficiencyReplicas (const xAOD::Muon &mu, std::vector< float > &sf_err, const xAOD::EventInfo *info=0) const |
virtual CorrectionCode | applyMCEfficiencyReplicas (const xAOD::Muon &mu, int nreplicas=50, const xAOD::EventInfo *info=0) const |
virtual int | getUnCorrelatedSystBin (const xAOD::Muon &mu) const |
virtual std::string | getUncorrelatedSysBinName (unsigned int Bin) const |
virtual std::string | getUncorrelatedSysBinName (const SystematicSet &systConfig) const |
std::string | filename_Central () const |
The following methods are meant to propagate information from the central tool to the subtool managing the individual scale-factor maps to keep their constructors small in number of arguments. More... | |
std::string | filename_Calo () const |
Reconstruction scale-factors have a dedicated map for calo-tag muons around |\eta|<0.1. More... | |
std::string | filename_HighEta () const |
High-eta reconstruction scale-factors are not obtained by the means of are not obtained by the means of tag & probe, but rather by building the double ratio. More... | |
std::string | filename_LowPt () const |
Returns the scale-factor maps from a complementary scale-factor measurement using the J/Psi or Upsilon resonance. More... | |
std::string | filename_LowPtCalo () const |
std::string | filename_LRTCentral () const |
LRT muons have their own efficiency maps. More... | |
std::string | filename_LRTLowPt () const |
float | lowPtTransition () const |
If the pt of the muon is below that threshold the J/Psi or Upsilon map is used given that it's available. More... | |
CP::MuonEfficiencyType | measurement () const |
Returns the type of the measurement to be carried out... E.g. Reco/TTVA/Iso. More... | |
std::string | sf_decoration () const |
The apply<Blah> methods decorate their result directly to the muon. More... | |
std::string | data_effi_decoration () const |
std::string | mc_effi_decoration () const |
std::string | sf_replica_decoration () const |
std::string | data_effi_replica_decoration () const |
std::string | mc_effi_replica_deocration () const |
size_t | getPosition (const EffiCollection *coll) const |
Returns the position of the collection in the syst set vector. More... | |
size_t | getNCollections () const |
Returns the number of EffiCollections stored in this class. More... | |
bool | uncorrelate_sys () const |
Returns a boolean whether the uncorrelation of systematics has been switched on. More... | |
const std::string & | close_by_jet_decoration () const |
Returns the string telling the tool in which float AuxElement the information of the separation to the closest jet is stored. More... | |
bool | use_2D_iso_corrections () const |
option to set if we want to use 1D or 2D isolation SFs More... | |
bool | use_lrt () const |
option to set if we want to use LRT muons 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 |
Protected Member Functions | |
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
remove all handles from I/O resolution More... | |
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. More... | |
Private Types | |
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
unsigned int | getRandomRunNumber (const xAOD::EventInfo *info) const |
StatusCode | LoadInputs () |
load the SF histos More... | |
std::map< std::string, unsigned int > | lookUpSystematics () |
Scale-factor files since Moriond2019 contain the breakdown of systematics into their individual components. More... | |
std::string | resolve_file_location (const std::string &filename) const |
utility method to 'dress' a filename using the path resolver More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
specialization for handling Gaudi::Property<SG::VarHandleKey> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
specialization for handling Gaudi::Property<SG::VarHandleBase> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More... | |
Private Attributes | |
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfo {this, "EventInfoContName", "EventInfo", "event info key"} |
std::string | m_wp |
the working point to operate on More... | |
std::vector< std::unique_ptr< EffiCollection > > | m_sf_sets |
This vector stores all scale-factor maps. More... | |
EffiCollection * | m_current_sf |
Pointer to the current active map in terms of systematics. More... | |
std::string | m_custom_dir |
std::string | m_custom_file_Combined |
std::string | m_custom_file_Calo |
std::string | m_custom_file_HighEta |
std::string | m_custom_file_LowPt |
std::string | m_custom_file_LowPtCalo |
std::string | m_custom_file_LRTCombined |
std::string | m_custom_file_LRTLowPt |
std::string | m_efficiency_decoration_name_data |
std::string | m_efficiency_decoration_name_mc |
std::string | m_sf_decoration_name |
std::string | m_calibration_version |
subfolder to load from the calibration db More... | |
float | m_lowpt_threshold |
threshold below which low-pt SF (i.e. from JPsi) should be used More... | |
std::string | m_iso_jet_dR |
Name of the decoration to catch up the close by jets. More... | |
bool | m_use2DIsoCorr |
CP::SystematicSet | m_affectingSys |
std::unordered_map< CP::SystematicSet, EffiCollection * > | m_filtered_sys_sets |
It turned out that the code spends a large time in the look up of the systematics. More... | |
bool | m_init |
bool | m_seperateSystBins |
bool | m_breakDownSyst |
bool | m_applyKineDepSys |
bool | m_useLRT |
Turn on if using LRT objects. More... | |
CP::MuonEfficiencyType | m_Type |
StoreGateSvc_t | m_evtStore |
Pointer to StoreGate (event store by default) More... | |
StoreGateSvc_t | m_detStore |
Pointer to StoreGate (detector store by default) More... | |
std::vector< SG::VarHandleKeyArray * > | m_vhka |
bool | m_varHandleArraysDeclared |
Definition at line 23 of file MuonEfficiencyScaleFactors.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
CP::MuonEfficiencyScaleFactors::MuonEfficiencyScaleFactors | ( | const std::string & | name | ) |
Name of the decorator carrying the information the distance to the next what ever jet (AntiKt4EMTopo,....)
Turn on if using LRT muons
Definition at line 20 of file MuonEfficiencyScaleFactors.cxx.
|
virtualdefault |
|
virtual |
returns: the list of all systematics this tool can be affected by
Implements CP::IReentrantSystematicsTool.
Definition at line 551 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
decorate a muon with the efficiency information
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 280 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Definition at line 296 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
decorate the muon with scale factor information
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 247 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
decorate the muon with a set of SF replica weights.
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 264 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 312 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Definition at line 328 of file MuonEfficiencyScaleFactors.cxx.
|
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 572 of file MuonEfficiencyScaleFactors.cxx.
const std::string & CP::MuonEfficiencyScaleFactors::close_by_jet_decoration | ( | ) | const |
Returns the string telling the tool in which float AuxElement the information of the separation to the closest jet is stored.
Definition at line 83 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::data_effi_decoration | ( | ) | const |
Definition at line 99 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::data_effi_replica_decoration | ( | ) | const |
Definition at line 108 of file MuonEfficiencyScaleFactors.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
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.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 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
std::string CP::MuonEfficiencyScaleFactors::filename_Calo | ( | ) | const |
Reconstruction scale-factors have a dedicated map for calo-tag muons around |\eta|<0.1.
If the scale-factor is isolation/TTVA then the central file name is returned
Definition at line 378 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::filename_Central | ( | ) | const |
The following methods are meant to propagate information from the central tool to the subtool managing the individual scale-factor maps to keep their constructors small in number of arguments.
The users do not have to call them. Construct the name of the input files from the configuration Make these methods public such that they can be used by the scale-factor managing EffiCollection class without piping All arguments to the constructor again
Definition at line 347 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::filename_HighEta | ( | ) | const |
High-eta reconstruction scale-factors are not obtained by the means of are not obtained by the means of tag & probe, but rather by building the double ratio.
The map is delivered in a dedicated file whose path is returned here
Definition at line 385 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::filename_LowPt | ( | ) | const |
Returns the scale-factor maps from a complementary scale-factor measurement using the J/Psi or Upsilon resonance.
Definition at line 392 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::filename_LowPtCalo | ( | ) | const |
Definition at line 408 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::filename_LRTCentral | ( | ) | const |
LRT muons have their own efficiency maps.
Definition at line 361 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::filename_LRTLowPt | ( | ) | const |
Definition at line 400 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Obtain the muon efficiency measured using the data.
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 272 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Definition at line 288 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Retrieve the Scale factor and decorate the muon.
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 239 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
replica generation
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 256 of file MuonEfficiencyScaleFactors.cxx.
|
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.
|
virtual |
Obtain the muon efficiency measured using the MC.
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 304 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Definition at line 320 of file MuonEfficiencyScaleFactors.cxx.
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.
size_t CP::MuonEfficiencyScaleFactors::getNCollections | ( | ) | const |
Returns the number of EffiCollections stored in this class.
Definition at line 122 of file MuonEfficiencyScaleFactors.cxx.
size_t CP::MuonEfficiencyScaleFactors::getPosition | ( | const EffiCollection * | coll | ) | const |
Returns the position of the collection in the syst set vector.
If the collection is not part of this class -1 is returned
Definition at line 114 of file MuonEfficiencyScaleFactors.cxx.
Get one of the tool's properties.
|
private |
Definition at line 217 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 635 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 620 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
Implements CP::IMuonEfficiencyScaleFactors.
Definition at line 628 of file MuonEfficiencyScaleFactors.cxx.
|
virtual |
initialize the tool once all settings are in place!
Overwrite the property in case of the bad muon veto
for isolation efficiencies, we don't use a low pt component for now - set the low pt threshold to -1 same holds for TTVA SF, and for the HighPt WP
Reimplemented from asg::AsgTool.
Definition at line 128 of file MuonEfficiencyScaleFactors.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.
|
virtual |
returns: whether this tool is affected by the given systematis
Implements CP::ISystematicsTool.
Definition at line 547 of file MuonEfficiencyScaleFactors.cxx.
|
private |
load the SF histos
We've at least the stat and sys errors and nothing went wrong during loading the files
Push back the nominal options
Now we can fill the map with the individual sets
Filter the bits which are not assigning the files
J-psi stream... Kick all bits from the Z
...and the Z stream. Kick all bits from the JPsi
Definition at line 418 of file MuonEfficiencyScaleFactors.cxx.
|
private |
Scale-factor files since Moriond2019 contain the breakdown of systematics into their individual components.
This method loads all systematics and looks their systematics up and returns them in a map together with a bitmask which files are affected by the systematic
All file_name methods return the central filename if there is no proper map for that component use a set to sort out all non-defined maps
The bad muon veto measurement only provides a combined systematic uncertainty of the bad-muon veto. No stat error needed in this case
If the systematics shall be split into bins
At the moment the systematic break down is not part of all files ignore if there is no break down
Activate the pt-dependent systematic for the old calibration files by hand
Read out the systematic tree from the scale-factor files
Definition at line 462 of file MuonEfficiencyScaleFactors.cxx.
float CP::MuonEfficiencyScaleFactors::lowPtTransition | ( | ) | const |
If the pt of the muon is below that threshold the J/Psi or Upsilon map is used given that it's available.
Definition at line 89 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::mc_effi_decoration | ( | ) | const |
Definition at line 102 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::mc_effi_replica_deocration | ( | ) | const |
Definition at line 111 of file MuonEfficiencyScaleFactors.cxx.
CP::MuonEfficiencyType CP::MuonEfficiencyScaleFactors::measurement | ( | ) | const |
Returns the type of the measurement to be carried out... E.g. Reco/TTVA/Iso.
Definition at line 93 of file MuonEfficiencyScaleFactors.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 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.
|
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.
|
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.
|
virtual |
returns: the list of all systematics this tool recommends to use
Implements CP::IReentrantSystematicsTool.
Definition at line 565 of file MuonEfficiencyScaleFactors.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 |
utility method to 'dress' a filename using the path resolver
Definition at line 337 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::sf_decoration | ( | ) | const |
The apply<Blah> methods decorate their result directly to the muon.
The name of the decorators can be set by the users themselves using several properties. To avoid that systmatics overwrite each other and the nominal the final maps are decorating the muon following the logic <decoration>__<syst_name> The following methods propagate the basic decoration names to the maps
Definition at line 96 of file MuonEfficiencyScaleFactors.cxx.
std::string CP::MuonEfficiencyScaleFactors::sf_replica_decoration | ( | ) | const |
Definition at line 105 of file MuonEfficiencyScaleFactors.cxx.
|
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 DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
bool CP::MuonEfficiencyScaleFactors::uncorrelate_sys | ( | ) | const |
Returns a boolean whether the uncorrelation of systematics has been switched on.
Definition at line 92 of file MuonEfficiencyScaleFactors.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
bool CP::MuonEfficiencyScaleFactors::use_2D_iso_corrections | ( | ) | const |
option to set if we want to use 1D or 2D isolation SFs
Definition at line 86 of file MuonEfficiencyScaleFactors.cxx.
bool CP::MuonEfficiencyScaleFactors::use_lrt | ( | ) | const |
option to set if we want to use LRT muons
Definition at line 125 of file MuonEfficiencyScaleFactors.cxx.
|
private |
Definition at line 192 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 200 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 199 of file MuonEfficiencyScaleFactors.h.
|
private |
subfolder to load from the calibration db
Definition at line 184 of file MuonEfficiencyScaleFactors.h.
|
private |
Pointer to the current active map in terms of systematics.
Definition at line 166 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 168 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 170 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 169 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 171 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 172 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 173 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 174 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 175 of file MuonEfficiencyScaleFactors.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 179 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 180 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 77 of file MuonEfficiencyScaleFactors.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
It turned out that the code spends a large time in the look up of the systematics.
This map tries to mitigate this issue.
Definition at line 195 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 197 of file MuonEfficiencyScaleFactors.h.
|
private |
Name of the decoration to catch up the close by jets.
Definition at line 190 of file MuonEfficiencyScaleFactors.h.
|
private |
threshold below which low-pt SF (i.e. from JPsi) should be used
Definition at line 188 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 198 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 181 of file MuonEfficiencyScaleFactors.h.
|
private |
This vector stores all scale-factor maps.
Definition at line 163 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 204 of file MuonEfficiencyScaleFactors.h.
|
private |
Definition at line 191 of file MuonEfficiencyScaleFactors.h.
|
private |
Turn on if using LRT objects.
Definition at line 202 of file MuonEfficiencyScaleFactors.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
the working point to operate on
Definition at line 160 of file MuonEfficiencyScaleFactors.h.