ATLAS Offline Software
egammaAmbiguityRelinker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAALGS_EGAMMAAMBIGUITYRELINKER_H
6 #define EGAMMAALGS_EGAMMAAMBIGUITYRELINKER_H
7 
9 
12 
13 #include "xAODEgamma/ElectronFwd.h"
15 #include "xAODEgamma/PhotonFwd.h"
17 #include <memory>
18 
36 {
37 public:
38 
39  egammaAmbiguityRelinker(const std::string& name, ISvcLocator* pSvcLocator);
40 
41  StatusCode initialize() override final;
42  StatusCode execute(const EventContext& ctx) const override final;
43 
44 private:
45 
46  // Read/Write handlers
47 
50  "ElectronOutputName", "Electrons",
51  "Name of Electron Container to be created"};
52 
55  "ElectronInputName", "old_Electrons",
56  "Name of Electron container to be read in"};
57 
60  "PhotonOutputName", "Photons",
61  "Name of Photon Container to be created"};
62 
65  "PhotonInputName", "old_Photons",
66  "Name of Photon container to be read in"};
67 
68 };
69 
70 #endif
egammaAmbiguityRelinker::egammaAmbiguityRelinker
egammaAmbiguityRelinker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: egammaAmbiguityRelinker.cxx:21
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
egammaAmbiguityRelinker::execute
StatusCode execute(const EventContext &ctx) const override final
Definition: egammaAmbiguityRelinker.cxx:38
egammaAmbiguityRelinker::m_electronOutputKey
SG::WriteHandleKey< xAOD::ElectronContainer > m_electronOutputKey
Name of the electron output collection.
Definition: egammaAmbiguityRelinker.h:49
PhotonFwd.h
egammaAmbiguityRelinker::m_electronInputKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronInputKey
Name of the electron input collection.
Definition: egammaAmbiguityRelinker.h:54
egammaAmbiguityRelinker::m_photonOutputKey
SG::WriteHandleKey< xAOD::PhotonContainer > m_photonOutputKey
Name of the photon output collection.
Definition: egammaAmbiguityRelinker.h:59
SG::ReadHandleKey< xAOD::ElectronContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
SG::WriteHandleKey< xAOD::ElectronContainer >
ElectronContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ElectronFwd.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
egammaAmbiguityRelinker::m_photonInputKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonInputKey
Name of the photon input collection.
Definition: egammaAmbiguityRelinker.h:64
egammaAmbiguityRelinker::initialize
StatusCode initialize() override final
Definition: egammaAmbiguityRelinker.cxx:27
egammaAmbiguityRelinker
Algorithm to handle ambiguity relinking for electrons and photons.
Definition: egammaAmbiguityRelinker.h:36
PhotonContainer.h