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)