From 4088a582ce5567423cf9d7386eb3a1b8191f1367 Mon Sep 17 00:00:00 2001 From: Lucamicheletti93 Date: Tue, 7 Apr 2026 17:27:25 +0200 Subject: [PATCH] Adding missing flag for event selection --- PWGDQ/Core/VarManager.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PWGDQ/Core/VarManager.h b/PWGDQ/Core/VarManager.h index 594317a5cd4..6733583a21d 100644 --- a/PWGDQ/Core/VarManager.h +++ b/PWGDQ/Core/VarManager.h @@ -2085,6 +2085,9 @@ void VarManager::FillEvent(T const& event, float* values) if (fgUsedVars[kIsNoSameBunch]) { values[kIsNoSameBunch] = (event.selection_bit(o2::aod::evsel::kNoSameBunchPileup) > 0); } + if (fgUsedVars[kIsTriggerZNAZNC]) { + values[kIsTriggerZNAZNC] = event.selection_bit(o2::aod::evsel::kIsBBZNA) && event.selection_bit(o2::aod::evsel::kIsBBZNC); + } if (fgUsedVars[kIsGoodZvtxFT0vsPV]) { values[kIsGoodZvtxFT0vsPV] = (event.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV) > 0); }