From 73a776fc42ee06f58c4e8e1d92e051cbe2bdde5c Mon Sep 17 00:00:00 2001 From: Fabrizio Chinu <91954233+fchinu@users.noreply.github.com> Date: Sat, 4 Nov 2023 10:47:55 +0100 Subject: [PATCH] [PWGHF] Fixed Ds selection flag (#3771) * Fixed Ds selection flag * Topological selection bit is not checked anymore * Ds topological selection flag checked before setting ML selection flag --- PWGHF/TableProducer/candidateSelectorDsToKKPi.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PWGHF/TableProducer/candidateSelectorDsToKKPi.cxx b/PWGHF/TableProducer/candidateSelectorDsToKKPi.cxx index 7cb9e5356a9..df974310514 100644 --- a/PWGHF/TableProducer/candidateSelectorDsToKKPi.cxx +++ b/PWGHF/TableProducer/candidateSelectorDsToKKPi.cxx @@ -280,10 +280,10 @@ struct HfCandidateSelectorDsToKKPi { } continue; } - if (pidDsToKKPi) { + if (topolDsToKKPi && pidDsToKKPi) { SETBIT(statusDsToKKPi, aod::SelectionStep::RecoPID); } - if (pidDsToPiKK) { + if (topolDsToPiKK && pidDsToPiKK) { SETBIT(statusDsToPiKK, aod::SelectionStep::RecoPID); } if (activateQA) { @@ -309,10 +309,10 @@ struct HfCandidateSelectorDsToKKPi { hfSelDsToKKPiCandidate(statusDsToKKPi, statusDsToPiKK); continue; } - if (pidDsToKKPi) { + if (topolDsToKKPi && pidDsToKKPi) { SETBIT(statusDsToKKPi, aod::SelectionStep::RecoMl); } - if (pidDsToPiKK) { + if (topolDsToPiKK && pidDsToPiKK) { SETBIT(statusDsToPiKK, aod::SelectionStep::RecoMl); } if (activateQA) {