File tree Expand file tree Collapse file tree
Detectors/ITSMFT/ITS/tracking/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -400,6 +400,12 @@ void TrackerTraits<NLayers>::computeLayerCells(const int iteration)
400400 });
401401 }
402402 });
403+
404+ // Clear tracklets and their labels
405+ for (int iLayer = 0 ; iLayer < mTrkParams [iteration].TrackletsPerRoad (); ++iLayer) {
406+ deepVectorClear (mTimeFrame ->getTracklets ()[iLayer]);
407+ deepVectorClear (mTimeFrame ->getTrackletsLabel (iLayer));
408+ }
403409}
404410
405411template <int NLayers>
@@ -511,6 +517,11 @@ void TrackerTraits<NLayers>::findCellsNeighbours(const int iteration)
511517 }
512518 }
513519 });
520+
521+ // clear cells LUT
522+ for (int iLayer{0 }; iLayer < mTrkParams [iteration].NeighboursPerRoad (); ++iLayer) {
523+ deepVectorClear (mTimeFrame ->getCellsLookupTable ()[iLayer]);
524+ }
514525}
515526
516527template <int NLayers>
You can’t perform that action at this time.
0 commit comments