From 1ba74b449b15e367a403eeabad508df9d6e3a6d1 Mon Sep 17 00:00:00 2001
From: Heather Russell <heather.russell@cern.ch>
Date: Tue, 11 Jun 2019 11:47:17 +0200
Subject: [PATCH] ATR-19853, update to use muonNames class

---
 .../python/HLTMenuConfig/Bphysics/BphysicsSequenceSetup.py    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Bphysics/BphysicsSequenceSetup.py b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Bphysics/BphysicsSequenceSetup.py
index 5411fba6d922..0080057def3b 100644
--- a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Bphysics/BphysicsSequenceSetup.py
+++ b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Bphysics/BphysicsSequenceSetup.py
@@ -37,7 +37,9 @@ def dimuEFSequence(name = 'Dimu'):
     from AthenaCommon import CfgMgr
     from AthenaCommon.CFElements import parOR, seqAND
     from ViewAlgs.ViewAlgsConf import EventViewCreatorAlgorithm
+    from TriggerMenuMT.HLTMenuConfig.Muon.MuonSetup import muonNames
 
+    muNames = muonNames().getNames('RoI')
 
     dimuefViewNode = parOR("dimuefViewNode")
     
@@ -60,7 +62,7 @@ def dimuEFSequence(name = 'Dimu'):
     from TrigBphysHypo.TrigMultiTrkHypoMTMonitoringConfig import TrigMultiTrkHypoAlgMTMonitoring
     
     jpsiHypo = TrigMultiTrkHypoMT(name+"HypoAlgEF")
-    jpsiHypo.MuonCollectionKey = "MuonsCB"
+    jpsiHypo.MuonCollectionKey = muNames.EFCBName
     jpsiHypo.particleType = 1
     jpsiHypo.bphysCollectionKey = "TrigBphysEF"+name
     jpsiHypo.nTrackMassMin = [100]
-- 
GitLab