Skip to content

Commit 1d58e66

Browse files
committed
Fixed bug:Using isBestCollIndex instead of bestCollisionIndex
1 parent dc62da0 commit 1d58e66

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGLF/Tasks/Nuspex/piKpRAA.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,12 +1542,12 @@ struct PiKpRAA {
15421542
hasbc = collision.has_foundBC();
15431543
hasft0 = collision.has_foundFT0();
15441544
hastvx = collision.selection_bit(o2::aod::evsel::kIsTriggerTVX);
1545-
hasBcFT0TVX = hasbc && hasft0 && hastvx;
1545+
hasBcFT0TVX = (hasbc && hasft0 && hastvx);
15461546

15471547
if (hasBcFT0TVX) {
15481548
// NUMERATOR/DENOMINATOR OF THE EVENT LOSS
15491549
registry.fill(HIST("NchMC_WithRecoEvt_HasFT0AndTVX"), nChMCTPCAcc);
1550-
if (hasBcFT0TVX && bestCollisionIndex) {
1550+
if (hasBcFT0TVX && isBestCollIndex) {
15511551
registry.fill(HIST("NchMC_WithRecoEvt_HasFT0AndTVX_BestCollIdx"), nChMCTPCAcc);
15521552
}
15531553
}

0 commit comments

Comments
 (0)