ATLAS Offline Software
Loading...
Searching...
No Matches
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
21namespace 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
Property holding a SG store/key/clid from which a ReadHandle is made.
SysCopyHandle< xAOD::PhotonContainer > m_PhotonHandle
the egamma collection we run on
PhotonOriginCorrectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
SysReadSelectionHandle m_preselection
the preselection we apply to our input
StatusCode execute(const EventContext &ctx) const override
SysListHandle m_systematicsList
the systematics list we run
SG::ReadHandleKey< xAOD::VertexContainer > m_primVertices
the vertices to loop over to select the Primary
a systematics data handle that will either copy the input object or act like an update handle
a class managing the property to configure the list of systematics to process
a data handle for reading systematically varied selection properties from objects
the base class for EventLoop reentrant algorithms
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.