22 template <
typename track_container_t,
typename track_state_container_t,
23 template <
typename>
class holder_t>
32 track.nMeasurements() = 0;
33 track.nSharedHits() = 0;
34 track.nOutliers() = 0;
36 for (
const auto& trackState : track.trackStatesReversed()) {
37 auto typeFlags = trackState.typeFlags();
41 track.nSharedHits()++;
44 track.nMeasurements()++;
45 track.chi2() += trackState.chi2();
46 track.nDoF() += trackState.calibratedSize();