ATLAS Offline Software
Loading...
Searching...
No Matches
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 PFTAUFLOWELEMENTASSOC_H
14#define PFTAUFLOWELEMENTASSOC_H
15
18#include "GaudiKernel/ToolHandle.h"
20
23
34
36
37public:
38 using AthReentrantAlgorithm::AthReentrantAlgorithm;
39
40 PFTauFlowElementAssoc(const std::string& name, ISvcLocator* pSvcLocator);
41
43
44 virtual StatusCode initialize();
45 virtual StatusCode execute(const EventContext &ctx) const;
46
47private:
48
49 // ReadHandle for the tau jets
50 SG::ReadHandleKey<xAOD::TauJetContainer> m_tauJetReadHandleKey{this,"TauJetContainer","TauJets","ReadHandleKey for TauJet Container"};
51 // ReadHandles for FlowElements
52 SG::ReadHandleKey<xAOD::FlowElementContainer> m_neutralFEReadHandleKey{this,"JetETMissNeutralFlowElementContainer","JetETMissNeutralParticleFlowObjects","ReadHandleKey for neutral FlowElements"};
53 SG::ReadHandleKey<xAOD::FlowElementContainer> m_chargedFEReadHandleKey{this,"JetETMissChargedFlowElementContainer","JetETMissChargedParticleFlowObjects","ReadHandleKey for charged FlowElements"};
54
56 SG::WriteDecorHandleKey<xAOD::TauJetContainer> m_tauNeutralFEWriteDecorKey{this,"TauNeutralFEDecorKey",m_tauJetReadHandleKey,"neutralFELinks","WriteDecorHandleKey for adding neutral FE links to taus"};
58 SG::WriteDecorHandleKey<xAOD::TauJetContainer> m_tauChargedFEWriteDecorKey{this,"TauChargedFEDecorKey",m_tauJetReadHandleKey,"chargedFELinks","WriteDecorHandleKey for adding charged FE links to taus"};
60 SG::WriteDecorHandleKey<xAOD::FlowElementContainer> m_neutralFETauWriteDecorKey{this,"NeutralFETauDecorKey",m_neutralFEReadHandleKey,"FE_TauLinks","WriteDecorHandleKey for adding tau links to neutral FEs"};
62 SG::WriteDecorHandleKey<xAOD::FlowElementContainer> m_chargedFETauWriteDecorKey{this,"ChargedFETauDecorKey",m_chargedFEReadHandleKey,"FE_TauLinks","WriteDecorHandleKey for adding tau links to charged FEs"};
63
64 SG::ReadHandleKey<xAOD::JetContainer> m_jetReadHandleKey{this,"JetContainer","AntiKt4EMPFlowJets","ReadHandleKey for Jet Container"};
65
66};
67
68#endif // PFTAUFLOWELEMENTASSOC_H
Handle class for adding a decoration to an object.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauJetReadHandleKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetReadHandleKey
virtual StatusCode initialize()
SG::ReadHandleKey< xAOD::FlowElementContainer > m_neutralFEReadHandleKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_chargedFEReadHandleKey
PFTauFlowElementAssoc(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const
This algorithm: 1) Accesses the relevant FlowElement and TauJet containers 2) Loops over the neutral ...
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_tauChargedFEWriteDecorKey
The write key for adding Charged Flow Element links to the taus.
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_tauNeutralFEWriteDecorKey
The write key for adding Neutral Flow Element links to the taus.
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_neutralFETauWriteDecorKey
The write key for adding tau element links to the Neutral Flow Elements.
virtual ~PFTauFlowElementAssoc()
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_chargedFETauWriteDecorKey
The write key for adding tau element links to the Charged Flow Elements.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.