ATLAS Offline Software
PhotonOriginCorrectionAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef EGAMMA_ANALYSIS_ALGORITHMS__PHOTON_ORIGIN_CORRECTION_ALG_H
8 #define EGAMMA_ANALYSIS_ALGORITHMS__PHOTON_ORIGIN_CORRECTION_ALG_H
9 
16 
19 
20 namespace CP {
23 
26  public:
27  PhotonOriginCorrectionAlg(const std::string& name, ISvcLocator* pSvcLocator);
28 
29  public:
30  StatusCode initialize() override;
31 
32  public:
33  StatusCode execute() override;
34 
36  private:
38  this, "photons", "Photons", "the egamma collection to run on"};
39 
41  private:
43 
45  private:
46  SysReadSelectionHandle m_preselection{this, "preselection", "",
47  "the preselection to apply"};
48 
51  this, "Vertices", "PrimaryVertices", "Collection of Primary Vertices"};
52 };
53 } // namespace CP
54 
55 #endif
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CopyHelpers.h
SysListHandle.h
SysCopyHandle.h
CP::PhotonOriginCorrectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: PhotonOriginCorrectionAlg.h:42
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::PhotonOriginCorrectionAlg::m_PhotonHandle
SysCopyHandle< xAOD::PhotonContainer > m_PhotonHandle
the egamma collection we run on
Definition: PhotonOriginCorrectionAlg.h:37
CP::PhotonOriginCorrectionAlg::execute
StatusCode execute() override
Definition: PhotonOriginCorrectionAlg.cxx:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CP::PhotonOriginCorrectionAlg::PhotonOriginCorrectionAlg
PhotonOriginCorrectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: PhotonOriginCorrectionAlg.cxx:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SysReadSelectionHandle.h
CP::PhotonOriginCorrectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: PhotonOriginCorrectionAlg.h:46
VertexContainer.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::PhotonOriginCorrectionAlg
an algorithm for correctiong the origin of a photon wrt the Primary Vertex
Definition: PhotonOriginCorrectionAlg.h:24
CP::PhotonOriginCorrectionAlg::m_primVertices
SG::ReadHandleKey< xAOD::VertexContainer > m_primVertices
the vertices to loop over to select the Primary
Definition: PhotonOriginCorrectionAlg.h:50
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
PhotonContainer.h
CP::PhotonOriginCorrectionAlg::initialize
StatusCode initialize() override
Definition: PhotonOriginCorrectionAlg.cxx:24