11 """Creates secpond step photon sequence"""
15 InViewRoIs =
"EMIDRoIs"
17 roiTool = CompFactory.ViewCreatorCentredOnClusterROITool()
18 roiTool.AllowMultipleClusters =
False
19 roiTool.RoisWriteHandleKey = TrigEgammaKeys.fastPhotonRoIContainer
24 roiTool.RoIEtaWidth = 0.05
25 roiTool.RoIPhiWidth = 0.10
26 reco = InViewRecoCA(
"EMPhoton",InViewRoIs=InViewRoIs, RoITool = roiTool, RequireParentView =
True, isProbe=is_probe_leg)
29 from TriggerMenuMT.HLT.Photon.FastPhotonRecoSequences
import fastPhotonRecoSequence
32 thePhotonHypo = CompFactory.TrigEgammaFastPhotonHypoAlg()
33 thePhotonHypo.Photons = TrigEgammaKeys.fastPhotonContainer
34 thePhotonHypo.RunInView=
True
36 from TrigEgammaHypo.TrigEgammaFastPhotonHypoTool
import TrigEgammaFastPhotonHypoToolFromDict
38 selAcc = SelectionCA(
'FastPhotonMenuSequence',isProbe=is_probe_leg)
39 selAcc.mergeReco(reco)
40 selAcc.addHypoAlgo(thePhotonHypo)
42 return MenuSequence(flags,selAcc, HypoToolGen=TrigEgammaFastPhotonHypoToolFromDict)