ATLAS Offline Software
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 
20 #include <xAODMuon/MuonContainer.h>
21 
22 namespace 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
OutOfValidityHelper.h
CP::MuonEfficiencyScaleFactorAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: MuonEfficiencyScaleFactorAlg.h:56
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a ::StatusCode
Definition: OutOfValidityHelper.h:73
SysListHandle.h
CP::SysReadHandle< xAOD::MuonContainer >
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
SysReadHandle.h
CP::MuonEfficiencyScaleFactorAlg::m_efficiencyScaleFactorTool
ToolHandle< IMuonEfficiencyScaleFactors > m_efficiencyScaleFactorTool
the smearing tool
Definition: MuonEfficiencyScaleFactorAlg.h:38
AnaAlgorithm.h
IMuonEfficiencyScaleFactors.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::MuonEfficiencyScaleFactorAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: MuonEfficiencyScaleFactorAlg.h:61
CP::MuonEfficiencyScaleFactorAlg::m_mcEfficiencyDecoration
SysWriteDecorHandle< float > m_mcEfficiencyDecoration
the decoration for the muon mc efficiency
Definition: MuonEfficiencyScaleFactorAlg.h:70
SysReadSelectionHandle.h
CP::MuonEfficiencyScaleFactorAlg::m_eventInfoHandle
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the EventInfo collection we use
Definition: MuonEfficiencyScaleFactorAlg.h:51
EventInfo.h
MuonContainer.h
CP::MuonEfficiencyScaleFactorAlg::initialize
StatusCode initialize() override
Definition: MuonEfficiencyScaleFactorAlg.cxx:25
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::MuonEfficiencyScaleFactorAlg::m_muonHandle
SysReadHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
Definition: MuonEfficiencyScaleFactorAlg.h:46
CP::MuonEfficiencyScaleFactorAlg::m_scaleFactorDecoration
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the muon scale factor
Definition: MuonEfficiencyScaleFactorAlg.h:65
CP::MuonEfficiencyScaleFactorAlg::m_dataEfficiencyDecoration
SysWriteDecorHandle< float > m_dataEfficiencyDecoration
the decoration for the muon data efficiency
Definition: MuonEfficiencyScaleFactorAlg.h:75
CP::SysWriteDecorHandle< float >
CP::MuonEfficiencyScaleFactorAlg::execute
StatusCode execute() override
Definition: MuonEfficiencyScaleFactorAlg.cxx:50
CP::MuonEfficiencyScaleFactorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: MuonEfficiencyScaleFactorAlg.h:42
CP::MuonEfficiencyScaleFactorAlg
an algorithm for calling IMuonEfficiencyScaleFactorTool
Definition: MuonEfficiencyScaleFactorAlg.h:27