ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
eflowRec
src
PFTauFlowElementAssoc.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
* PFTauFlowElementAssoc.h
7
* Header file for class PFTauFlowElementAssoc
8
*
9
* Created on: 24.09.20
10
* Author: L. Miller
11
*/
12
13
#ifndef EFLOWREC_PFTAUFLOWELEMENTASSOC_H
14
#define EFLOWREC_PFTAUFLOWELEMENTASSOC_H
15
16
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
StoreGate/WriteDecorHandle.h
"
19
20
#include "
xAODPFlow/FlowElementContainer.h
"
21
#include "
xAODTau/TauJetContainer.h
"
22
33
34
class
PFTauFlowElementAssoc
:
public
AthReentrantAlgorithm
{
35
36
public
:
37
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
38
39
PFTauFlowElementAssoc
(
const
std::string& name, ISvcLocator* pSvcLocator);
40
41
virtual
~PFTauFlowElementAssoc
();
42
43
virtual
StatusCode
initialize
();
44
virtual
StatusCode
execute
(
const
EventContext &ctx)
const
;
45
46
private
:
47
48
// ReadHandle for the tau jets
49
SG::ReadHandleKey<xAOD::TauJetContainer>
m_tauJetReadHandleKey
{
this
,
"TauJetContainer"
,
"TauJets"
,
"ReadHandleKey for TauJet Container"
};
50
// ReadHandles for FlowElements
51
SG::ReadHandleKey<xAOD::FlowElementContainer>
m_neutralFEReadHandleKey
{
this
,
"JetETMissNeutralFlowElementContainer"
,
"JetETMissNeutralParticleFlowObjects"
,
"ReadHandleKey for neutral FlowElements"
};
52
SG::ReadHandleKey<xAOD::FlowElementContainer>
m_chargedFEReadHandleKey
{
this
,
"JetETMissChargedFlowElementContainer"
,
"JetETMissChargedParticleFlowObjects"
,
"ReadHandleKey for charged FlowElements"
};
53
55
SG::WriteDecorHandleKey<xAOD::TauJetContainer>
m_tauNeutralFEWriteDecorKey
{
this
,
"TauNeutralFEDecorKey"
,
m_tauJetReadHandleKey
,
"neutralFELinks"
,
"WriteDecorHandleKey for adding neutral FE links to taus"
};
57
SG::WriteDecorHandleKey<xAOD::TauJetContainer>
m_tauChargedFEWriteDecorKey
{
this
,
"TauChargedFEDecorKey"
,
m_tauJetReadHandleKey
,
"chargedFELinks"
,
"WriteDecorHandleKey for adding charged FE links to taus"
};
59
SG::WriteDecorHandleKey<xAOD::FlowElementContainer>
m_neutralFETauWriteDecorKey
{
this
,
"NeutralFETauDecorKey"
,
m_neutralFEReadHandleKey
,
"FE_TauLinks"
,
"WriteDecorHandleKey for adding tau links to neutral FEs"
};
61
SG::WriteDecorHandleKey<xAOD::FlowElementContainer>
m_chargedFETauWriteDecorKey
{
this
,
"ChargedFETauDecorKey"
,
m_chargedFEReadHandleKey
,
"FE_TauLinks"
,
"WriteDecorHandleKey for adding tau links to charged FEs"
};
62
63
SG::ReadHandleKey<xAOD::JetContainer>
m_jetReadHandleKey
{
this
,
"JetContainer"
,
"AntiKt4EMPFlowJets"
,
"ReadHandleKey for Jet Container"
};
64
65
};
66
67
#endif
// EFLOWREC_PFTAUFLOWELEMENTASSOC_H
AthReentrantAlgorithm.h
FlowElementContainer.h
WriteDecorHandle.h
Handle class for adding a decoration to an object.
TauJetContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
PFTauFlowElementAssoc::m_tauJetReadHandleKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauJetReadHandleKey
Definition
PFTauFlowElementAssoc.h:49
PFTauFlowElementAssoc::m_jetReadHandleKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetReadHandleKey
Definition
PFTauFlowElementAssoc.h:63
PFTauFlowElementAssoc::initialize
virtual StatusCode initialize()
Definition
PFTauFlowElementAssoc.cxx:20
PFTauFlowElementAssoc::m_neutralFEReadHandleKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_neutralFEReadHandleKey
Definition
PFTauFlowElementAssoc.h:51
PFTauFlowElementAssoc::m_chargedFEReadHandleKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_chargedFEReadHandleKey
Definition
PFTauFlowElementAssoc.h:52
PFTauFlowElementAssoc::PFTauFlowElementAssoc
PFTauFlowElementAssoc(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PFTauFlowElementAssoc.cxx:14
PFTauFlowElementAssoc::execute
virtual StatusCode execute(const EventContext &ctx) const
This algorithm: 1) Accesses the relevant FlowElement and TauJet containers 2) Loops over the neutral ...
Definition
PFTauFlowElementAssoc.cxx:50
PFTauFlowElementAssoc::m_tauChargedFEWriteDecorKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_tauChargedFEWriteDecorKey
The write key for adding Charged Flow Element links to the taus.
Definition
PFTauFlowElementAssoc.h:57
PFTauFlowElementAssoc::m_tauNeutralFEWriteDecorKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_tauNeutralFEWriteDecorKey
The write key for adding Neutral Flow Element links to the taus.
Definition
PFTauFlowElementAssoc.h:55
PFTauFlowElementAssoc::m_neutralFETauWriteDecorKey
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_neutralFETauWriteDecorKey
The write key for adding tau element links to the Neutral Flow Elements.
Definition
PFTauFlowElementAssoc.h:59
PFTauFlowElementAssoc::~PFTauFlowElementAssoc
virtual ~PFTauFlowElementAssoc()
PFTauFlowElementAssoc::m_chargedFETauWriteDecorKey
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_chargedFETauWriteDecorKey
The write key for adding tau element links to the Charged Flow Elements.
Definition
PFTauFlowElementAssoc.h:61
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