ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsEventCnv
src
TrackToTrackParticleCnvTool.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 ACTSTRKFINDING_TRACKTOTRACKPARTICLECNVTOOL_H
6
#define ACTSTRKFINDING_TRACKTOTRACKPARTICLECNVTOOL_H 1
7
8
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
11
#include "
GeoPrimitives/GeoPrimitives.h
"
13
#include "
ActsToolInterfaces/ITrackToTrackParticleCnvTool.h
"
14
#include "
ActsGeometryInterfaces/IExtrapolationTool.h
"
15
16
#include "
ActsEvent/ContextUtility.h
"
17
18
19
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
20
#include "
StoreGate/ReadCondHandleKey.h
"
21
#include "
StoreGate/CondHandleKeyArray.h
"
22
23
#include "Acts/Definitions/PdgParticle.hpp"
24
#include "
xAODTracking/TrackingPrimitives.h
"
25
#include "
MuonRecToolInterfacesR4/ITrackSummaryTool.h
"
26
27
28
namespace
ActsTrk
{
29
30
class
TrackToTrackParticleCnvTool
:
public
extends<AthAlgTool, ITrackToTrackParticleCnvTool> {
31
32
public
:
33
using
base_class::base_class;
34
35
virtual
StatusCode
initialize
()
override
;
36
37
virtual
StatusCode
convert
(
xAOD::TrackParticle
& trackParticle,
38
const
EventContext& ctx,
39
const
ActsTrk::TrackContainer::ConstTrackProxy& track,
40
const
Acts::Surface& perigeeSurface,
41
const
InDet::BeamSpotData
* beamspotData =
nullptr
)
const override
;
42
43
private
:
44
45
Acts::BoundTrackParameters
parametersAtPerigee
(
const
EventContext& ctx,
46
const
ActsTrk::TrackContainer::ConstTrackProxy& track,
47
const
Acts::Surface& perigee_surface)
const
;
48
49
ToolHandle<ActsTrk::IExtrapolationTool>
m_extrapolationTool
{
this
,
"ExtrapolationTool"
,
""
};
50
51
52
PublicToolHandle<MuonR4::ITrackSummaryTool>
m_muonSummaryTool
{
this
,
"MuonSummaryTool"
,
""
};
53
55
ContextUtility
m_ctxProvider
{
this
};
56
57
Gaudi::Property<double>
m_paramExtrapolationParLimit
58
{
this
,
"ExtrapolationPathLimit"
, std::numeric_limits<double>::max(),
59
"PathLimit for extrapolating track parameters."
};
60
61
Gaudi::Property<bool>
m_firstAndLastParamOnly
62
{
this
,
"FirstAndLastParameterOnly"
,
true
,
63
"Only convert the first and the last parameter."
};
64
65
Gaudi::Property<bool>
m_computeExpectedLayerPattern
66
{
this
,
"ComputeExpectedLayerPattern"
,
true
,
67
"Compute the expected layer pattern. CPU expensive"
};
68
69
Gaudi::Property<bool>
m_expectIfPixelContributes
70
{
this
,
"expectIfPixelContribution"
,
true
,
71
"Only expect pixel hits if there are pixel hits on track."
};
72
73
Gaudi::Property<double>
m_pixelExpectLayerPathLimitInMM
74
{
this
,
"PixelExpectLayerPathLimitInMM"
, 1000,
75
"PathLimit for extrapolating to get the expected pixel layer pattern in mm."
};
76
77
Gaudi::Property<unsigned long>
m_patternRecognitionInfo
78
{
this
,
"PatternRecognitionInfo"
, (1ul <<
xAOD::SiSPSeededFinder
),
79
"Pattern recognition info bitmask to store on converted track particles."
};
80
81
Gaudi::Property<int>
m_trackFitter
82
{
this
,
"TrackFitter"
,
static_cast<
int
>
(
xAOD::KalmanFitter
),
83
"Track fitter identifier to store on converted track particles."
};
84
85
static
constexpr
int
s_expertLevel
= 200;
86
Gaudi::Property<int>
m_hgtdDecorationLevel
87
{
this
,
"HgtdDecorationLevel"
,
false
,
"HGTD specific decorations: 0 = none, >0 time and hits, >=200 mean time, chi2."
};
88
Gaudi::Property<int>
m_itkDecorationLevel
89
{
this
,
"ITkDecorationLevel"
, 1,
">=200 split counts for inclined and flat barrel."
};
90
91
};
92
93
}
94
95
#endif
AthAlgTool.h
CondHandleKeyArray.h
ContextUtility.h
GeoPrimitives.h
IExtrapolationTool.h
ITrackToTrackParticleCnvTool.h
ITrackSummaryTool.h
ReadCondHandleKey.h
SiDetectorElementCollection.h
TrackingPrimitives.h
ActsTrk::ContextUtility
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
Definition
ContextUtility.h:27
ActsTrk::TrackToTrackParticleCnvTool
Definition
TrackToTrackParticleCnvTool.h:30
ActsTrk::TrackToTrackParticleCnvTool::parametersAtPerigee
Acts::BoundTrackParameters parametersAtPerigee(const EventContext &ctx, const ActsTrk::TrackContainer::ConstTrackProxy &track, const Acts::Surface &perigee_surface) const
Definition
TrackToTrackParticleCnvTool.cxx:516
ActsTrk::TrackToTrackParticleCnvTool::m_paramExtrapolationParLimit
Gaudi::Property< double > m_paramExtrapolationParLimit
Definition
TrackToTrackParticleCnvTool.h:58
ActsTrk::TrackToTrackParticleCnvTool::m_extrapolationTool
ToolHandle< ActsTrk::IExtrapolationTool > m_extrapolationTool
Definition
TrackToTrackParticleCnvTool.h:49
ActsTrk::TrackToTrackParticleCnvTool::m_firstAndLastParamOnly
Gaudi::Property< bool > m_firstAndLastParamOnly
Definition
TrackToTrackParticleCnvTool.h:62
ActsTrk::TrackToTrackParticleCnvTool::m_expectIfPixelContributes
Gaudi::Property< bool > m_expectIfPixelContributes
Definition
TrackToTrackParticleCnvTool.h:70
ActsTrk::TrackToTrackParticleCnvTool::m_pixelExpectLayerPathLimitInMM
Gaudi::Property< double > m_pixelExpectLayerPathLimitInMM
Definition
TrackToTrackParticleCnvTool.h:74
ActsTrk::TrackToTrackParticleCnvTool::m_trackFitter
Gaudi::Property< int > m_trackFitter
Definition
TrackToTrackParticleCnvTool.h:82
ActsTrk::TrackToTrackParticleCnvTool::m_ctxProvider
ContextUtility m_ctxProvider
Utility to fetch the geometry, magnetic field and calibration context in the event.
Definition
TrackToTrackParticleCnvTool.h:55
ActsTrk::TrackToTrackParticleCnvTool::s_expertLevel
static constexpr int s_expertLevel
Definition
TrackToTrackParticleCnvTool.h:85
ActsTrk::TrackToTrackParticleCnvTool::m_itkDecorationLevel
Gaudi::Property< int > m_itkDecorationLevel
Definition
TrackToTrackParticleCnvTool.h:89
ActsTrk::TrackToTrackParticleCnvTool::m_muonSummaryTool
PublicToolHandle< MuonR4::ITrackSummaryTool > m_muonSummaryTool
Definition
TrackToTrackParticleCnvTool.h:52
ActsTrk::TrackToTrackParticleCnvTool::convert
virtual StatusCode convert(xAOD::TrackParticle &trackParticle, const EventContext &ctx, const ActsTrk::TrackContainer::ConstTrackProxy &track, const Acts::Surface &perigeeSurface, const InDet::BeamSpotData *beamspotData=nullptr) const override
Definition
TrackToTrackParticleCnvTool.cxx:108
ActsTrk::TrackToTrackParticleCnvTool::m_patternRecognitionInfo
Gaudi::Property< unsigned long > m_patternRecognitionInfo
Definition
TrackToTrackParticleCnvTool.h:78
ActsTrk::TrackToTrackParticleCnvTool::initialize
virtual StatusCode initialize() override
Definition
TrackToTrackParticleCnvTool.cxx:99
ActsTrk::TrackToTrackParticleCnvTool::m_hgtdDecorationLevel
Gaudi::Property< int > m_hgtdDecorationLevel
Definition
TrackToTrackParticleCnvTool.h:87
ActsTrk::TrackToTrackParticleCnvTool::m_computeExpectedLayerPattern
Gaudi::Property< bool > m_computeExpectedLayerPattern
Definition
TrackToTrackParticleCnvTool.h:66
InDet::BeamSpotData
Definition
BeamSpotData.h:21
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
xAOD::KalmanFitter
@ KalmanFitter
tracks produced by the Kalman Fitter
Definition
TrackingPrimitives.h:48
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::SiSPSeededFinder
@ SiSPSeededFinder
Tracks from SiSPSeedFinder.
Definition
TrackingPrimitives.h:86
Generated on
for ATLAS Offline Software by
1.17.0