ATLAS Offline Software
Loading...
Searching...
No Matches
MuonEfficiencyScaleFactorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef MUON_ANALYSIS_ALGORITHMS__MUON_EFFICIENCY_SCALE_FACTOR_ALG_H
9#define MUON_ANALYSIS_ALGORITHMS__MUON_EFFICIENCY_SCALE_FACTOR_ALG_H
10
21
22namespace CP
23{
25
27 {
29 public:
31 StatusCode initialize () override;
32 StatusCode execute () override;
33
34
35
37 private:
38 ToolHandle<IMuonEfficiencyScaleFactors> m_efficiencyScaleFactorTool {this, "efficiencyScaleFactorTool", "CP::MuonTriggerScaleFactors", "the trigger efficiency scale factor tool we apply"};
39
41 private:
43
45 private:
47 this, "muons", "Muons", "the muon collection to run on"};
48
50 private:
52 this, "eventInfo", "EventInfo", "the EventInfo we use"};
53
55 private:
57 this, "preselection", "", "the preselection to apply"};
58
60 private:
62
64 private:
66 this, "scaleFactorDecoration", "", "the decoration for the muon efficiency scale factor"};
67
69 private:
71 this, "mcEfficiencyDecoration", "", "the decoration for the muon MC efficiency"};
72
74 private:
76 this, "dataEfficiencyDecoration", "", "the decoration for the muon data efficiency"};
77 };
78}
79
80#endif
an algorithm for calling IMuonEfficiencyScaleFactorTool
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysListHandle m_systematicsList
the systematics list we run
ToolHandle< IMuonEfficiencyScaleFactors > m_efficiencyScaleFactorTool
the smearing tool
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the muon scale factor
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
SysWriteDecorHandle< float > m_dataEfficiencyDecoration
the decoration for the muon data efficiency
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the EventInfo collection we use
SysReadHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
SysWriteDecorHandle< float > m_mcEfficiencyDecoration
the decoration for the muon mc efficiency
a helper to translate a CP::CorrectionCode into a StatusCode
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.