Skip to content

Commit 1cd002b

Browse files
committed
add missing reset ot ITS track before the refit
1 parent 1485ea0 commit 1cd002b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Detectors/TPC/calibration/SpacePoints/src/TrackInterpolation.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,8 @@ bool TrackInterpolation::refITSTrack(o2::dataformats::GlobalTrackID gid, int see
14881488
auto nCl = trkITS.getNumberOfClusters();
14891489
auto clEntry = trkITS.getFirstClusterEntry();
14901490
o2::track::TrackParCov track(trkITS); // start from the inner param
1491+
track.resetCovariance();
1492+
track.setCov(track.getQ2Pt() * track.getQ2Pt() * track.getCov()[o2::track::CovLabels::kSigQ2Pt2], o2::track::CovLabels::kSigQ2Pt2);
14911493
track.setPID(seed.getPID());
14921494
o2::track::TrackPar refLin(track); // and use it also as linearization reference
14931495
auto geom = o2::its::GeometryTGeo::Instance();

0 commit comments

Comments
 (0)