4 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
5 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InEventRecoCA
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from TrigEDMConfig.TriggerEDM
import recordable
8 from TrigMuonHypo.TrigMuonHypoConfig
import TrigMuonEFMSonlyHypoToolFromDict
9 from TrigMuonHypo.TrigMuonHypoMonitoring
import TrigMuonTLAHypoMonitoring
10 from .MuonRecoSequences
import muonNames
14 muonName = muNames.EFCBName
15 if 'msonly' in chainPart[
'msonlyInfo']:
16 muonName = muNames.EFSAName
24 tlaMuonInputMakerAlg = CompFactory.InputMakerForRoI(
"IMTLAMuons"+muons)
25 tlaMuonInputMakerAlg.mergeUsingFeature =
True
26 tlaMuonInputMakerAlg.RoITool = CompFactory.ViewCreatorPreviousROITool()
27 recoAcc = InEventRecoCA(
"MuonTLARecoSeq_"+ muons,inputMaker=tlaMuonInputMakerAlg)
31 hypo = CompFactory.TrigMuonTLAHypoAlg(
"TrigMuonTLAHypoAlg_"+muons)
32 hypo.TLAOutputName = sequenceOut
35 selAcc = SelectionCA(
"TrigMuonTLAMainSeq_"+muons)
36 selAcc.mergeReco(recoAcc)
37 selAcc.addHypoAlgo(hypo)
44 return MenuSequence( flags,
46 HypoToolGen = TrigMuonEFMSonlyHypoToolFromDict