From 99faace8bc022454673057ae44f873495123c059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BiaoZhang=20=28=E5=BC=A0=E5=BD=AA=29?= <52267892+zhangbiao-phy@users.noreply.github.com> Date: Fri, 17 Oct 2025 15:56:09 +0200 Subject: [PATCH 1/2] Fix potential bug in Dstar candidate selection when debug mode is enabled --- PWGHF/TableProducer/trackIndexSkimCreator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PWGHF/TableProducer/trackIndexSkimCreator.cxx b/PWGHF/TableProducer/trackIndexSkimCreator.cxx index 8bc26864059..cbd6ba1d374 100644 --- a/PWGHF/TableProducer/trackIndexSkimCreator.cxx +++ b/PWGHF/TableProducer/trackIndexSkimCreator.cxx @@ -1884,9 +1884,8 @@ struct HfTrackIndexSkimCreator { isSelected = 0; if (config.debug) { CLRBIT(cutStatus, 0); - } else { + } return isSelected; - } } // D0 mass From c3313b602f06ff1d4b92414b9e2cc499d30f5841 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 17 Oct 2025 13:57:10 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- PWGHF/TableProducer/trackIndexSkimCreator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGHF/TableProducer/trackIndexSkimCreator.cxx b/PWGHF/TableProducer/trackIndexSkimCreator.cxx index cbd6ba1d374..f95eb86a58a 100644 --- a/PWGHF/TableProducer/trackIndexSkimCreator.cxx +++ b/PWGHF/TableProducer/trackIndexSkimCreator.cxx @@ -1884,8 +1884,8 @@ struct HfTrackIndexSkimCreator { isSelected = 0; if (config.debug) { CLRBIT(cutStatus, 0); - } - return isSelected; + } + return isSelected; } // D0 mass