From 3ef1cdd9f8f7f88d622a73abd3b8b294480ff9bb Mon Sep 17 00:00:00 2001 From: shahoian Date: Sun, 31 May 2026 14:38:25 +0200 Subject: [PATCH] Use full TrackParCov for TPC residuals TrackData.par --- .../SpacePoints/include/SpacePoints/TrackInterpolation.h | 4 ++-- .../TPC/calibration/SpacePoints/src/SpacePointCalibLinkDef.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/TrackInterpolation.h b/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/TrackInterpolation.h index 58627250d815e..71fb51bd8e047 100644 --- a/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/TrackInterpolation.h +++ b/Detectors/TPC/calibration/SpacePoints/include/SpacePoints/TrackInterpolation.h @@ -197,7 +197,7 @@ struct TrackDataExtended { /// Structure filled for each track with track quality information and a vector with TPCClusterResiduals struct TrackData { o2::dataformats::GlobalTrackID gid{}; ///< global track ID for seeding track - o2::track::TrackPar par{}; ///< ITS track at inner TPC radius + o2::track::TrackParCov par{}; ///< ITS track at inner TPC radius float dEdxTPC{}; ///< TPC dEdx information float chi2TPC{}; ///< chi2 of TPC track float chi2ITS{}; ///< chi2 of ITS track @@ -226,7 +226,7 @@ struct TrackData { } float getMultStackPacked(int stack) const { return multStack[stack]; } - ClassDefNV(TrackData, 10); + ClassDefNV(TrackData, 11); }; /// \class TrackInterpolation diff --git a/Detectors/TPC/calibration/SpacePoints/src/SpacePointCalibLinkDef.h b/Detectors/TPC/calibration/SpacePoints/src/SpacePointCalibLinkDef.h index a3f9f3fe2267c..4703c7ff39fce 100644 --- a/Detectors/TPC/calibration/SpacePoints/src/SpacePointCalibLinkDef.h +++ b/Detectors/TPC/calibration/SpacePoints/src/SpacePointCalibLinkDef.h @@ -40,4 +40,6 @@ #pragma link C++ class o2::conf::ConfigurableParamHelper < o2::tpc::SpacePointsCalibConfParam> + ; #pragma link C++ struct o2::tpc::SpacePointsCalibConfParam; +#pragma read sourceClass = "o2::tpc::TrackData" targetClass = "o2::tpc::TrackData" source = "o2::track::TrackPar par" version = "[-10]" target = "par" code = "{}"; + #endif