ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
eflowRec
src
PFEGamFlowElementAssoc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* PFEGamFlowElementAssoc.h
7
* Header file for class PFEGamFlowElementAssoc
8
*
9
* Created on: 13.03.19
10
* Author: J. C. MacDonald & Upgraded by M.T. Anthony
11
*/
12
13
#ifndef EFLOWREC_PFEGAMFLOWELEMENTASSOC_H
14
#define EFLOWREC_PFEGAMFLOWELEMENTASSOC_H
15
16
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
19
#include "
xAODEgamma/ElectronContainer.h
"
20
#include "
xAODEgamma/PhotonContainer.h
"
21
22
#include "
StoreGate/WriteDecorHandle.h
"
23
#include "
xAODPFlow/FlowElementContainer.h
"
32
class
PFEGamFlowElementAssoc
:
public
AthReentrantAlgorithm
{
33
34
public
:
35
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
36
37
PFEGamFlowElementAssoc
(
const
std::string& name, ISvcLocator* pSvcLocator);
38
39
virtual
~PFEGamFlowElementAssoc
();
40
41
virtual
StatusCode
initialize
();
42
virtual
StatusCode
execute
(
const
EventContext & ctx)
const
;
43
virtual
StatusCode
finalize
();
44
45
private
:
46
//instantiate ReadHandle for the Photon/Electron
47
SG::ReadHandleKey<xAOD::ElectronContainer>
m_electronReadHandleKey
{
this
,
"ElectronContainer"
,
"Electrons"
,
"ReadHandleKey for ElectronContainer"
};
48
49
SG::ReadHandleKey<xAOD::PhotonContainer>
m_photonReadHandleKey
{
this
,
"PhotonContainer"
,
"Photons"
,
"ReadHandleKey for PhotonContainer"
};
50
51
//Readhandles for FlowElements.
52
SG::ReadHandleKey<xAOD::FlowElementContainer>
m_neutralFEReadHandleKey
{
this
,
"JetEtMissNeutralFlowElementContainer"
,
"JetETMissNeutralParticleFlowObjects"
,
"ReadHandleKey for neutral FlowElements"
};
53
54
SG::ReadHandleKey<xAOD::FlowElementContainer>
m_chargedFEReadHandleKey
{
this
,
"JetEtMissChargedFlowElementContainer"
,
"JetETMissChargedParticleFlowObjects"
,
"ReadHandleKey for charged FlowElements"
};
55
56
58
SG::WriteDecorHandleKey<xAOD::ElectronContainer>
m_electronNeutralFEWriteDecorKey
{
this
,
"ElectronNeutralFEDecorKey"
,
m_electronReadHandleKey
,
"neutralFELinks"
,
"Output key for electron link to neutral FE"
};
60
SG::WriteDecorHandleKey<xAOD::ElectronContainer>
m_electronChargedFEWriteDecorKey
{
this
,
"ElectronChargedFEDecorKey"
,
m_electronReadHandleKey
,
"chargedFELinks"
,
"Output key for electron link to charged FE"
};
61
63
64
SG::WriteDecorHandleKey<xAOD::FlowElementContainer>
m_neutralFEElectronWriteDecorKey
{
this
,
"NeutralFEElectronDecorKey"
,
m_neutralFEReadHandleKey
,
"FE_ElectronLinks"
,
"Output key for link from charged FE to electron"
};
65
67
SG::WriteDecorHandleKey<xAOD::FlowElementContainer>
m_chargedFEElectronWriteDecorKey
{
this
,
"ChargedFEElectronDecorKey"
,
m_chargedFEReadHandleKey
,
"FE_ElectronLinks"
,
"Output key for link from charged FE to electron"
};
68
69
71
SG::WriteDecorHandleKey<xAOD::PhotonContainer>
m_photonNeutralFEWriteDecorKey
{
this
,
"PhotonNeutralFEDecorKey"
,
m_photonReadHandleKey
,
"neutralFELinks"
,
"Output key for photon link to neutral FE"
};
73
SG::WriteDecorHandleKey<xAOD::PhotonContainer>
m_photonChargedFEWriteDecorKey
{
this
,
"PhotonChargedFEDecorKey"
,
m_photonReadHandleKey
,
"chargedFELinks"
,
"Output key for photon link to charged FE"
};
75
SG::WriteDecorHandleKey<xAOD::FlowElementContainer>
m_neutralFEPhotonWriteDecorKey
{
this
,
"NeutralFEPhotonDecorKey"
,
m_neutralFEReadHandleKey
,
"FE_PhotonLinks"
,
"Output key for link from neutral FE to photon"
};
77
SG::WriteDecorHandleKey<xAOD::FlowElementContainer>
m_chargedFEPhotonWriteDecorKey
{
this
,
"ChargedFEPhotonDecorKey"
,
m_chargedFEReadHandleKey
,
"FE_PhotonLinks"
,
"Output key for link from charged FE to photon"
};
78
79
80
};
81
82
#endif
// EFLOWREC_PFEGAMFLOWELEMENTASSOC_H
AthReentrantAlgorithm.h
ElectronContainer.h
PhotonContainer.h
FlowElementContainer.h
WriteDecorHandle.h
Handle class for adding a decoration to an object.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
PFEGamFlowElementAssoc::m_chargedFEElectronWriteDecorKey
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_chargedFEElectronWriteDecorKey
The write key for adding electron element link decorations to Charged Flow Elements.
Definition
PFEGamFlowElementAssoc.h:67
PFEGamFlowElementAssoc::m_photonNeutralFEWriteDecorKey
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_photonNeutralFEWriteDecorKey
The write key for adding Neutral Flow Element element link decorations to photons.
Definition
PFEGamFlowElementAssoc.h:71
PFEGamFlowElementAssoc::m_electronReadHandleKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronReadHandleKey
Definition
PFEGamFlowElementAssoc.h:47
PFEGamFlowElementAssoc::m_photonChargedFEWriteDecorKey
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_photonChargedFEWriteDecorKey
The write key for adding Charged Flow Element element link decorations to photons.
Definition
PFEGamFlowElementAssoc.h:73
PFEGamFlowElementAssoc::m_photonReadHandleKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonReadHandleKey
Definition
PFEGamFlowElementAssoc.h:49
PFEGamFlowElementAssoc::m_neutralFEPhotonWriteDecorKey
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_neutralFEPhotonWriteDecorKey
The write key for adding photon element link decorations to Neutral Flow Elements.
Definition
PFEGamFlowElementAssoc.h:75
PFEGamFlowElementAssoc::m_electronChargedFEWriteDecorKey
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_electronChargedFEWriteDecorKey
The write key for adding Charged Flow Element element link decorations to electrons.
Definition
PFEGamFlowElementAssoc.h:60
PFEGamFlowElementAssoc::m_chargedFEPhotonWriteDecorKey
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_chargedFEPhotonWriteDecorKey
The write key for adding photon element link decorations to Charged Flow Elements.
Definition
PFEGamFlowElementAssoc.h:77
PFEGamFlowElementAssoc::m_neutralFEReadHandleKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_neutralFEReadHandleKey
Definition
PFEGamFlowElementAssoc.h:52
PFEGamFlowElementAssoc::initialize
virtual StatusCode initialize()
Definition
PFEGamFlowElementAssoc.cxx:34
PFEGamFlowElementAssoc::m_neutralFEElectronWriteDecorKey
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_neutralFEElectronWriteDecorKey
The write key for adding electron element link decorations to Neutral Flow Elements.
Definition
PFEGamFlowElementAssoc.h:64
PFEGamFlowElementAssoc::PFEGamFlowElementAssoc
PFEGamFlowElementAssoc(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PFEGamFlowElementAssoc.cxx:23
PFEGamFlowElementAssoc::~PFEGamFlowElementAssoc
virtual ~PFEGamFlowElementAssoc()
PFEGamFlowElementAssoc::m_chargedFEReadHandleKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_chargedFEReadHandleKey
Definition
PFEGamFlowElementAssoc.h:54
PFEGamFlowElementAssoc::m_electronNeutralFEWriteDecorKey
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_electronNeutralFEWriteDecorKey
The write key for adding Neutral Flow Element element link decorations to electrons.
Definition
PFEGamFlowElementAssoc.h:58
PFEGamFlowElementAssoc::execute
virtual StatusCode execute(const EventContext &ctx) const
This algorithm does the following: 1) Read the Input containers for Flow Elements,...
Definition
PFEGamFlowElementAssoc.cxx:68
PFEGamFlowElementAssoc::finalize
virtual StatusCode finalize()
Definition
PFEGamFlowElementAssoc.cxx:58
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
Generated on
for ATLAS Offline Software by
1.17.0