File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Detectors/TPC/calibration/SpacePoints/src Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ void TrackInterpolation::prepareInputTrackSample(const o2::globaltracking::RecoC
160160 int idMin = vtref.getFirstEntryOfSource (is), idMax = idMin + vtref.getEntriesOfSource (is);
161161 for (int i = idMin; i < idMax; i++) {
162162 auto vid = trackIndex[i];
163+ auto vidOrig = vid; // in case only ITS-TPC tracks are configured vid might be overwritten. We need to remember it for the PID
163164 if (mParams ->ignoreNonPVContrib && !vid.isPVContributor ()) {
164165 continue ;
165166 }
@@ -183,6 +184,7 @@ void TrackInterpolation::prepareInputTrackSample(const o2::globaltracking::RecoC
183184 continue ;
184185 }
185186 mSeeds .push_back (mRecoCont ->getITSTrack (gidTable[GTrackID::ITS]).getParamOut ());
187+ mSeeds .back ().setPID (mRecoCont ->getTrackParam (vidOrig).getPID ());
186188 mGIDs .push_back (vid);
187189 mGIDtables .push_back (gidTable);
188190 mTrackTimes .push_back (pv.getTimeStamp ().getTimeStamp ());
You can’t perform that action at this time.
0 commit comments