Skip to content

Commit afa2f10

Browse files
committed
TrackIndices are simple counters, not GlobalTrackID
1 parent 7a9c104 commit afa2f10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Detectors/TPC/calibration/SpacePoints/include/SpacePoints/TrackInterpolation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class TrackInterpolation
303303
std::vector<float> mTrackTimes{}; ///< time estimates for all input tracks in micro seconds
304304
std::vector<o2::track::TrackParCov> mSeeds{}; ///< seeding track parameters (ITS tracks)
305305
std::map<int, int> mTrackTypes; ///< mapping of track source to array index in mTrackIndices
306-
std::array<std::vector<o2::dataformats::GlobalTrackID>, 4> mTrackIndices; ///< keep GIDs of input tracks separately for each track type
306+
std::array<std::vector<uint32_t>, 4> mTrackIndices; ///< keep GIDs of input tracks separately for each track type
307307
gsl::span<const TPCClRefElem> mTPCTracksClusIdx; ///< input TPC cluster indices from span
308308
const ClusterNativeAccess* mTPCClusterIdxStruct = nullptr; ///< struct holding the TPC cluster indices
309309
// ITS specific input only needed for debugging

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ void TrackInterpolation::process()
262262
// in blocks.
263263
std::random_device rd;
264264
std::mt19937 g(rd());
265-
std::vector<GTrackID> trackIndices; // here we keep the GIDs for all track types in a single vector to use in loop
265+
std::vector<uint32_t> trackIndices; // here we keep the GIDs for all track types in a single vector to use in loop
266266
std::shuffle(mTrackIndices[mTrackTypes[GTrackID::ITSTPCTRDTOF]].begin(), mTrackIndices[mTrackTypes[GTrackID::ITSTPCTRDTOF]].end(), g);
267267
std::shuffle(mTrackIndices[mTrackTypes[GTrackID::ITSTPCTRD]].begin(), mTrackIndices[mTrackTypes[GTrackID::ITSTPCTRD]].end(), g);
268268
std::shuffle(mTrackIndices[mTrackTypes[GTrackID::ITSTPCTOF]].begin(), mTrackIndices[mTrackTypes[GTrackID::ITSTPCTOF]].end(), g);

0 commit comments

Comments
 (0)