From dd24d13c9a7a3d4104902430a303f762012dc0a1 Mon Sep 17 00:00:00 2001 From: shahoian Date: Sun, 7 Dec 2025 01:43:40 +0100 Subject: [PATCH] add missing reset ot ITS track before the refit --- .../TPC/calibration/SpacePoints/src/TrackInterpolation.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Detectors/TPC/calibration/SpacePoints/src/TrackInterpolation.cxx b/Detectors/TPC/calibration/SpacePoints/src/TrackInterpolation.cxx index dddb0a5c435bc..7db5b7455f1a7 100644 --- a/Detectors/TPC/calibration/SpacePoints/src/TrackInterpolation.cxx +++ b/Detectors/TPC/calibration/SpacePoints/src/TrackInterpolation.cxx @@ -1488,6 +1488,8 @@ bool TrackInterpolation::refITSTrack(o2::dataformats::GlobalTrackID gid, int see auto nCl = trkITS.getNumberOfClusters(); auto clEntry = trkITS.getFirstClusterEntry(); o2::track::TrackParCov track(trkITS); // start from the inner param + track.resetCovariance(); + track.setCov(track.getQ2Pt() * track.getQ2Pt() * track.getCov()[o2::track::CovLabels::kSigQ2Pt2], o2::track::CovLabels::kSigQ2Pt2); track.setPID(seed.getPID()); o2::track::TrackPar refLin(track); // and use it also as linearization reference auto geom = o2::its::GeometryTGeo::Instance();