7#ifndef EGAMMA_ANALYSIS_ALGORITHMS__PHOTON_ORIGIN_CORRECTION_ALG_H
8#define EGAMMA_ANALYSIS_ALGORITHMS__PHOTON_ORIGIN_CORRECTION_ALG_H
34 StatusCode
execute(
const EventContext &ctx)
const override;
39 this,
"photons",
"Photons",
"the egamma collection to run on"};
48 "the preselection to apply"};
52 this,
"Vertices",
"PrimaryVertices",
"Collection of Primary Vertices"};
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 initialize() override
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.