ATLAS Offline Software
MuonCalibrationAndSmearingAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 #ifndef MUON_ANALYSIS_ALGORITHMS__MUON_CALIBRATION_AND_SMEARING_ALG_H
10 #define MUON_ANALYSIS_ALGORITHMS__MUON_CALIBRATION_AND_SMEARING_ALG_H
11 
19 #include <xAODMuon/MuonContainer.h>
20 
21 namespace CP
22 {
24 
26  {
28  public:
30  StatusCode initialize () override;
31  StatusCode execute () override;
32 
33 
34 
36  private:
37  ToolHandle<IMuonCalibrationAndSmearingTool> m_calibrationAndSmearingTool {this, "calibrationAndSmearingTool", "CP::MuonCalibrationAndSmearingTool", "the calibration and smearing tool we apply"};
38 
40  private:
41  Gaudi::Property<bool> m_skipNominal {
42  this, "skipNominal", false, "whether to skip the nominal correction (for PHYSLITE)"};
43 
45  private:
47 
49  private:
51  this, "muons", "Muons", "the muon collection to run on"};
52 
54  private:
56  this, "preselection", "", "the preselection to apply"};
57 
59  private:
61  };
62 }
63 
64 #endif
CP::MuonCalibrationAndSmearingAlg::m_skipNominal
Gaudi::Property< bool > m_skipNominal
whether to skip the nominal correction (for PHYSLITE)
Definition: MuonCalibrationAndSmearingAlg.h:41
OutOfValidityHelper.h
CP::MuonCalibrationAndSmearingAlg::execute
StatusCode execute() override
Definition: MuonCalibrationAndSmearingAlg.cxx:39
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a ::StatusCode
Definition: OutOfValidityHelper.h:73
SysListHandle.h
CP::MuonCalibrationAndSmearingAlg::m_muonHandle
SysCopyHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
Definition: MuonCalibrationAndSmearingAlg.h:50
SysCopyHandle.h
CP::MuonCalibrationAndSmearingAlg
an algorithm for calling IMuonCalibrationAndSmearingTool
Definition: MuonCalibrationAndSmearingAlg.h:26
CP::MuonCalibrationAndSmearingAlg::m_calibrationAndSmearingTool
ToolHandle< IMuonCalibrationAndSmearingTool > m_calibrationAndSmearingTool
the smearing tool
Definition: MuonCalibrationAndSmearingAlg.h:37
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
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::MuonCalibrationAndSmearingAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: MuonCalibrationAndSmearingAlg.h:60
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::MuonCalibrationAndSmearingAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: MuonCalibrationAndSmearingAlg.h:55
SysReadSelectionHandle.h
CP::MuonCalibrationAndSmearingAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: MuonCalibrationAndSmearingAlg.h:46
IMuonCalibrationAndSmearingTool.h
MuonContainer.h
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::MuonCalibrationAndSmearingAlg::initialize
StatusCode initialize() override
Definition: MuonCalibrationAndSmearingAlg.cxx:25