ATLAS Offline Software
Loading...
Searching...
No Matches
MuonTriggerEfficiencyScaleFactorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef MUON_ANALYSIS_ALGORITHMS__MUON_TRIGGER_EFFICIENCY_SCALE_FACTOR_ALG_H
9#define MUON_ANALYSIS_ALGORITHMS__MUON_TRIGGER_EFFICIENCY_SCALE_FACTOR_ALG_H
10
22
23namespace CP
24{
26
28 {
30 public:
31 MuonTriggerEfficiencyScaleFactorAlg (const std::string& name,
32 ISvcLocator* svcLoc = nullptr);
33 StatusCode initialize () override;
34 StatusCode execute () override;
35
36
37
39 private:
40 ToolHandle<IMuonTriggerScaleFactors> m_efficiencyScaleFactorTool;
41
43 private:
45
47 private:
49 this, "muons", "Muons", "the muon collection to run on"};
50
52 private:
54 this, "eventInfo", "EventInfo", "the EventInfo we use"};
55
57 private:
59 this, "preselection", "", "the preselection to apply"};
60
62 private:
64
66 private:
67 Gaudi::Property<std::string> m_trigger {this, "trigger", "", "trigger or trigger leg to calculate efficiency for"};
68
70 private:
71 Gaudi::Property<uint32_t> m_minRunNumber {this, "minRunNumber", 0, "minimum run number for the trigger or trigger leg to calculate efficiency for"};
72
74 private:
75 Gaudi::Property<uint32_t> m_maxRunNumber {this, "maxRunNumber", 999999, "maximum run number for the trigger or trigger leg to calculate efficiency for"};
76
78 private:
80 this, "scaleFactorDecoration", "", "the decoration for the muon efficiency scale factor"};
81
83 private:
85 this, "mcEfficiencyDecoration", "", "the decoration for the muon MC efficiency"};
86
88 private:
90 this, "dataEfficiencyDecoration", "", "the decoration for the muon data efficiency"};
91 };
92}
93
94#endif
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the EventInfo collection we use
MuonTriggerEfficiencyScaleFactorAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
the standard constructor
Gaudi::Property< std::string > m_trigger
trigger to run efficiency for
SysListHandle m_systematicsList
the systematics list we run
Gaudi::Property< uint32_t > m_minRunNumber
minimum run number this trigger is valid for
SysWriteDecorHandle< float > m_dataEfficiencyDecoration
the decoration for the muon data efficiency
Gaudi::Property< uint32_t > m_maxRunNumber
maximum run number this trigger is valid for
ToolHandle< IMuonTriggerScaleFactors > m_efficiencyScaleFactorTool
the smearing tool
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the muon scale factor
SysReadHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
SysWriteDecorHandle< float > m_mcEfficiencyDecoration
the decoration for the muon mc efficiency
SysReadSelectionHandle m_preselection
the preselection we apply to our input
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
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
Select isolated Photons, Electrons and Muons.