ATLAS Offline Software
EgammaCalibrationAndSmearingAlg.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 
9 #ifndef EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_CALIBRATION_AND_SMEARING_ALG_H
10 #define EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_CALIBRATION_AND_SMEARING_ALG_H
11 
20 
21 namespace CP
22 {
25 
27  {
29  public:
31  StatusCode initialize () override;
32  StatusCode execute () override;
33 
34 
35 
37  private:
38  ToolHandle<CP::IEgammaCalibrationAndSmearingTool> m_calibrationAndSmearingTool {this, "calibrationAndSmearingTool", "EgammaCalibrationAndSmearingTool", "the smearing tool we apply"};
39 
49  private:
50  Gaudi::Property<bool> m_noToolSystematics {
51  this, "noToolSystematics", false, "whether to ignore all tool systematics"};
52 
54  private:
55  Gaudi::Property<bool> m_skipNominal {
56  this, "skipNominal", false, "whether to skip the nominal correction (for PHYSLITE)"};
57 
59  private:
61 
63  private:
65  this, "egammas", "Electrons", "the egamma collection to run on"};
66 
68  private:
70  this, "preselection", "", "the preselection to apply"};
71 
73  private:
75  };
76 }
77 
78 #endif
OutOfValidityHelper.h
CP::EgammaCalibrationAndSmearingAlg::m_egammaHandle
SysCopyHandle< xAOD::EgammaContainer > m_egammaHandle
the egamma collection we run on
Definition: EgammaCalibrationAndSmearingAlg.h:64
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
CopyHelpers.h
SysListHandle.h
SysCopyHandle.h
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
IEgammaCalibrationAndSmearingTool.h
CP::EgammaCalibrationAndSmearingAlg::initialize
StatusCode initialize() override
Definition: EgammaCalibrationAndSmearingAlg.cxx:23
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::EgammaCalibrationAndSmearingAlg::m_noToolSystematics
Gaudi::Property< bool > m_noToolSystematics
whether to ignore all tool systematics
Definition: EgammaCalibrationAndSmearingAlg.h:50
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::EgammaCalibrationAndSmearingAlg::m_skipNominal
Gaudi::Property< bool > m_skipNominal
whether to skip the nominal correction (for PHYSLITE)
Definition: EgammaCalibrationAndSmearingAlg.h:55
CP::EgammaCalibrationAndSmearingAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: EgammaCalibrationAndSmearingAlg.h:74
SysReadSelectionHandle.h
CP::EgammaCalibrationAndSmearingAlg
an algorithm for calling CP::IEgammaCalibrationAndSmearingTool
Definition: EgammaCalibrationAndSmearingAlg.h:27
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62
CP::EgammaCalibrationAndSmearingAlg::m_calibrationAndSmearingTool
ToolHandle< CP::IEgammaCalibrationAndSmearingTool > m_calibrationAndSmearingTool
the smearing tool
Definition: EgammaCalibrationAndSmearingAlg.h:38
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::EgammaCalibrationAndSmearingAlg::execute
StatusCode execute() override
Definition: EgammaCalibrationAndSmearingAlg.cxx:38
CP::EgammaCalibrationAndSmearingAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: EgammaCalibrationAndSmearingAlg.h:60
CP::EgammaCalibrationAndSmearingAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: EgammaCalibrationAndSmearingAlg.h:69