ATLAS Offline Software
Loading...
Searching...
No Matches
PFTauFlowElementAssoc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 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"
21
24
35
37
38public:
39 using AthReentrantAlgorithm::AthReentrantAlgorithm;
40
41 PFTauFlowElementAssoc(const std::string& name, ISvcLocator* pSvcLocator);
42
44
45 virtual StatusCode initialize();
46 virtual StatusCode execute(const EventContext &ctx) const;
47
48private:
49
50 // ReadHandle for the tau jets
51 SG::ReadHandleKey<xAOD::TauJetContainer> m_tauJetReadHandleKey{this,"TauJetContainer","TauJets","ReadHandleKey for TauJet Container"};
52 // ReadHandles for FlowElements
53 SG::ReadHandleKey<xAOD::FlowElementContainer> m_neutralFEReadHandleKey{this,"JetETMissNeutralFlowElementContainer","JetETMissNeutralParticleFlowObjects","ReadHandleKey for neutral FlowElements"};
54 SG::ReadHandleKey<xAOD::FlowElementContainer> m_chargedFEReadHandleKey{this,"JetETMissChargedFlowElementContainer","JetETMissChargedParticleFlowObjects","ReadHandleKey for charged FlowElements"};
55
57 SG::WriteDecorHandleKey<xAOD::TauJetContainer> m_tauNeutralFEWriteDecorKey{this,"TauNeutralFEDecorKey","TauJets.neutralFELinks","WriteDecorHandleKey for adding neutral FE links to taus"};
59 SG::WriteDecorHandleKey<xAOD::TauJetContainer> m_tauChargedFEWriteDecorKey{this,"TauChargedFEDecorKey","TauJets.chargedFELinks","WriteDecorHandleKey for adding charged FE links to taus"};
61 SG::WriteDecorHandleKey<xAOD::FlowElementContainer> m_neutralFETauWriteDecorKey{this,"NeutralFETauDecorKey","JetETMissNeutralParticleFlowObjects.FE_TauLinks","WriteDecorHandleKey for adding tau links to neutral FEs"};
63 SG::WriteDecorHandleKey<xAOD::FlowElementContainer> m_chargedFETauWriteDecorKey{this,"ChargedFETauDecorKey","JetETMissChargedParticleFlowObjects.FE_TauLinks","WriteDecorHandleKey for adding tau links to charged FEs"};
64
65 SG::ReadHandleKey<xAOD::JetContainer> m_jetReadHandleKey{this,"JetContainer","AntiKt4EMPFlowJets","ReadHandleKey for Jet Container"};
66
67};
68
69#endif // PFTAUFLOWELEMENTASSOC_H
defines an "iterator" over instances of a given type in StoreGateSvc
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.