ATLAS Offline Software
Loading...
Searching...
No Matches
TrackToTrackParticleCnvTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
5
11#include "Acts/Definitions/Units.hpp"
12#include "Acts/Propagator/detail/JacobianEngine.hpp"
13#include "ActsInterop/Logger.h"
14
18#include "GaudiKernel/PhysicalConstants.h"
19
25
26#include <Acts/Definitions/TrackParametrization.hpp>
27#include <Acts/Utilities/Helpers.hpp>
28#include <Acts/Utilities/MathHelpers.hpp>
29#include <Acts/Definitions/Tolerance.hpp>
30#include <tuple>
31
32namespace {
33 constexpr float toFloat(const double x) {
34
35 if (Acts::abs(x) < Acts::s_epsilon) {
36 return 0.f;
37 }
38 constexpr double min = 3.*static_cast<double>(std::numeric_limits<float>::min());
39 constexpr double max = static_cast<double>(std::numeric_limits<float>::max());
40 const double clampedX = std::copysign(std::clamp(Acts::abs(x), min, max), x);
41
42 return static_cast<float>(clampedX);
43 }
44 template <int nRowsMax, int nMatSize>
45 inline void lowerTriangleToVector(const Acts::SquareMatrix<nMatSize>& covMatrix,
46 std::vector<float>& vec) {
47 assert( covMatrix.rows() == covMatrix.cols());
48 static_assert(nRowsMax > 0);
49 static_assert(nMatSize > 0);
50 constexpr int nRows = std::min(nRowsMax, nMatSize);
51 vec.clear();
52 vec.reserve(Acts::sumUpToN(nRows));
53 for (int i = 0; i < nRows; ++i) {
54 for (int j = 0; j <= i; ++j) {
55 vec.emplace_back(toFloat(covMatrix(i, j)));
56 }
57 }
58 }
59
60 template <int nRowsMax, int nMatSize>
61 inline void lowerTriangleToVectorScaleLastRow(const Acts::SquareMatrix<nMatSize>& covMatrix,
62 std::vector<float>& vec,
63 const double last_element_scale) {
64 vec.clear();
65 static_assert(nRowsMax > 0);
66 static_assert(nMatSize > 0);
67 constexpr int nRows = std::min(nRowsMax, nMatSize);
68 vec.reserve(Acts::sumUpToN(nRows));
69 for (int i = 0; i < nRows; ++i) {
70 for (int j = 0; j <= i; ++j) {
71 const double covVal = covMatrix(i,j) *
72 ( i == Acts::eBoundQOverP || j == Acts::eBoundQOverP ?
73 last_element_scale : 1.);
74 vec.emplace_back(toFloat(covVal));
75 }
76 }
77 }
78
79 void setSummaryValue(xAOD::TrackParticle& track_particle, uint8_t value, xAOD::SummaryType summary_type) {
81 track_particle.setSummaryValue(tmp, summary_type);
82 }
83
84 std::array<unsigned short, Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)> makeMeasurementToSummaryTypeMap() {
85 std::array<unsigned short, Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)> ret;
86 for (unsigned short& elm : ret) {
88 }
91 return ret;
92 }
93}
94
95namespace ActsTrk {
96
98 {
100 ATH_CHECK( m_extrapolationTool.retrieve() );
102 ATH_CHECK( m_muonSummaryTool.retrieve(EnableTool{!m_muonSummaryTool.empty()}));
103
104 // propagator for conversion to curvilinear parameters
105 {
106 auto logger = makeActsAthenaLogger(this, "Prop");
107 Navigator::Config cfg{m_trackingGeometryTool->trackingGeometry()};
108 cfg.resolvePassive = false;
109 cfg.resolveMaterial = true;
110 cfg.resolveSensitive = true;
111 auto navigtor_logger = logger->cloneWithSuffix("Navigator");
112 m_propagator = std::make_unique<Propagator>(Stepper(std::make_shared<ATLASMagneticFieldWrapper>()),
113 Navigator(cfg, std::move(navigtor_logger)),
114 std::move(logger));
115 }
116
117 return StatusCode::SUCCESS;
118 }
119
121 const EventContext& ctx,
122 const ActsTrk::TrackContainer::ConstTrackProxy& track,
123 const Acts::Surface& perigeeSurface,
124 const InDet::BeamSpotData* beamspot_data) const {
125 using namespace Acts::UnitLiterals;
126
127 const AtlasFieldCacheCondObj* field_cond_data{nullptr};
128 ATH_CHECK(SG::get(field_cond_data, m_fieldCacheCondObjInputKey, ctx));
129 MagField::AtlasFieldCache fieldCache;
130 field_cond_data->getInitializedCache(fieldCache);
131
132 if (m_muonSummaryTool.isEnabled()) {
133 m_muonSummaryTool->copySummary(m_muonSummaryTool->makeSummary(ctx, track),
134 track_particle);
135 }
136 const GeometryContext& gctx = m_trackingGeometryTool->getGeometryContext(ctx);
137
138 static const std::array<unsigned short, Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)>
139 measurementToSummaryType ATLAS_THREAD_SAFE (makeMeasurementToSummaryTypeMap());
140
141 // re-used temporaries
142 std::vector<float> tmp_cov_vector;
143 std::vector<ActsTrk::TrackStateBackend::ConstTrackStateProxy::IndexType> tmp_param_state_idx;
144 tmp_param_state_idx.reserve(30);
145 Amg::Vector3D magnFieldVect;
146 std::vector<std::vector<float>> parametersVec;
148
149 // convert defining parameters
150 Acts::BoundTrackParameters perigeeParam = [&] {
151 if (&perigeeSurface == &track.referenceSurface()) {
152 return track.createParametersAtReference();
153 } else {
154 return parametersAtPerigee(ctx, track, perigeeSurface);
155 }
156 }();
157
158 Acts::BoundVector boundParams = perigeeParam.parameters();
159 track_particle.setDefiningParameters(boundParams[Acts::eBoundLoc0],
160 boundParams[Acts::eBoundLoc1],
161 boundParams[Acts::eBoundPhi],
162 boundParams[Acts::eBoundTheta],
163 boundParams[Acts::eBoundQOverP] * 1_MeV);
164
165 if (perigeeParam.covariance().has_value()) {
166 lowerTriangleToVectorScaleLastRow<5>(perigeeParam.covariance().value(), tmp_cov_vector, 1_MeV);
167 track_particle.setDefiningParametersCovMatrixVec(tmp_cov_vector);
168 }
169
170 // optional beam tilt
171 if (beamspot_data) {
172 track_particle.setBeamlineTiltX(beamspot_data->beamTilt(0));
173 track_particle.setBeamlineTiltY(beamspot_data->beamTilt(1));
174 }
175
176 // fit info, quality
177 track_particle.setFitQuality(track.chi2(), track.nDoF());
179 track_particle.setTrackFitter(static_cast<xAOD::TrackFitter>(m_trackFitter.value()));
180
181 const Acts::ParticleHypothesis& hypothesis = track.particleHypothesis();
182 track_particle.setParticleHypothesis(ParticleHypothesis::convert(hypothesis));
183 constexpr float inv_1_MeV = 1 / 1_MeV;
184
185 std::array<std::array<uint8_t, Acts::toUnderlying(ActsTrk::detail::HitCategory::N)>,
186 Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)> specialHitCounts{};
187
189 gatherTrackSummaryData(track,
190 measurementToSummaryType,
191 chi2_stat,
192 hitInfo,
193 tmp_param_state_idx,
194 specialHitCounts);
195
196 // pixel summaries
197 std::array<std::tuple<uint8_t, uint8_t, uint8_t, bool>, 4> copy_summary {
198 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelTotal),
199 static_cast<uint8_t>(xAOD::numberOfContribPixelLayers),
200 static_cast<uint8_t>(xAOD::numberOfPixelHits),
201 false),
202
203 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelBarrelFlat),
204 static_cast<uint8_t>(xAOD::numberOfContribPixelBarrelFlatLayers),
205 static_cast<uint8_t>(xAOD::numberOfPixelBarrelFlatHits),
206 true),
207
208 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelBarrelInclined),
210 static_cast<uint8_t>(xAOD::numberOfPixelBarrelInclinedHits),
211 true),
212
213 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelEndcap),
214 static_cast<uint8_t>(xAOD::numberOfContribPixelEndcap),
215 static_cast<uint8_t>(xAOD::numberOfPixelEndcapHits),
216 true) };
217
218 for (auto [src_region, dest_xaod_summary_layer, dest_xaod_summary_hits, add_outlier] : copy_summary) {
219 setSummaryValue(track_particle,
221 static_cast<xAOD::SummaryType>(dest_xaod_summary_layer));
222 setSummaryValue(track_particle,
224 + (add_outlier
226 : 0),
227 static_cast<xAOD::SummaryType>(dest_xaod_summary_hits));
228 }
229 setSummaryValue(track_particle,
233 setSummaryValue(track_particle,
236 setSummaryValue(track_particle,
242 setSummaryValue(track_particle,
246 setSummaryValue(track_particle,
249 setSummaryValue(track_particle,
250 specialHitCounts[Acts::toUnderlying(xAOD::UncalibMeasType::PixelClusterType)][Acts::toUnderlying(ActsTrk::detail::HitCategory::Hole)],
252 setSummaryValue(track_particle,
255 setSummaryValue(track_particle,
259 setSummaryValue(track_particle,
262
263 // expected layer pattern
264 std::array<unsigned int, 4> expect_layer_pattern{};
265 if (detail::ExpectedLayerPatternHelper::exists(track.container())) {
266 expect_layer_pattern = detail::ExpectedLayerPatternHelper::get(track);
267 } else {
268 expect_layer_pattern = (m_computeExpectedLayerPattern.value()
269 && (!m_expectIfPixelContributes.value()
273 perigeeParam,
274 m_pixelExpectLayerPathLimitInMM.value() * Acts::UnitConstants::mm)
275 : std::array<unsigned int, 4>{0u, 0u, 0u, 0u});
276 }
277
278 // @TODO consider end-caps for inner most pixel hits ?
279 setSummaryValue(track_particle,
280 static_cast<uint8_t>((expect_layer_pattern[0] & (1<<0)) != 0),
282 setSummaryValue(track_particle,
283 static_cast<uint8_t>((expect_layer_pattern[0] & (1<<1)) != 0),
285 setSummaryValue(track_particle,
288 setSummaryValue(track_particle,
291 setSummaryValue(track_particle,
294 setSummaryValue(track_particle,
297 setSummaryValue(track_particle,
300 setSummaryValue(track_particle,
303
304 // Strip summaries
305 setSummaryValue(track_particle,
308 setSummaryValue(track_particle,
311 setSummaryValue(track_particle,
314 setSummaryValue(track_particle,
315 specialHitCounts[Acts::toUnderlying(xAOD::UncalibMeasType::StripClusterType)][Acts::toUnderlying(ActsTrk::detail::HitCategory::Hole)],
317
318 double biased_chi2_variance = chi2_stat.biasedVariance();
319 setSummaryValue(track_particle,
320 static_cast<uint8_t>(biased_chi2_variance > 0.
321 ? std::min(static_cast<unsigned int>(std::sqrt(biased_chi2_variance) * 100), 255u)
322 : 0u),
324
325 setSummaryValue(track_particle,
329
330 // @TODO select states for which parameters are stored
331 if (m_firstAndLastParamOnly && tmp_param_state_idx.size() > 2) {
332 tmp_param_state_idx[1] = tmp_param_state_idx.back();
333 tmp_param_state_idx.erase(tmp_param_state_idx.begin() + 2, tmp_param_state_idx.end());
334 }
335
336 // store track parameters and covariances for selected states
337 parametersVec.clear();
338 parametersVec.reserve(tmp_param_state_idx.size());
339
340 for (std::vector<ActsTrk::TrackStateBackend::ConstTrackStateProxy::IndexType>::const_reverse_iterator
341 idx_iter = tmp_param_state_idx.rbegin();
342 idx_iter != tmp_param_state_idx.rend();
343 ++idx_iter) {
344 ActsTrk::TrackStateBackend::ConstTrackStateProxy
345 state = track.container().trackStateContainer().getTrackState(*idx_iter);
346 const Acts::BoundTrackParameters actsParam = track.createParametersFromState(state);
347
348 Acts::Vector3 position = actsParam.position(gctx.context());
349 Acts::Vector3 momentum = actsParam.momentum();
350
351 // scaling from Acts momentum units (GeV) to Athena Units (MeV)
352 for (unsigned int i = 0; i < momentum.rows(); ++i) {
353 momentum(i) *= inv_1_MeV;
354 }
355
356 if (actsParam.covariance()) {
357 Acts::MagneticFieldContext mfContext = m_extrapolationTool->getMagneticFieldContext(ctx);
358 Acts::GeometryContext tgContext = gctx.context();
359
360 magnFieldVect.setZero();
361 fieldCache.getField(position.data(), magnFieldVect.data());
362 // scaling from Athena magnetic field units kT to Acts units T
363 {
364 using namespace Acts::UnitLiterals;
365 magnFieldVect *= 1000_T;
366 }
367
368 auto curvilinear_cov_result = ActsTrk::detail::convertActsBoundCovToCurvilinearParam(tgContext, actsParam, magnFieldVect, hypothesis);
369 if (curvilinear_cov_result.has_value()) {
370 Acts::BoundMatrix& curvilinear_cov = curvilinear_cov_result.value();
371
372 // convert q/p components from GeV (Acts) to MeV (Athena)
373 for (unsigned int col_i = 0; col_i < 4; ++col_i) {
374 curvilinear_cov(col_i, 4) *= 1_MeV;
375 curvilinear_cov(4, col_i) *= 1_MeV;
376 }
377 curvilinear_cov(4, 4) *= (1_MeV * 1_MeV);
378
379 std::size_t param_idx = parametersVec.size();
380 // only use the 5x5 sub-matrix of the full covariance matrix
381 lowerTriangleToVector<5>(curvilinear_cov, tmp_cov_vector);
382 if (tmp_cov_vector.size() != 15) {
383 ATH_MSG_ERROR("Invalid size of lower triangle cov " << tmp_cov_vector.size() << " != 15"
384 << " input matrix : " << curvilinear_cov.rows() << " x " << curvilinear_cov.cols());
385 }
386 track_particle.setTrackParameterCovarianceMatrix(param_idx, tmp_cov_vector);
387 }
388 }
389 parametersVec.emplace_back(std::vector<float>{
390 static_cast<float>(position[0]), static_cast<float>(position[1]), static_cast<float>(position[2]),
391 static_cast<float>(momentum[0]), static_cast<float>(momentum[1]), static_cast<float>(momentum[2]) });
392 }
393 for (const std::vector<float>& param : parametersVec) {
394 if (param.size() != 6) {
395 ATH_MSG_ERROR("Invalid size of param element " << param.size() << " != 6");
396 }
397 }
398
399 track_particle.setTrackParameters(parametersVec);
400 if( !parametersVec.empty() ) {
402 track_particle.setParameterPosition(parametersVec.size()-1, xAOD::ParameterPosition::LastMeasurement);
403 }
404
405
406 return StatusCode::SUCCESS;
407 }
408
409 Acts::BoundTrackParameters TrackToTrackParticleCnvTool::parametersAtPerigee(const EventContext& ctx,
410 const ActsTrk::TrackContainer::ConstTrackProxy& track,
411 const Acts::Surface& perigee_surface) const {
412 const Acts::BoundTrackParameters trackParam = track.createParametersAtReference();
413
414 Acts::Result<Acts::BoundTrackParameters>
415 perigeeParam = m_extrapolationTool->propagate(ctx,
416 trackParam,
417 perigee_surface,
418 Acts::Direction::Backward(),
420 if (!perigeeParam.ok()) {
421 ATH_MSG_WARNING("Failed to extrapolate to perigee, started from \n" << trackParam << " " << trackParam.referenceSurface().name());
422 return trackParam;
423 }
424
425 return perigeeParam.value();
426 }
427
428}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
#define ATH_MSG_WARNING(x)
std::vector< size_t > vec
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
#define x
#define min(a, b)
Definition cfImp.cxx:40
#define max(a, b)
Definition cfImp.cxx:41
#define ATLAS_THREAD_SAFE
Acts::GeometryContext context() const
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
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
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCacheCondObjInputKey
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
Helper class to gather hit summary information for e.g.
DetectorRegion
Regions for which hit counts are computed.
uint8_t contributingSharedHits(DetectorRegion region) const
return the number of shared hits in a certain detector region.
uint8_t sum(DetectorRegion region, uint8_t layer) const
return the total number of hits, outliers, and/or shared hits in the givrn detector region and layer.
uint8_t contributingOutlierHits(DetectorRegion region) const
return the number of outliers in a certain detector region.
uint8_t contributingHits(DetectorRegion region) const
return the number of hits in a certain detector region.
uint8_t contributingLayers(DetectorRegion region) const
return the number of layers contributing to the hit collection in the given detector region.
Helper class to gather statistics and compute the biased variance.
void getInitializedCache(MagField::AtlasFieldCache &cache) const
get B field cache for evaluation as a function of 2-d or 3-d position.
float beamTilt(int i) const noexcept
Returns the beam sigma for the i+3-th error matrix element (the 'tilt').
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h).
void getField(const double *ATH_RESTRICT xyz, double *ATH_RESTRICT bxyz, double *ATH_RESTRICT deriv=nullptr)
get B field value at given position xyz[3] is in mm, bxyz[3] is in kT if deriv[9] is given,...
void setTrackParameterCovarianceMatrix(unsigned int index, std::vector< float > &cov)
Set the cov matrix of the parameter at 'index', using a vector of floats.
void setTrackParameters(std::vector< std::vector< float > > &parameters)
Set the parameters via the passed vector of vectors.
void setBeamlineTiltX(float tiltX)
void setParameterPosition(unsigned int index, ParameterPosition pos)
Set the 'position' (i.e. where it is in ATLAS) of the parameter at 'index', using the ParameterPositi...
void setFitQuality(float chiSquared, float numberDoF)
Set the 'Fit Quality' information.
void setBeamlineTiltY(float tiltY)
void setDefiningParameters(float d0, float z0, float phi0, float theta, float qOverP)
Set the defining parameters.
void setParticleHypothesis(const ParticleHypothesis hypo)
Method for setting the particle type, using the ParticleHypothesis enum.
void setSummaryValue(uint8_t &value, const SummaryType &information)
Set method for TrackSummary values.
void setTrackFitter(const TrackFitter fitter)
Method for setting the fitter, using the TrackFitter enum.
void setPatternRecognitionInfo(const std::bitset< xAOD::NumberOfTrackRecoInfo > &patternReco)
Method setting the pattern recognition algorithm, using a bitset.
void setDefiningParametersCovMatrixVec(const std::vector< float > &cov)
static Root::TMsgLogger logger("iLumiCalc")
xAOD::ParticleHypothesis convert(Acts::ParticleHypothesis h)
std::array< unsigned int, 4 > expectedLayerPattern(const EventContext &ctx, const ActsTrk::IExtrapolationTool &extrapolator, const Acts::BoundTrackParameters &perigee_parameters, double pathLimit)
Extrapolate from the perigee outwards and gather information which detector layers should have hits.
std::optional< Acts::BoundMatrix > convertActsBoundCovToCurvilinearParam(const Acts::GeometryContext &tgContext, const Acts::BoundTrackParameters &param, const Acts::Vector3 &magnFieldVect, const Acts::ParticleHypothesis &particle_hypothesis)
Convert the covariance of the given Acts track parameters into curvilinear parameterisation.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Eigen::Matrix< double, 3, 1 > Vector3D
unsigned int constexpr nRows
Definition RPDUtils.h:24
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
float j(const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
TrackFitter
Enums to identify who created this track and which properties does it have.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
SummaryType
Enumerates the different types of information stored in Summary.
@ numberOfInnermostPixelLayerSharedEndcapHits
number of Pixel 0th layer endcap hits shared by several tracks.
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ numberOfInnermostPixelLayerEndcapHits
these are the hits in the 0th pixel layer endcap [unit8_t].
@ numberOfNextToInnermostPixelLayerSharedHits
number of Pixel 1st layer barrel hits shared by several tracks.
@ numberOfNextToInnermostPixelLayerSharedEndcapHits
number of Pixel 1st layer endcap hits shared by several tracks.
@ numberOfContribPixelLayers
number of contributing layers of the pixel detector [unit8_t].
@ standardDeviationOfChi2OS
100 times the standard deviation of the chi2 from the surfaces [unit8_t].
@ numberOfInnermostPixelLayerEndcapOutliers
number of 0th layer endcap outliers
@ numberOfInnermostPixelLayerSharedHits
number of Pixel 0th layer barrel hits shared by several tracks.
@ numberOfPixelOutliers
these are the pixel outliers, including the b-layer [unit8_t].
@ numberOfContribPixelBarrelFlatLayers
number of contributing barrel flat layers of the pixel detector [unit8_t].
@ numberOfTrackSummaryTypes
@ numberOfNextToInnermostPixelLayerHits
these are the hits in the 1st pixel barrel layer
@ numberOfContribPixelBarrelInclinedLayers
number of contributing barrel inclined layers of the pixel detector [unit8_t].
@ numberOfPixelEndcapHits
these are the pixel hits, in the endcap layers [unit8_t].
@ numberOfInnermostPixelLayerOutliers
number of 0th layer barrel outliers
@ numberOfOutliersOnTrack
number of measurements flaged as outliers in TSOS [unit8_t].
@ numberOfNextToInnermostPixelLayerEndcapHits
these are the hits in the 0.5th and 1st pixel layer endcap rings [unit8_t].
@ expectNextToInnermostPixelLayerHit
Do we expect a 1st-layer barrel hit for this track?
@ numberOfContribPixelEndcap
number of contributing endcap layers of the pixel detector [unit8_t].
@ numberOfNextToInnermostPixelLayerEndcapOutliers
number of 1st layer endcap disk outliers
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ numberOfPixelBarrelInclinedHits
these are the pixel hits, in the barrel inclined layers [unit8_t].
@ numberOfSCTOutliers
number of SCT outliers [unit8_t].
@ numberOfPixelBarrelFlatHits
these are the pixel hits, in the barrel flat layers [unit8_t].
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
@ numberOfNextToInnermostPixelLayerOutliers
number of 1st pixel layer barrel outliers
@ numberOfSCTHoles
number of SCT holes [unit8_t].
@ FirstMeasurement
Parameter defined at the position of the 1st measurement.
@ LastMeasurement
Parameter defined at the position of the last measurement.
static std::array< unsigned int, 4 > get(const track_proxy_t &track)
static bool exists(track_container_t &trackContainer)