From c959230483d786ba5fda33d0de4855b9e7a5258c Mon Sep 17 00:00:00 2001
From: Matteo Negrini <matteo.negrini@cern.ch>
Date: Fri, 16 Jul 2021 14:45:45 +0200
Subject: [PATCH] Fix for BIS RPC cabling (as done in 21.3)

---
 .../MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx b/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx
index 6f1fb859f2b..4eed2cd59fd 100644
--- a/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx
+++ b/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx
@@ -203,6 +203,7 @@ unsigned long int RpcCablingCondData::strip_code_fromOffId(const std::string& st
             cabStat = 2;  // special case of single RPC Chambers at the same R or dbr2
         }
     }
+    if (stationName.substr(0,3)=="BIS" && logicSector>31) logicSector+=1; // BIS78 are in doubPhi==1
 
     if (logicSector < 0 || logicSector > 63) { return 999999; }
 
-- 
GitLab