From 9cfdbd9aea612c46b0e7d381fd750e662a8c5870 Mon Sep 17 00:00:00 2001
From: P-A Loizeau <p.-a.loizeau@gsi.de>
Date: Fri, 14 Feb 2025 21:26:55 +0100
Subject: [PATCH] online: in TOF unpacker ReadoutConfig, temp-fix bad module
 type based on NH lustre files (maybe incomplete)

---
 algo/detectors/tof/ReadoutConfig.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/algo/detectors/tof/ReadoutConfig.cxx b/algo/detectors/tof/ReadoutConfig.cxx
index aab8e3ebf8..3323882010 100644
--- a/algo/detectors/tof/ReadoutConfig.cxx
+++ b/algo/detectors/tof/ReadoutConfig.cxx
@@ -185,12 +185,13 @@ namespace cbm::algo::tof
       const auto& crob = pars.crobs.at(uGbtx);
       switch (crob.rpcType) {
         case 2:  // intended fall-through
+        case 1:  // intended fall-through
         case 0: {
           // CBM modules
           BuildChannelsUidMapCbm(uCh, crob);
           break;
         }
-        case 1: {
+        case 11: {
           // STAR eTOF  modules
           BuildChannelsUidMapStar(uCh, crob);
           break;
-- 
GitLab