5 from TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import getTrigEgammaKeys
8 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InViewRecoCA
9 from AthenaConfiguration.ComponentFactory
import CompFactory
10 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
14 """ second step: tracking....."""
16 InViewRoIs =
"EMFastElectronRoIs"+variant
18 roiTool = CompFactory.ViewCreatorPreviousROITool()
19 reco = InViewRecoCA(
"EMElectron"+variant, RoITool = roiTool, InViewRoIs = InViewRoIs, RequireParentView =
True, isProbe=is_probe_leg)
22 from TriggerMenuMT.HLT.Electron.FastElectronRecoSequences
import fastElectronRecoSequence
24 from TrigGenericAlgs.TrigGenericAlgsConfig
import ROBPrefetchingAlgCfg_Si
30 theFastElectronHypo = CompFactory.TrigEgammaFastElectronHypoAlg(
"TrigEgammaFastElectronHypoAlg"+variant)
32 theFastElectronHypo.Electrons = TrigEgammaKeys.fastElectronContainer
33 theFastElectronHypo.RunInView =
True
34 from TrigEgammaHypo.TrigEgammaFastElectronHypoTool
import TrigEgammaFastElectronHypoToolFromDict
36 selAcc = SelectionCA(
'FastElectronMenuSequence'+variant,isProbe=is_probe_leg)
37 selAcc.mergeReco(reco, robPrefetchCA=robPrefetchAlg)
38 selAcc.addHypoAlgo(theFastElectronHypo)
40 return MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaFastElectronHypoToolFromDict)