Skip to content

Commit 38b2e67

Browse files
committed
Update
1 parent 7a4d271 commit 38b2e67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ struct OnTheFlyTracker {
11511151
nV0SiliconHits[i] = fastTracker[icfg]->GetNSiliconPoints();
11521152
nV0TPCHits[i] = fastTracker[icfg]->GetNGasPoints();
11531153

1154-
if (nV0Hits[i] < 0) { // QA
1154+
if (nV0Hits[i] < 0 && v0DecaySettings.doV0QA) { // QA
11551155
fillHist(TH1, Form("V0Building_Configuration_%i/hFastTrackerQA", icfg), o2::math_utils::abs(nV0Hits[i]));
11561156
}
11571157

@@ -1160,7 +1160,7 @@ struct OnTheFlyTracker {
11601160
} else {
11611161
continue; // extra sure
11621162
}
1163-
for (uint32_t ih = 0; ih < fastTracker[icfg]->GetNHits(); ih++) {
1163+
for (uint32_t ih = 0; ih < fastTracker[icfg]->GetNHits() && v0DecaySettings.doV0QA; ih++) {
11641164
fillHist(TH2, Form("V0Building_Configuration_%i/hFastTrackerHits", icfg), fastTracker[icfg]->GetHitZ(ih), std::hypot(fastTracker[icfg]->GetHitX(ih), fastTracker[icfg]->GetHitY(ih)));
11651165
}
11661166
} else {

0 commit comments

Comments
 (0)