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 <tuple>
29
30namespace {
31
32 template <typename T, class T_SquareMatrix>
33 inline void lowerTriangleToVector(const T_SquareMatrix& covMatrix,
34 std::vector<T>& vec, unsigned int n_rows_max) {
35 assert( covMatrix.rows() == covMatrix.cols());
36 vec.clear();
37 unsigned int n_rows = std::min(n_rows_max, static_cast<unsigned int>(covMatrix.rows()));
38 vec.reserve((n_rows+1)*n_rows/2);
39 for (unsigned int i = 0; i < n_rows; ++i) {
40 for (unsigned int j = 0; j <= i; ++j) {
41 vec.emplace_back(covMatrix(i, j));
42 }
43 }
44 }
45
46 template <typename T, class T_SquareMatrix>
47 inline void lowerTriangleToVectorScaleLastRow(const T_SquareMatrix& covMatrix,
48 std::vector<T>& vec, unsigned int n_rows_max,
49 typename T_SquareMatrix::Scalar last_element_scale) {
50 assert( covMatrix.rows() == covMatrix.cols());
51 vec.clear();
52 unsigned int n_rows = std::min(n_rows_max, static_cast<unsigned int>(covMatrix.rows()));
53 vec.reserve((n_rows+1)*n_rows/2);
54 for (unsigned int i = 0; i < n_rows; ++i) {
55 for (unsigned int j = 0; j <= i; ++j) {
56 vec.emplace_back(covMatrix(i, j));
57 }
58 }
59 typename std::vector<T>::iterator cov_iter = vec.end();
60 --cov_iter;
61 *cov_iter *= last_element_scale;
62 for (unsigned int i=0; i<n_rows_max; ++i) {
63 *cov_iter *= last_element_scale;
64 --cov_iter;
65 }
66 }
67
68 void setSummaryValue(xAOD::TrackParticle& track_particle, uint8_t value, xAOD::SummaryType summary_type) {
70 track_particle.setSummaryValue(tmp, summary_type);
71 }
72
73 std::array<unsigned short, Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)> makeMeasurementToSummaryTypeMap() {
74 std::array<unsigned short, Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)> ret;
75 for (unsigned short& elm : ret) {
77 }
80 return ret;
81 }
82}
83
84namespace ActsTrk {
85
87 {
89 ATH_CHECK( m_extrapolationTool.retrieve() );
91 ATH_CHECK( m_muonSummaryTool.retrieve(EnableTool{!m_muonSummaryTool.empty()}));
92
93 // propagator for conversion to curvilinear parameters
94 {
95 auto logger = makeActsAthenaLogger(this, "Prop");
96 Navigator::Config cfg{m_trackingGeometryTool->trackingGeometry()};
97 cfg.resolvePassive = false;
98 cfg.resolveMaterial = true;
99 cfg.resolveSensitive = true;
100 auto navigtor_logger = logger->cloneWithSuffix("Navigator");
101 m_propagator = std::make_unique<Propagator>(Stepper(std::make_shared<ATLASMagneticFieldWrapper>()),
102 Navigator(cfg, std::move(navigtor_logger)),
103 std::move(logger));
104 }
105
106 return StatusCode::SUCCESS;
107 }
108
110 const EventContext& ctx,
111 const ActsTrk::TrackContainer::ConstTrackProxy& track,
112 const Acts::Surface& perigeeSurface,
113 const InDet::BeamSpotData* beamspot_data) const {
114 using namespace Acts::UnitLiterals;
115
116 const AtlasFieldCacheCondObj* field_cond_data{nullptr};
117 ATH_CHECK(SG::get(field_cond_data, m_fieldCacheCondObjInputKey, ctx));
118 MagField::AtlasFieldCache fieldCache;
119 field_cond_data->getInitializedCache(fieldCache);
120
121 if (m_muonSummaryTool.isEnabled()) {
122 m_muonSummaryTool->copySummary(m_muonSummaryTool->makeSummary(ctx, track),
123 track_particle);
124 }
125 const GeometryContext& gctx = m_trackingGeometryTool->getGeometryContext(ctx);
126
127 static const std::array<unsigned short, Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)>
128 measurementToSummaryType ATLAS_THREAD_SAFE (makeMeasurementToSummaryTypeMap());
129
130 // re-used temporaries
131 std::vector<float> tmp_cov_vector;
132 std::vector<ActsTrk::TrackStateBackend::ConstTrackStateProxy::IndexType> tmp_param_state_idx;
133 tmp_param_state_idx.reserve(30);
134 Amg::Vector3D magnFieldVect;
135 std::vector<std::vector<float>> parametersVec;
137
138 // convert defining parameters
139 Acts::BoundTrackParameters perigeeParam = [&] {
140 if (&perigeeSurface == &track.referenceSurface()) {
141 return track.createParametersAtReference();
142 } else {
143 return parametersAtPerigee(ctx, track, perigeeSurface);
144 }
145 }();
146
147 Acts::BoundVector boundParams = perigeeParam.parameters();
148 track_particle.setDefiningParameters(boundParams[Acts::eBoundLoc0],
149 boundParams[Acts::eBoundLoc1],
150 boundParams[Acts::eBoundPhi],
151 boundParams[Acts::eBoundTheta],
152 boundParams[Acts::eBoundQOverP] * 1_MeV);
153
154 if (perigeeParam.covariance().has_value()) {
155 lowerTriangleToVectorScaleLastRow(perigeeParam.covariance().value(), tmp_cov_vector, 5, 1_MeV);
156 track_particle.setDefiningParametersCovMatrixVec(tmp_cov_vector);
157 }
158
159 // optional beam tilt
160 if (beamspot_data) {
161 track_particle.setBeamlineTiltX(beamspot_data->beamTilt(0));
162 track_particle.setBeamlineTiltY(beamspot_data->beamTilt(1));
163 }
164
165 // fit info, quality
166 track_particle.setFitQuality(track.chi2(), track.nDoF());
168 track_particle.setTrackFitter(static_cast<xAOD::TrackFitter>(m_trackFitter.value()));
169
170 const Acts::ParticleHypothesis& hypothesis = track.particleHypothesis();
171 track_particle.setParticleHypothesis(ParticleHypothesis::convert(hypothesis));
172 constexpr float inv_1_MeV = 1 / 1_MeV;
173
174 std::array<std::array<uint8_t, Acts::toUnderlying(ActsTrk::detail::HitCategory::N)>,
175 Acts::toUnderlying(xAOD::UncalibMeasType::nTypes)> specialHitCounts{};
176
178 gatherTrackSummaryData(track,
179 measurementToSummaryType,
180 chi2_stat,
181 hitInfo,
182 tmp_param_state_idx,
183 specialHitCounts);
184
185 // pixel summaries
186 std::array<std::tuple<uint8_t, uint8_t, uint8_t, bool>, 4> copy_summary {
187 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelTotal),
188 static_cast<uint8_t>(xAOD::numberOfContribPixelLayers),
189 static_cast<uint8_t>(xAOD::numberOfPixelHits),
190 false),
191
192 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelBarrelFlat),
193 static_cast<uint8_t>(xAOD::numberOfContribPixelBarrelFlatLayers),
194 static_cast<uint8_t>(xAOD::numberOfPixelBarrelFlatHits),
195 true),
196
197 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelBarrelInclined),
199 static_cast<uint8_t>(xAOD::numberOfPixelBarrelInclinedHits),
200 true),
201
202 std::make_tuple(static_cast<uint8_t>(ActsTrk::detail::HitSummaryData::pixelEndcap),
203 static_cast<uint8_t>(xAOD::numberOfContribPixelEndcap),
204 static_cast<uint8_t>(xAOD::numberOfPixelEndcapHits),
205 true) };
206
207 for (auto [src_region, dest_xaod_summary_layer, dest_xaod_summary_hits, add_outlier] : copy_summary) {
208 setSummaryValue(track_particle,
210 static_cast<xAOD::SummaryType>(dest_xaod_summary_layer));
211 setSummaryValue(track_particle,
213 + (add_outlier
215 : 0),
216 static_cast<xAOD::SummaryType>(dest_xaod_summary_hits));
217 }
218 setSummaryValue(track_particle,
222 setSummaryValue(track_particle,
225 setSummaryValue(track_particle,
231 setSummaryValue(track_particle,
235 setSummaryValue(track_particle,
238 setSummaryValue(track_particle,
239 specialHitCounts[Acts::toUnderlying(xAOD::UncalibMeasType::PixelClusterType)][Acts::toUnderlying(ActsTrk::detail::HitCategory::Hole)],
241 setSummaryValue(track_particle,
244 setSummaryValue(track_particle,
248 setSummaryValue(track_particle,
251
252 // expected layer pattern
253 std::array<unsigned int, 4> expect_layer_pattern{};
254 if (detail::ExpectedLayerPatternHelper::exists(track.container())) {
255 expect_layer_pattern = detail::ExpectedLayerPatternHelper::get(track);
256 } else {
257 expect_layer_pattern = (m_computeExpectedLayerPattern.value()
258 && (!m_expectIfPixelContributes.value()
262 perigeeParam,
263 m_pixelExpectLayerPathLimitInMM.value() * Acts::UnitConstants::mm)
264 : std::array<unsigned int, 4>{0u, 0u, 0u, 0u});
265 }
266
267 // @TODO consider end-caps for inner most pixel hits ?
268 setSummaryValue(track_particle,
269 static_cast<uint8_t>((expect_layer_pattern[0] & (1<<0)) != 0),
271 setSummaryValue(track_particle,
272 static_cast<uint8_t>((expect_layer_pattern[0] & (1<<1)) != 0),
274 setSummaryValue(track_particle,
277 setSummaryValue(track_particle,
280 setSummaryValue(track_particle,
283 setSummaryValue(track_particle,
286 setSummaryValue(track_particle,
289 setSummaryValue(track_particle,
292
293 // Strip summaries
294 setSummaryValue(track_particle,
297 setSummaryValue(track_particle,
300 setSummaryValue(track_particle,
303 setSummaryValue(track_particle,
304 specialHitCounts[Acts::toUnderlying(xAOD::UncalibMeasType::StripClusterType)][Acts::toUnderlying(ActsTrk::detail::HitCategory::Hole)],
306
307 double biased_chi2_variance = chi2_stat.biasedVariance();
308 setSummaryValue(track_particle,
309 static_cast<uint8_t>(biased_chi2_variance > 0.
310 ? std::min(static_cast<unsigned int>(std::sqrt(biased_chi2_variance) * 100), 255u)
311 : 0u),
313
314 setSummaryValue(track_particle,
318
319 // @TODO select states for which parameters are stored
320 if (m_firstAndLastParamOnly && tmp_param_state_idx.size() > 2) {
321 tmp_param_state_idx[1] = tmp_param_state_idx.back();
322 tmp_param_state_idx.erase(tmp_param_state_idx.begin() + 2, tmp_param_state_idx.end());
323 }
324
325 // store track parameters and covariances for selected states
326 parametersVec.clear();
327 parametersVec.reserve(tmp_param_state_idx.size());
328
329 for (std::vector<ActsTrk::TrackStateBackend::ConstTrackStateProxy::IndexType>::const_reverse_iterator
330 idx_iter = tmp_param_state_idx.rbegin();
331 idx_iter != tmp_param_state_idx.rend();
332 ++idx_iter) {
333 ActsTrk::TrackStateBackend::ConstTrackStateProxy
334 state = track.container().trackStateContainer().getTrackState(*idx_iter);
335 const Acts::BoundTrackParameters actsParam = track.createParametersFromState(state);
336
337 Acts::Vector3 position = actsParam.position(gctx.context());
338 Acts::Vector3 momentum = actsParam.momentum();
339
340 // scaling from Acts momentum units (GeV) to Athena Units (MeV)
341 for (unsigned int i = 0; i < momentum.rows(); ++i) {
342 momentum(i) *= inv_1_MeV;
343 }
344
345 if (actsParam.covariance()) {
346 Acts::MagneticFieldContext mfContext = m_extrapolationTool->getMagneticFieldContext(ctx);
347 Acts::GeometryContext tgContext = gctx.context();
348
349 magnFieldVect.setZero();
350 fieldCache.getField(position.data(), magnFieldVect.data());
351 // scaling from Athena magnetic field units kT to Acts units T
352 {
353 using namespace Acts::UnitLiterals;
354 magnFieldVect *= 1000_T;
355 }
356
357 auto curvilinear_cov_result = ActsTrk::detail::convertActsBoundCovToCurvilinearParam(tgContext, actsParam, magnFieldVect, hypothesis);
358 if (curvilinear_cov_result.has_value()) {
359 Acts::BoundMatrix& curvilinear_cov = curvilinear_cov_result.value();
360
361 // convert q/p components from GeV (Acts) to MeV (Athena)
362 for (unsigned int col_i = 0; col_i < 4; ++col_i) {
363 curvilinear_cov(col_i, 4) *= 1_MeV;
364 curvilinear_cov(4, col_i) *= 1_MeV;
365 }
366 curvilinear_cov(4, 4) *= (1_MeV * 1_MeV);
367
368 std::size_t param_idx = parametersVec.size();
369 // only use the 5x5 sub-matrix of the full covariance matrix
370 lowerTriangleToVector(curvilinear_cov, tmp_cov_vector, 5);
371 if (tmp_cov_vector.size() != 15) {
372 ATH_MSG_ERROR("Invalid size of lower triangle cov " << tmp_cov_vector.size() << " != 15"
373 << " input matrix : " << curvilinear_cov.rows() << " x " << curvilinear_cov.cols());
374 }
375 track_particle.setTrackParameterCovarianceMatrix(param_idx, tmp_cov_vector);
376 }
377 }
378 parametersVec.emplace_back(std::vector<float>{
379 static_cast<float>(position[0]), static_cast<float>(position[1]), static_cast<float>(position[2]),
380 static_cast<float>(momentum[0]), static_cast<float>(momentum[1]), static_cast<float>(momentum[2]) });
381 }
382 for (const std::vector<float>& param : parametersVec) {
383 if (param.size() != 6) {
384 ATH_MSG_ERROR("Invalid size of param element " << param.size() << " != 6");
385 }
386 }
387
388 track_particle.setTrackParameters(parametersVec);
389 if( !parametersVec.empty() ) {
391 track_particle.setParameterPosition(parametersVec.size()-1, xAOD::ParameterPosition::LastMeasurement);
392 }
393
394
395 return StatusCode::SUCCESS;
396 }
397
398 Acts::BoundTrackParameters TrackToTrackParticleCnvTool::parametersAtPerigee(const EventContext& ctx,
399 const ActsTrk::TrackContainer::ConstTrackProxy& track,
400 const Acts::Surface& perigee_surface) const {
401 const Acts::BoundTrackParameters trackParam = track.createParametersAtReference();
402
403 Acts::Result<Acts::BoundTrackParameters>
404 perigeeParam = m_extrapolationTool->propagate(ctx,
405 trackParam,
406 perigee_surface,
407 Acts::Direction::Backward(),
409 if (!perigeeParam.ok()) {
410 ATH_MSG_WARNING("Failed to extrapolate to perigee, started from \n" << trackParam << " " << trackParam.referenceSurface().name());
411 return trackParam;
412 }
413
414 return perigeeParam.value();
415 }
416
417}
#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 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
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)