From bcddbe89cc5a6366af8be56933499de40dbd2156 Mon Sep 17 00:00:00 2001 From: Zhang Yuan Date: Wed, 8 Oct 2025 16:54:05 +0200 Subject: [PATCH 1/2] Move zorro selection after event selection --- PWGDQ/TableProducer/tableMaker_withAssoc.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PWGDQ/TableProducer/tableMaker_withAssoc.cxx b/PWGDQ/TableProducer/tableMaker_withAssoc.cxx index a8c39eeb184..76c5154a53a 100644 --- a/PWGDQ/TableProducer/tableMaker_withAssoc.cxx +++ b/PWGDQ/TableProducer/tableMaker_withAssoc.cxx @@ -888,11 +888,16 @@ struct TableMaker { zorro.setBCtolerance(fConfigZorro.fBcTolerance); zorro.initCCDB(fCCDB.service, fCurrentRun, bc.timestamp(), fConfigZorro.fConfigZorroTrigMask.value); zorro.populateExternalHists(fCurrentRun, reinterpret_cast(fStatsList->At(kStatsZorroInfo)), reinterpret_cast(fStatsList->At(kStatsZorroSel))); + + if (!fEventCut->IsSelected(VarManager::fgValues)) { + continue; + } + bool zorroSel = zorro.isSelected(bc.globalBC(), fConfigZorro.fBcTolerance, reinterpret_cast(fStatsList->At(kStatsZorroSel))); if (zorroSel) { tag |= (static_cast(true) << 56); // the same bit is used for this zorro selections from ccdb } - if (fConfigZorro.fConfigRunZorroSel && (!zorroSel || !fEventCut->IsSelected(VarManager::fgValues))) { + if (fConfigZorro.fConfigRunZorroSel && (!zorroSel)) { continue; } } else { From 62ddf50944258b342ad8e4708371aac458856f0a Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 8 Oct 2025 14:56:23 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- PWGDQ/TableProducer/tableMaker_withAssoc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGDQ/TableProducer/tableMaker_withAssoc.cxx b/PWGDQ/TableProducer/tableMaker_withAssoc.cxx index 76c5154a53a..2be35a784a8 100644 --- a/PWGDQ/TableProducer/tableMaker_withAssoc.cxx +++ b/PWGDQ/TableProducer/tableMaker_withAssoc.cxx @@ -892,7 +892,7 @@ struct TableMaker { if (!fEventCut->IsSelected(VarManager::fgValues)) { continue; } - + bool zorroSel = zorro.isSelected(bc.globalBC(), fConfigZorro.fBcTolerance, reinterpret_cast(fStatsList->At(kStatsZorroSel))); if (zorroSel) { tag |= (static_cast(true) << 56); // the same bit is used for this zorro selections from ccdb