![]() |
ATLAS Offline Software
|
#include "MuonAnalysisInterfaces/IMuonEfficiencyScaleFactors.h"#include "MuonEfficiencyCorrections/MuonEfficiencyType.h"#include "MuonEfficiencyCorrections/EfficiencyScaleFactor.h"#include "MuonEfficiencyCorrections/EffiCollection.h"#include "AsgTools/ToolHandle.h"#include "AsgTools/AsgTool.h"#include "AsgDataHandles/ReadHandleKey.h"#include "xAODEventInfo/EventInfo.h"#include "ColumnarCore/ColumnarTool.h"#include "ColumnarCore/ColumnAccessor.h"#include "ColumnarCore/ObjectColumn.h"#include "ColumnarEventInfo/EventInfoHelpers.h"#include "ColumnarMuon/MuonDef.h"#include <string>#include <memory>#include <map>#include <unordered_map>Go to the source code of this file.
Functions | |
| namespace | ADD_CMODE (CP) |
| namespace ADD_CMODE | ( | CP | ) |
initialize the tool once all settings are in place!
Retrieve the Scale factor and decorate the muon
replica generation
returns: whether this tool is affected by the given systematis
returns: the list of all systematics this tool can be affected by
returns: the list of all systematics this tool recommends to use
Obtain the muon efficiency measured using the data
Obtain the muon efficiency measured using the MC
load the SF histos
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
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
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
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
Returns the scale-factor maps from a complementary scale-factor measurement using the J/Psi or Upsilon resonance
LRT muons have their own efficiency maps
If the pt of the muon is below that threshold the J/Psi or Upsilon map is used given that it's available.
Returns the type of the measurement to be carried out... E.g. Reco/TTVA/Iso
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
Returns the position of the collection in the syst set vector. If the collection is not part of this class -1 is returned
Returns the number of EffiCollections stored in this class
Returns a boolean whether the uncorrelation of systematics has been switched on
Returns the string telling the tool in which float AuxElement the information of the separation to the closest jet is stored
option to set if we want to use 1D or 2D isolation SFs
option to set if we want to use LRT muons
utility method to 'dress' a filename using the path resolver
the working point to operate on
This vector stores all scale-factor maps
Pointer to the current active map in terms of systematics
subfolder to load from the calibration db
threshold below which low-pt SF (i.e. from JPsi) should be used
Name of the decoration to catch up the close by jets
It turned out that the code spends a large time in the look up of the systematics. This map tries to mitigate this issue.
Turn on if using LRT objects
Definition at line 1 of file MuonEfficiencyScaleFactors.h.