From 66e855bae3a9e77d90451458d1466a014fa529b6 Mon Sep 17 00:00:00 2001 From: Matteo Negrini <matteo.negrini@cern.ch> Date: Fri, 30 Jul 2021 14:34:07 +0200 Subject: [PATCH] Fix to allow a larger number of max PADId, needed for BIS78 --- .../MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx b/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx index 4eed2cd59fd..48ff6d705ad 100644 --- a/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx +++ b/MuonSpectrometer/MuonConditions/MuonCondCabling/RPC_CondCabling/src/RpcCablingCondData.cxx @@ -404,7 +404,7 @@ StatusCode RpcCablingCondData::giveROB_fromPRD(const IdentifierHash prdHashId, s bool RpcCablingCondData::give_Pad_Parameters(unsigned short int logic_sector, unsigned short int PADId, bool& feet, bool& eta_and_phi, unsigned short int& cma_mask, unsigned short int& feet_th0, unsigned short int& feet_th1, unsigned short int& feet_th2) const { - if (logic_sector >= 64 || PADId >= 8) return false; + if (logic_sector >= 64 || PADId >= 10) return false; // max PADId was 8 in Run2, increased to 10 for Run3 to allow BIS78 feet = m_RPCPadParameters_array[logic_sector][PADId].feet_on(); eta_and_phi = m_RPCPadParameters_array[logic_sector][PADId].eta_and_phi(); -- GitLab