5from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InViewRecoCA
21 """ Creates Egamma Fast Calo FWD MENU sequence (Reco and Hypo)
22 The Hypo name changes depending on name, so for different implementations (Electron, Gamma,....)
25 from TrigT2CaloCommon.CaloDef
import fastCaloVDVCfg
26 from TrigGenericAlgs.TrigGenericAlgsConfig
import ROBPrefetchingAlgCfg_Calo
27 from TrigT2CaloCommon.CaloDef
import fastCaloRecoSequenceCfg
28 nameselAcc =
"fastCaloFWDSequence"
29 output =
"HLT_FastCaloEMClusters_FWD"
30 CaloMenuDefs_FWD.L2CaloClusters = output
31 selAcc = SelectionCA(nameselAcc,isProbe=is_probe_leg)
32 InViewRoIs=
"FSJETMETCaloRoI"
33 reco = InViewRecoCA(
"EMCaloFWD",InViewRoIs=InViewRoIs,isProbe=is_probe_leg)
34 reco.mergeReco(fastCaloVDVCfg(flags,InViewRoIs=InViewRoIs))
35 robPrefetchAlg = ROBPrefetchingAlgCfg_Calo( flags, nameSuffix=InViewRoIs+
'_probe' if is_probe_leg
else InViewRoIs)
36 reco.mergeReco(fastCaloRecoSequenceCfg(flags, inputEDM=InViewRoIs,doForward=
True,ClustersName=output))
37 selAcc.mergeReco(reco, robPrefetchCA=robPrefetchAlg)
40 from TrigEgammaForwardHypo.TrigEgammaForwardFastCaloHypoTool
import TrigEgammaForwardFastCaloHypoToolFromDict
41 theFastCaloHypo = CompFactory.TrigEgammaForwardFastCaloHypoAlgMT(name+
"EgammaFastCaloFWDHypo")
42 selAcc.addHypoAlgo(theFastCaloHypo)
44 return MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaForwardFastCaloHypoToolFromDict)