4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
6 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InEventRecoCA
7 from TrigEDMConfig.TriggerEDM
import recordable
8 from TrigEgammaHypo.TrigEgammaTLAPhotonHypoTool
import TrigEgammaTLAPhotonHypoToolFromDict
15 tlaPhotonInputMakerAlg = CompFactory.InputMakerForRoI(
"IMTLAPhotons", RoIsLink=
"initialRoI")
16 tlaPhotonInputMakerAlg.RoITool = CompFactory.ViewCreatorPreviousROITool()
17 tlaPhotonInputMakerAlg.mergeUsingFeature =
True
19 recoAcc = InEventRecoCA(
"PhotonTLARecoSeq_"+photonsIn, inputMaker=tlaPhotonInputMakerAlg)
23 return recoAcc, sequenceOut
32 hypo = CompFactory.TrigEgammaTLAPhotonHypoAlg(
"TrigPhotonTLAHypoAlg_"+photonsIn)
33 hypo.TLAOutputName = sequenceOut
35 selAcc = SelectionCA(
"TrigPhotonTLAMainSeq_"+photonsIn)
36 selAcc.mergeReco(recoAcc)
37 selAcc.addHypoAlgo(hypo)
39 return MenuSequence( flags,
41 HypoToolGen = TrigEgammaTLAPhotonHypoToolFromDict