Skip to content

Commit 78f367c

Browse files
committed
[PWGMM] Use config paramter to store or reject non-zero CTP bc-mask
1 parent 6126477 commit 78f367c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGMM/Lumi/Tasks/LumiFDDFT0.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ struct LumiFDDFT0 {
141141
Configurable<int> nContribMax{"nContribMax", 2500, "Maximum number of contributors"};
142142
Configurable<int> nContribMin{"nContribMin", 10, "Minimum number of contributors"};
143143
Configurable<bool> useRelTimeStamp{"useRelTimeStamp", false, "timestamp info stored as relative to fttimestamp"};
144+
Configurable<bool> cfgKeepOnlyNonZeroCTPMask{"cfgKeepOnlyNonZeroCTPMask", false, "Keep only events with non-zero CTP mask"};
144145

145146
HistogramRegistry histos{
146147
"histos",
@@ -352,7 +353,7 @@ struct LumiFDDFT0 {
352353
for (const auto& bc : bcs) {
353354
if (!bc.timestamp())
354355
continue;
355-
if (bc.inputMask() == 0) // No trigger inputs active
356+
if (bc.inputMask() == 0 && cfgKeepOnlyNonZeroCTPMask) // No trigger inputs active
356357
continue;
357358

358359
if (useRelTimeStamp) {

0 commit comments

Comments
 (0)