4 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InViewRecoCA
5 from TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import getTrigEgammaKeys
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
9 from AthenaCommon.Logging
import logging
10 log = logging.getLogger(__name__)
13 return 'precision' + (
'HI' if ion
is True else '') +
'PhotonCaloIso'
17 """Creates secpond step photon sequence"""
19 InViewRoIs =
"PrecisionPhotonCaloIsoRoIs"
20 hiInfo =
'HI' if ion
is True else ''
23 roiTool = CompFactory.ViewCreatorPreviousROITool()
24 recoAcc = InViewRecoCA(
tag(ion),InViewRoIs=InViewRoIs, RoITool = roiTool, RequireParentView =
True, isProbe=is_probe_leg)
26 from TriggerMenuMT.HLT.Photon.PrecisionPhotonCaloIsoRecoSequences
import precisionPhotonCaloIsoRecoSequence
29 selAcc = SelectionCA(
'PrecisionPhotonCaloIsoMenuSequences'+hiInfo, isProbe=is_probe_leg)
31 from TriggerMenuMT.HLT.Egamma.TrigEgammaFactoriesCfg
import TrigEgammaFSEventDensitySequenceCfg
33 from TrigEgammaHypo.TrigEgammaPrecisionPhotonCaloIsoHypoTool
import createTrigEgammaPrecisionPhotonCaloIsoHypoAlg, TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict
34 sequenceOut = TrigEgammaKeys.precisionPhotonIsoContainer
36 return MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaPrecisionPhotonCaloIsoHypoToolFromDict)