ATLAS Offline Software
PhotonShowerShapeFudgeAlg.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__ELECTRON_PHOTON_SHOWER_SHAPE_FUDGE_ALG_H
10 #define EGAMMA_ANALYSIS_ALGORITHMS__ELECTRON_PHOTON_SHOWER_SHAPE_FUDGE_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<IElectronPhotonShowerShapeFudgeTool> m_showerShapeFudgeTool {this, "showerShapeFudgeTool", "ElectronPhotonShowerShapeFudgeTool", "the smearing tool we apply"};
39 
41  private:
43 
45  private:
47  this, "photons", "Photons", "the photon collection to run on"};
48 
50  private:
52  this, "preselection", "", "the preselection to apply"};
53 
55  private:
57  };
58 }
59 
60 #endif
OutOfValidityHelper.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
IElectronPhotonShowerShapeFudgeTool.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::PhotonShowerShapeFudgeAlg::execute
StatusCode execute() override
Definition: PhotonShowerShapeFudgeAlg.cxx:36
CP::PhotonShowerShapeFudgeAlg::initialize
StatusCode initialize() override
Definition: PhotonShowerShapeFudgeAlg.cxx:23
CP::PhotonShowerShapeFudgeAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: PhotonShowerShapeFudgeAlg.h:51
SysReadSelectionHandle.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::PhotonShowerShapeFudgeAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: PhotonShowerShapeFudgeAlg.h:42
CP::PhotonShowerShapeFudgeAlg::m_photonHandle
SysCopyHandle< xAOD::PhotonContainer > m_photonHandle
the photon collection we run on
Definition: PhotonShowerShapeFudgeAlg.h:46
CP::PhotonShowerShapeFudgeAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: PhotonShowerShapeFudgeAlg.h:56
CP::PhotonShowerShapeFudgeAlg
an algorithm for calling IElectronPhotonShowerShapeFudgeTool for photons
Definition: PhotonShowerShapeFudgeAlg.h:27
CP::PhotonShowerShapeFudgeAlg::m_showerShapeFudgeTool
ToolHandle< IElectronPhotonShowerShapeFudgeTool > m_showerShapeFudgeTool
the smearing tool
Definition: PhotonShowerShapeFudgeAlg.h:38
PhotonContainer.h