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 EFLOWREC_PFTAUFLOWELEMENTASSOC_H
14#define EFLOWREC_PFTAUFLOWELEMENTASSOC_H
15
17#include "GaudiKernel/ToolHandle.h"
19
22
33
35
36public:
37 using AthReentrantAlgorithm::AthReentrantAlgorithm;
38
39 PFTauFlowElementAssoc(const std::string& name, ISvcLocator* pSvcLocator);
40
42
43 virtual StatusCode initialize();
44 virtual StatusCode execute(const EventContext &ctx) const;
45
46private:
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
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.