Skip to content

Commit c8733a8

Browse files
yuanz-USTCalibuild
andauthored
[PWGDQ] Move zorro selection after event selection (AliceO2Group#13291)
Co-authored-by: ALICE Action Bot <[email protected]>
1 parent fcf8985 commit c8733a8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,11 +888,16 @@ struct TableMaker {
888888
zorro.setBCtolerance(fConfigZorro.fBcTolerance);
889889
zorro.initCCDB(fCCDB.service, fCurrentRun, bc.timestamp(), fConfigZorro.fConfigZorroTrigMask.value);
890890
zorro.populateExternalHists(fCurrentRun, reinterpret_cast<TH2D*>(fStatsList->At(kStatsZorroInfo)), reinterpret_cast<TH2D*>(fStatsList->At(kStatsZorroSel)));
891+
892+
if (!fEventCut->IsSelected(VarManager::fgValues)) {
893+
continue;
894+
}
895+
891896
bool zorroSel = zorro.isSelected(bc.globalBC(), fConfigZorro.fBcTolerance, reinterpret_cast<TH2D*>(fStatsList->At(kStatsZorroSel)));
892897
if (zorroSel) {
893898
tag |= (static_cast<uint64_t>(true) << 56); // the same bit is used for this zorro selections from ccdb
894899
}
895-
if (fConfigZorro.fConfigRunZorroSel && (!zorroSel || !fEventCut->IsSelected(VarManager::fgValues))) {
900+
if (fConfigZorro.fConfigRunZorroSel && (!zorroSel)) {
896901
continue;
897902
}
898903
} else {

0 commit comments

Comments
 (0)