Skip to content
Snippets Groups Projects
Commit 0ad409bd authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2: Committed by Edward Moyse
Browse files

MuonChamberAssembleTool - Fix crash when geometry does not schedule Rpc

MuonChamberAssembleTool - Fix crash when geometry does not schedule Rpc
parent ba092933
No related branches found
No related tags found
No related merge requests found
......@@ -55,10 +55,10 @@ StatusCode ChamberAssembleTool::buildReadOutElements(MuonDetectorManager &mgr) {
tgcStationIndex("T2E"), tgcStationIndex("T2F"),
tgcStationIndex("T3E"), tgcStationIndex("T3F")};
const std::set<Identifier> BOE_ids{m_idHelperSvc->mdtIdHelper().elementID("BOL", 7,7),
m_idHelperSvc->mdtIdHelper().elementID("BOL", -7,7),
m_idHelperSvc->rpcIdHelper().elementID( "BOL", -8, 7, 1),
m_idHelperSvc->rpcIdHelper().elementID( "BOL", 8, 7, 1)};
const std::set<Identifier> BOE_ids{m_idHelperSvc->hasMDT() ? m_idHelperSvc->mdtIdHelper().elementID("BOL", 7,7): Identifier{},
m_idHelperSvc->hasMDT() ? m_idHelperSvc->mdtIdHelper().elementID("BOL", -7,7): Identifier{},
m_idHelperSvc->hasRPC() ? m_idHelperSvc->rpcIdHelper().elementID("BOL", -8, 7, 1) : Identifier{},
m_idHelperSvc->hasRPC() ? m_idHelperSvc->rpcIdHelper().elementID("BOL", 8, 7, 1) : Identifier{}};
std::vector<MuonReadoutElement*> allReadOutEles = mgr.getAllReadoutElements();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment