23def fastPhotonRecoSequence(flags, RoIs, name = None):
24 """Creates secpond step photon sequence"""
25 acc = ComponentAccumulator()
26
27 acc.merge(fastPhotonVDVCfg(name+'VDV',RoIs))
28
29 TrigEgammaKeys = getTrigEgammaKeys(flags)
30
31 thePhotonFex = CompFactory.TrigEgammaFastPhotonReAlgo("EgammaFastPhotonFex_1")
32 thePhotonFex.TrigEMClusterName = CaloMenuDefs.L2CaloClusters
33 thePhotonFex.PhotonsName= TrigEgammaKeys.fastPhotonContainer
34
35 thePhotonFex.RoIs = RoIs
36
37 acc.addEventAlgo(thePhotonFex)
38
39 return acc