ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
15
17
18
22
23#include "Acts/Definitions/PdgParticle.hpp"
26
27
28namespace 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
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
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
Acts::BoundTrackParameters parametersAtPerigee(const EventContext &ctx, const ActsTrk::TrackContainer::ConstTrackProxy &track, const Acts::Surface &perigee_surface) const
ToolHandle< ActsTrk::IExtrapolationTool > m_extrapolationTool
Gaudi::Property< double > m_pixelExpectLayerPathLimitInMM
ContextUtility m_ctxProvider
Utility to fetch the geometry, magnetic field and calibration context in the event.
PublicToolHandle< MuonR4::ITrackSummaryTool > m_muonSummaryTool
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
Gaudi::Property< unsigned long > m_patternRecognitionInfo
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
@ KalmanFitter
tracks produced by the Kalman Fitter
TrackParticle_v1 TrackParticle
Reference the current persistent version:
@ SiSPSeededFinder
Tracks from SiSPSeedFinder.