21def MuonTLASequenceCfg(flags, muons):
22
23
24 tlaMuonInputMakerAlg = CompFactory.InputMakerForRoI("IMTLAMuons"+muons)
25 tlaMuonInputMakerAlg.mergeUsingFeature = True
26 tlaMuonInputMakerAlg.RoITool = CompFactory.ViewCreatorPreviousROITool()
27 recoAcc = InEventRecoCA("MuonTLARecoSeq_"+ muons,inputMaker=tlaMuonInputMakerAlg)
28
29 sequenceOut = recordable(muons+"_TLA")
30
31 hypo = CompFactory.TrigMuonTLAHypoAlg("TrigMuonTLAHypoAlg_"+muons)
32 hypo.TLAOutputName = sequenceOut
33 hypo.MonTool = TrigMuonTLAHypoMonitoring(flags, "TrigMuonTLAHypoAlg/")
34
35 selAcc = SelectionCA("TrigMuonTLAMainSeq_"+muons)
36 selAcc.mergeReco(recoAcc)
37 selAcc.addHypoAlgo(hypo)
38 return selAcc
39