ATLAS Offline Software
PhotonEfficiencyCorrectionAlg.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 ELECTRON_ANALYSIS_ALGORITHMS__PHOTON_EFFICIENCY_SCALE_FACTOR_ALG_H
9 #define ELECTRON_ANALYSIS_ALGORITHMS__PHOTON_EFFICIENCY_SCALE_FACTOR_ALG_H
10 
19 
20 namespace CP
21 {
23 
25  {
27  public:
29  StatusCode initialize () override;
30  StatusCode execute () override;
31 
32 
33 
35  private:
36  ToolHandle<IAsgPhotonEfficiencyCorrectionTool> m_efficiencyCorrectionTool {this, "efficiencyCorrectionTool", "AsgPhotonEfficiencyCorrectionTool", "the efficiency correction tool we apply"};
37 
39  private:
41 
43  private:
45  this, "photons", "Photons", "the photon collection to run on"};
46 
48  private:
50  this, "preselection", "", "the preselection to apply"};
51 
53  private:
55 
57  private:
59  this, "scaleFactorDecoration", "", "the decoration for the photon efficiency scale factor"};
60  };
61 }
62 
63 #endif
OutOfValidityHelper.h
CP::PhotonEfficiencyCorrectionAlg
an algorithm for calling IPhotonEfficiencyCorrectionTool
Definition: PhotonEfficiencyCorrectionAlg.h:25
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
CP::PhotonEfficiencyCorrectionAlg::execute
StatusCode execute() override
Definition: PhotonEfficiencyCorrectionAlg.cxx:45
SysListHandle.h
CP::PhotonEfficiencyCorrectionAlg::initialize
StatusCode initialize() override
Definition: PhotonEfficiencyCorrectionAlg.cxx:23
CP::PhotonEfficiencyCorrectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: PhotonEfficiencyCorrectionAlg.h:49
IAsgPhotonEfficiencyCorrectionTool.h
CP::SysReadHandle< xAOD::PhotonContainer >
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
AnaAlgorithm.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::PhotonEfficiencyCorrectionAlg::m_scaleFactorDecoration
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the photon scale factor
Definition: PhotonEfficiencyCorrectionAlg.h:58
CP::PhotonEfficiencyCorrectionAlg::m_efficiencyCorrectionTool
ToolHandle< IAsgPhotonEfficiencyCorrectionTool > m_efficiencyCorrectionTool
the smearing tool
Definition: PhotonEfficiencyCorrectionAlg.h:36
CP::PhotonEfficiencyCorrectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: PhotonEfficiencyCorrectionAlg.h:40
SysReadSelectionHandle.h
CP::PhotonEfficiencyCorrectionAlg::m_photonHandle
SysReadHandle< xAOD::PhotonContainer > m_photonHandle
the photon collection we run on
Definition: PhotonEfficiencyCorrectionAlg.h:44
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysWriteDecorHandle< float >
CP::PhotonEfficiencyCorrectionAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: PhotonEfficiencyCorrectionAlg.h:54
PhotonContainer.h