Skip to content

Commit 29d1fb6

Browse files
committed
Changing to mRecTracks[iCol][i]
1 parent 45ea3f9 commit 29d1fb6

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎GPU/GPUTracking/qa/GPUQA.cxx‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,20 +1110,11 @@ void GPUQA::RunQA(bool matchOnly, const std::vector<o2::tpc::TrackTPC>* tracksEx
11101110
// Keep these per MC label: the reverse label map retains only one clone.
11111111
struct LowestRowInfo {
11121112
int32_t row = GPUTPCGeometry::NROWS;
1113-
int32_t nTracks = 0;
11141113
};
11151114
std::vector<std::vector<LowestRowInfo>> lowestRowInfo(GetNMCCollissions());
11161115
for (uint32_t iCol = 0; iCol < GetNMCCollissions(); iCol++) {
11171116
lowestRowInfo[iCol].resize(GetNMCTracks(iCol));
11181117
}
1119-
for (uint32_t i = 0; i < nReconstructedTracks; i++) {
1120-
const auto& label = mTrackMCLabels[i];
1121-
// Count all reconstructed segments, including fake-flagged label matches,
1122-
// without applying the selection cuts to the other segments.
1123-
if (mTracking->mIOPtrs.mergedTracks[i].OK() && label.isValid() && !label.isNoise()) {
1124-
GetMCTrackObj(lowestRowInfo, label).nTracks++;
1125-
}
1126-
}
11271118
std::fill(lowestPadRow.begin(), lowestPadRow.end(), 255);
11281119
for (uint32_t iSector = 0; iSector < GPUTPCGeometry::NSECTORS; iSector++) {
11291120
for (uint32_t iRow = 0; iRow < GPUTPCGeometry::NROWS; iRow++) {
@@ -1163,7 +1154,7 @@ void GPUQA::RunQA(bool matchOnly, const std::vector<o2::tpc::TrackTPC>* tracksEx
11631154
const int32_t difference = (int32_t)lowestCl->row - info.row;
11641155
mLowestRowDifferenceVsPad->Fill(pad, difference);
11651156
if (CAMath::Abs(difference) > 5 && pad > 5.f && pad < GPUTPCGeometry::NPads(lowestCl->row) - 5.f) {
1166-
mLowestRowTrackMultiplicity->Fill(info.nTracks);
1157+
mLowestRowTrackMultiplicity->Fill(GetMCTrackObj(mRecTracks, label));
11671158
}
11681159
}
11691160
}

0 commit comments

Comments
 (0)