Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PhotonOriginCorrectionAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 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 
17 
20 
21 namespace CP {
24 
27  public:
28  PhotonOriginCorrectionAlg(const std::string& name, ISvcLocator* pSvcLocator);
29 
30  public:
31  StatusCode initialize() override;
32 
33  public:
34  StatusCode execute(const EventContext &ctx) const override;
35 
37  private:
39  this, "photons", "Photons", "the egamma collection to run on"};
40 
42  private:
44 
46  private:
47  SysReadSelectionHandle m_preselection{this, "preselection", "",
48  "the preselection to apply"};
49 
52  this, "Vertices", "PrimaryVertices", "Collection of Primary Vertices"};
53 };
54 } // namespace CP
55 
56 #endif
CP::PhotonOriginCorrectionAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: PhotonOriginCorrectionAlg.cxx:35
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:43
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:49
CP::PhotonOriginCorrectionAlg::m_PhotonHandle
SysCopyHandle< xAOD::PhotonContainer > m_PhotonHandle
the egamma collection we run on
Definition: PhotonOriginCorrectionAlg.h:38
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:228
SysReadSelectionHandle.h
columnar::final
CM final
Definition: ColumnAccessor.h:106
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition: AnaReentrantAlgorithm.h:51
CP::PhotonOriginCorrectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: PhotonOriginCorrectionAlg.h:47
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
AnaReentrantAlgorithm.h
CP::PhotonOriginCorrectionAlg
an algorithm for correctiong the origin of a photon wrt the Primary Vertex
Definition: PhotonOriginCorrectionAlg.h:25
CP::PhotonOriginCorrectionAlg::m_primVertices
SG::ReadHandleKey< xAOD::VertexContainer > m_primVertices
the vertices to loop over to select the Primary
Definition: PhotonOriginCorrectionAlg.h:51
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