From 2569f7b61f965b6c8d275026e258e9b47aaf7b70 Mon Sep 17 00:00:00 2001
From: Dominik Smith <smith@th.physik.uni-frankfurt.de>
Date: Thu, 29 Jun 2023 11:36:29 +0200
Subject: [PATCH] Updated MuchReadoutConfig::CreateMuchAddress() to account for
 2022 changes.

---
 algo/detectors/much/MuchReadoutConfig.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/algo/detectors/much/MuchReadoutConfig.cxx b/algo/detectors/much/MuchReadoutConfig.cxx
index ffc66caee8..4a2ae11522 100644
--- a/algo/detectors/much/MuchReadoutConfig.cxx
+++ b/algo/detectors/much/MuchReadoutConfig.cxx
@@ -129,7 +129,7 @@ namespace cbm::algo
       station = 0;  // for mCBM setup
       layer   = 0;  // Station 0 for GEM-A and station 1 for Module GEM-B
     }
-    else if (dpbidx == 4 || dpbidx == 5)  //Last 2 DPBs are for GEM-2
+    else if (dpbidx == 4 || dpbidx == 5 || dpbidx == 6)  //Last 3 DPBs are for GEM-2 after 10/04/2022
     {
       station = 1;  // for mCBM setup  station
       layer   = 0;  // 0 for Module GEM-A and 1 for Module GEM-B
-- 
GitLab