ATLAS Offline Software
Loading...
Searching...
No Matches
PFTrackCaloExtensionTool.h
Go to the documentation of this file.
1/* Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration */
2
3#ifndef EFLOWREC_PFTRACKCALOEXTENSIONTOOL_H
4#define EFLOWREC_PFTRACKCALOEXTENSIONTOOL_H
5
7
9#include "Acts/Geometry/GeometryIdentifier.hpp"
12#include "CaloGeoHelpers/CaloSampling.h"
13
15
20
21public:
22
25
26 virtual StatusCode initialize() override;
27 virtual std::unique_ptr<eflowTrackCaloPoints> execute(const EventContext& ctx, const xAOD::TrackParticle* track) const override;
28 virtual StatusCode finalize() override;
29
30private:
31
34
35 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
36
37 SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> m_extensionReadDecorKey{this, "ExtensionDecoration", "InDetTrackParticles.caloExtensionLink"};
38
39 //Map geometry identifier to calo sampling layer enum
40 std::map<Acts::GeometryIdentifier, CaloSampling::CaloSample> m_geoIdCaloSampleMap;
41
42};
43#endif
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Inherits from eflowTrackExtrapolatorBaseAlgTool and AthAlgTool.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_extensionReadDecorKey
virtual std::unique_ptr< eflowTrackCaloPoints > execute(const EventContext &ctx, const xAOD::TrackParticle *track) const override
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
ActsTrk::ContextUtility m_ctxProvider
The ContextUtility will give us access to the Acts geometry context.
std::map< Acts::GeometryIdentifier, CaloSampling::CaloSample > m_geoIdCaloSampleMap
virtual StatusCode initialize() override
virtual StatusCode finalize() override
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
TrackParticle_v1 TrackParticle
Reference the current persistent version: