ATLAS Offline Software
Loading...
Searching...
No Matches
MuonTriggerEfficiencyScaleFactorAlg.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_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:
32 StatusCode initialize () override;
33 StatusCode execute () override;
34
35
36
38 private:
39 ToolHandle<IMuonTriggerScaleFactors> m_efficiencyScaleFactorTool {this, "efficiencyScaleFactorTool", "CP::MuonTriggerScaleFactors", "the trigger efficiency scale factor tool we apply"};
40
42 private:
44
46 private:
48 this, "muons", "Muons", "the muon collection to run on"};
49
51 private:
53 this, "eventInfo", "EventInfo", "the EventInfo we use"};
54
56 private:
58 this, "preselection", "", "the preselection to apply"};
59
61 private:
63
65 private:
66 Gaudi::Property<std::string> m_trigger {this, "trigger", "", "trigger or trigger leg to calculate efficiency for"};
67
69 private:
70 Gaudi::Property<uint32_t> m_minRunNumber {this, "minRunNumber", 0, "minimum run number for the trigger or trigger leg to calculate efficiency for"};
71
73 private:
74 Gaudi::Property<uint32_t> m_maxRunNumber {this, "maxRunNumber", 999999, "maximum run number for the trigger or trigger leg to calculate efficiency for"};
75
77 private:
79 this, "scaleFactorDecoration", "", "the decoration for the muon efficiency scale factor"};
80
82 private:
84 this, "mcEfficiencyDecoration", "", "the decoration for the muon MC efficiency"};
85
87 private:
89 this, "dataEfficiencyDecoration", "", "the decoration for the muon data efficiency"};
90 };
91}
92
93#endif
an algorithm for calling IMuonTriggerScaleFactors
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the EventInfo collection we use
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
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.