ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaAlgs
src
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteHandleKey.h
"
12
13
#include "
xAODEgamma/ElectronFwd.h
"
14
#include "
xAODEgamma/ElectronContainer.h
"
15
#include "
xAODEgamma/PhotonFwd.h
"
16
#include "
xAODEgamma/PhotonContainer.h
"
17
#include <memory>
18
35
class
egammaAmbiguityRelinker
:
public
AthReentrantAlgorithm
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
49
SG::WriteHandleKey<xAOD::ElectronContainer>
m_electronOutputKey
{
this
,
50
"ElectronOutputName"
,
"Electrons"
,
51
"Name of Electron Container to be created"
};
52
54
SG::ReadHandleKey<xAOD::ElectronContainer>
m_electronInputKey
{
this
,
55
"ElectronInputName"
,
"old_Electrons"
,
56
"Name of Electron container to be read in"
};
57
59
SG::WriteHandleKey<xAOD::PhotonContainer>
m_photonOutputKey
{
this
,
60
"PhotonOutputName"
,
"Photons"
,
61
"Name of Photon Container to be created"
};
62
64
SG::ReadHandleKey<xAOD::PhotonContainer>
m_photonInputKey
{
this
,
65
"PhotonInputName"
,
"old_Photons"
,
66
"Name of Photon container to be read in"
};
67
68
};
69
70
#endif
AthReentrantAlgorithm.h
ElectronFwd.h
ElectronContainer.h
PhotonContainer.h
PhotonFwd.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
egammaAmbiguityRelinker::initialize
StatusCode initialize() override final
Definition
egammaAmbiguityRelinker.cxx:27
egammaAmbiguityRelinker::m_electronInputKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronInputKey
Name of the electron input collection.
Definition
egammaAmbiguityRelinker.h:54
egammaAmbiguityRelinker::m_photonInputKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonInputKey
Name of the photon input collection.
Definition
egammaAmbiguityRelinker.h:64
egammaAmbiguityRelinker::egammaAmbiguityRelinker
egammaAmbiguityRelinker(const std::string &name, ISvcLocator *pSvcLocator)
Definition
egammaAmbiguityRelinker.cxx:21
egammaAmbiguityRelinker::m_photonOutputKey
SG::WriteHandleKey< xAOD::PhotonContainer > m_photonOutputKey
Name of the photon output collection.
Definition
egammaAmbiguityRelinker.h:59
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
Generated on
for ATLAS Offline Software by
1.17.0