From c7dbdb17eb5d4075f9e425db16515b1c1cf88b05 Mon Sep 17 00:00:00 2001 From: Pietro Cortese Date: Wed, 23 Oct 2024 17:02:42 +0200 Subject: [PATCH] Fix missing case --- Detectors/ZDC/reconstruction/src/DigiReco.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Detectors/ZDC/reconstruction/src/DigiReco.cxx b/Detectors/ZDC/reconstruction/src/DigiReco.cxx index 397e2aef63f1c..c9981f8aa4f15 100644 --- a/Detectors/ZDC/reconstruction/src/DigiReco.cxx +++ b/Detectors/ZDC/reconstruction/src/DigiReco.cxx @@ -68,6 +68,9 @@ void DigiReco::init() } } } + }else{ + // Fill mask to identify TDC channels + mTDCMask[itdc] = (0x1 << (4 * ropt.tmod[itdc] + ropt.tch[itdc])); } next_itdc:; if (mVerbosity > DbgZero) { @@ -356,6 +359,9 @@ void DigiReco::init() } } } + } else { + // Fill mask to identify all channels + mChMask[ich] = (0x1 << (4 * ropt.amod[ich] + ropt.ach[ich])); } next_ich:; if (mVerbosity > DbgZero) {