![]() |
ATLAS Offline Software
|
#include <MuonEfficiencyCorrections/MuonEfficiencyType.h>#include <MuonEfficiencyCorrections/EfficiencyScaleFactor.h>#include <xAODMuon/Muon.h>#include <map>#include <string>#include <iostream>#include <ColumnarCore/ColumnAccessor.h>#include <ColumnarCore/ColumnarTool.h>#include <ColumnarCore/ObjectColumn.h>#include <ColumnarMuon/MuonDef.h>Go to the source code of this file.
Namespaces | |
| namespace | CP |
| Select isolated Photons, Electrons and Muons. | |
Functions | |
| namespace | ADD_CMODE (CP) |
| namespace ADD_CMODE | ( | CP | ) |
The EffiCollection class handles the 5 different scale-factor maps binned in time. Each muon is piped to the correct map based whether it's a calo-tag muon, belongs to the high-eta region or has low-pt. There exists one instance of the EffiCollection foreach systematic variation and nominal. Scale-factor maps which are not affected by a systematic, especially in the case of common vs. low-pt, are taken from the Nominal maps.
Constructor with nominal as fallback..
return the correct SF type to provide, depending on eta and the author
The five different scale-factor maps
Bits 6-9 are already reserved for the systematic enum below
Distinguish these two because the systematics are named with an extra LOWPT
a consistency check of the scale-factor maps. All scale-factor maps must be present and there must no overlapping periods to pass this test.
Get the number of all bins in the scale-factor maps including the overflow & underflow bins
If systematic decorrelation is activated then the user needs to loop manually over the syst bins. This method activates the i-th bin to be active. For the remaining bins the nominal scale-factor is returned instead.
Checks whether the i-th bin belongs to the low-pt map...
Checks whether the i-th bin belongs to the forward map
Returns the global bin name conststucted from the axis titles and the bin borders
Returns the bin number from which the scale-factor of the muon is going to be retrieved...
Returns the systematic set affecting this collection.
Returns whether the given set has variations affecting this Collection
Method to retrieve a container from the class ordered by a collection type This method is mainly used to propagate the nominal maps to the variations as fallback maps if no variation has been defined in this situation
Make the collection container shared ptr to allow that a systematic EffiCollection can use the same container as the nominal one if the current systematic has no effect on that particular container....
The systematic set is returned back to the MuonEfficiencyScaleFactors instance to register The known systematics to the global service
The collection container manages the time binning of a particular scale-factor map. For a given runNumber, it pipes the right map to the upstream tools.
Nominal constructor... Only needs to know about it's type and the file to load
Retrieve the scale-factor map belonging to that particular run of data-taking
Checks if the global bin number belongs to this map
Consistency check of all scale-factor maps managed by the container instance
Returns MUON_EFF_<sysname()>
Activate this bin to run in the uncorrelated systematic mode
Sets the global offset to align the order in the map into a global numbering scheme
Number of bins of the map itself
Number of overflow bins in the map
Check whether the bin is overflow or not
Global offset of the bin numbers
Name of the i-th bin
Returns the global bin number corresponding to the muon kinematics. In case of failures -1 is returned
File type of the map
Offset to translate between the bin-numbers in the bin numbers of each file against the global bin-number
Definition at line 1 of file EffiCollection.h.