ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
eflowRec
src
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
6
#include "
eflowTrackExtrapolatorBaseAlgTool.h
"
7
8
#include "
ActsEvent/ContextUtility.h
"
9
#include "Acts/Geometry/GeometryIdentifier.hpp"
10
#include "
ActsGeometryInterfaces/ITrackingGeometrySvc.h
"
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "CaloGeoHelpers/CaloSampling.h"
13
14
#include "
xAODTracking/TrackParticleContainer.h
"
15
19
class
PFTrackCaloExtensionTool
:
virtual
public
eflowTrackExtrapolatorBaseAlgTool
,
public
AthAlgTool
{
20
21
public
:
22
23
using
AthAlgTool::AthAlgTool
;
24
~PFTrackCaloExtensionTool
() {};
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
30
private
:
31
33
ActsTrk::ContextUtility
m_ctxProvider
{
this
};
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
ContextUtility.h
ITrackingGeometrySvc.h
AthAlgTool.h
TrackParticleContainer.h
ActsTrk::ContextUtility
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
Definition
ActsGeometry/ActsGeometry/ContextUtility.h:27
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
PFTrackCaloExtensionTool
Inherits from eflowTrackExtrapolatorBaseAlgTool and AthAlgTool.
Definition
PFTrackCaloExtensionTool.h:19
PFTrackCaloExtensionTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
PFTrackCaloExtensionTool::m_extensionReadDecorKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_extensionReadDecorKey
Definition
PFTrackCaloExtensionTool.h:37
PFTrackCaloExtensionTool::execute
virtual std::unique_ptr< eflowTrackCaloPoints > execute(const EventContext &ctx, const xAOD::TrackParticle *track) const override
Definition
PFTrackCaloExtensionTool.cxx:51
PFTrackCaloExtensionTool::~PFTrackCaloExtensionTool
~PFTrackCaloExtensionTool()
Definition
PFTrackCaloExtensionTool.h:24
PFTrackCaloExtensionTool::m_trackingGeometrySvc
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
Definition
PFTrackCaloExtensionTool.h:35
PFTrackCaloExtensionTool::m_ctxProvider
ActsTrk::ContextUtility m_ctxProvider
The ContextUtility will give us access to the Acts geometry context.
Definition
PFTrackCaloExtensionTool.h:33
PFTrackCaloExtensionTool::m_geoIdCaloSampleMap
std::map< Acts::GeometryIdentifier, CaloSampling::CaloSample > m_geoIdCaloSampleMap
Definition
PFTrackCaloExtensionTool.h:40
PFTrackCaloExtensionTool::initialize
virtual StatusCode initialize() override
Definition
PFTrackCaloExtensionTool.cxx:19
PFTrackCaloExtensionTool::finalize
virtual StatusCode finalize() override
Definition
PFTrackCaloExtensionTool.cxx:92
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
ServiceHandle
Definition
ClusterMakerTool.h:36
eflowTrackExtrapolatorBaseAlgTool
Definition
eflowTrackExtrapolatorBaseAlgTool.h:29
eflowTrackExtrapolatorBaseAlgTool.h
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
Generated on
for ATLAS Offline Software by
1.17.0