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
18
19#include <vector>
20
22
29
31public:
32 //-------------------------------------------------------------
34 //-------------------------------------------------------------
35 TauTrackCaloExtrapolator(const std::string& name);
38
39 //-------------------------------------------------------------
41 //-------------------------------------------------------------
42 virtual StatusCode initialize() override;
43
45 virtual StatusCode executeTool(xAOD::TauJet& pTau,
46 const EventContext& ctx,
47 xAOD::TauTrackContainer& tauTrackCon) const override;
48
49private:
50
51 //-------------------------------------------------------------
53 //-------------------------------------------------------------
54 ToolHandle<Trk::IParticleCaloExtensionTool> m_caloExtensionTool {this, "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for the extrapolation of charged tracks"};
55 SG::ReadHandleKey<CaloExtensionCollection> m_ParticleCacheKey {this,"tauParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauTrackCaloExtrapolator"};
56 Gaudi::Property<bool> m_extrapOnlyChargedTracks{this,"ExtrapOnlyChargedTracks", false};
57
58 std::set<CaloSampling::CaloSample> m_EMSamplings;
59 std::set<CaloSampling::CaloSample> m_HadSamplings;
60
61 // ACTS Extrapolator
62 Gaudi::Property<bool> m_useACTSExtrapolator{this, "useACTSExtrapolator", false};
63 ToolHandle<ActsTrk::IExtrapolationTool> m_extrapolationTool {this, "ExtrapolationTool", "ExtrapolationTool", "Tool to run propagation in an ACTS tracking geometry" };
64 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
65
66 std::map<unsigned int, std::string> m_caloNameGeoIDMap;
67
68};
69
70#endif // TAURECTOOLS_TAUTRACKCALOEXTRAPOLATOR_H
71#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< ActsTrk::IExtrapolationTool > m_extrapolationTool
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
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
std::map< unsigned int, std::string > m_caloNameGeoIDMap
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
Gaudi::Property< bool > m_useACTSExtrapolator
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17
TauTrackContainer_v1 TauTrackContainer
Definition of the current TauTrack container version.