ATLAS Offline Software
Loading...
Searching...
No Matches
TauTrackCaloExtrapolator.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#ifndef XAOD_ANALYSIS
6#ifndef TAURECTOOLS_TAUTRACKCALOEXTRAPOLATOR_H
7#define TAURECTOOLS_TAUTRACKCALOEXTRAPOLATOR_H
8
10#include "GaudiKernel/ToolHandle.h"
13
15
16#include <vector>
17
19
26
28public:
29 //-------------------------------------------------------------
31 //-------------------------------------------------------------
32 TauTrackCaloExtrapolator(const std::string& name);
35
36 //-------------------------------------------------------------
38 //-------------------------------------------------------------
39 virtual StatusCode initialize() override;
40
42 virtual StatusCode executeTool(xAOD::TauJet& pTau,
43 const EventContext& ctx,
44 xAOD::TauTrackContainer& tauTrackCon) const override;
45
46private:
47
48 //-------------------------------------------------------------
50 //-------------------------------------------------------------
51 ToolHandle<Trk::IParticleCaloExtensionTool> m_caloExtensionTool {this, "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for the extrapolation of charged tracks"};
52 SG::ReadHandleKey<CaloExtensionCollection> m_ParticleCacheKey {this,"tauParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauTrackCaloExtrapolator"};
53 Gaudi::Property<bool> m_extrapOnlyChargedTracks{this,"ExtrapOnlyChargedTracks", false};
54
55 std::set<CaloSampling::CaloSample> m_EMSamplings;
56 std::set<CaloSampling::CaloSample> m_HadSamplings;
57};
58
59#endif // TAURECTOOLS_TAUTRACKCALOEXTRAPOLATOR_H
60#endif // XAOD_ANALYSIS
Property holding a SG store/key/clid from which a ReadHandle is made.
The base class for all tau tools.
Property holding a SG store/key/clid from which a ReadHandle is made.
TauRecToolBase(const std::string &name)
virtual StatusCode executeTool(xAOD::TauJet &, const EventContext &) const override
Execute - called for each tau candidate.
virtual StatusCode initialize() override
Algorithm functions.
ToolHandle< Trk::IParticleCaloExtensionTool > m_caloExtensionTool
tools
virtual StatusCode executeTool(xAOD::TauJet &pTau, const EventContext &ctx, xAOD::TauTrackContainer &tauTrackCon) const override
std::set< CaloSampling::CaloSample > m_HadSamplings
SG::ReadHandleKey< CaloExtensionCollection > m_ParticleCacheKey
ASG_TOOL_CLASS2(TauTrackCaloExtrapolator, TauRecToolBase, ITauToolBase)
TauTrackCaloExtrapolator(const std::string &name)
Constructor and Destructor.
std::set< CaloSampling::CaloSample > m_EMSamplings
Gaudi::Property< bool > m_extrapOnlyChargedTracks
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17
TauTrackContainer_v1 TauTrackContainer
Definition of the current TauTrack container version.