File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,9 @@ struct HfEventSelection : o2::framework::ConfigurableGroup {
207207 void init (o2::framework::HistogramRegistry& registry)
208208 {
209209 // we initialise the RCT checker
210- rctChecker.init (rctLabel.value , rctCheckZDC.value , rctTreatLimitedAcceptanceAsBad.value );
210+ if (requireGoodRct) {
211+ rctChecker.init (rctLabel.value , rctCheckZDC.value , rctTreatLimitedAcceptanceAsBad.value );
212+ }
211213
212214 // we initialise the summary object
213215 if (softwareTrigger.value != " " ) {
@@ -439,7 +441,9 @@ struct HfEventSelectionMc {
439441 configureFromDevice (device);
440442
441443 // we initialise the RCT checker
442- rctChecker.init (rctLabel, rctCheckZDC, rctTreatLimitedAcceptanceAsBad);
444+ if (requireGoodRct) {
445+ rctChecker.init (rctLabel, rctCheckZDC, rctTreatLimitedAcceptanceAsBad);
446+ }
443447
444448 // we initialise histograms
445449 addHistograms (registry);
You can’t perform that action at this time.
0 commit comments