File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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) {
You can’t perform that action at this time.
0 commit comments