5 from TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import getTrigEgammaKeys
8 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InViewRecoCA
9 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
10 from AthenaConfiguration.ComponentFactory
import CompFactory
13 return 'precision' + (
'HI' if ion
is True else '') +
'Electron'
17 """ seventh step: precision electron....."""
19 inViewRoIs =
"precisionElectron"
20 probeInfo =
'_probe' if is_probe_leg
else ''
21 roiTool = CompFactory.ViewCreatorPreviousROITool()
22 reco = InViewRecoCA(
tag(ion)+variant, RoITool = roiTool, InViewRoIs = inViewRoIs, RequireParentView =
True, isProbe=is_probe_leg)
25 from TriggerMenuMT.HLT.Electron.PrecisionElectronRecoSequences
import precisionElectronRecoSequence
28 selAcc = SelectionCA(
'PrecisionElectronMenuSequence'+variant,isProbe=is_probe_leg)
30 from TrigEgammaHypo.TrigEgammaPrecisionElectronHypoTool
import TrigEgammaPrecisionElectronHypoToolFromDict, TrigEgammaPrecisionElectronHypoAlgCfg
32 selAcc.mergeReco(reco)
34 return MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaPrecisionElectronHypoToolFromDict)