5from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InViewRecoCA
20 """ Creates Egamma Fast Calo MENU sequence
21 The Hypo name changes depending on name, so for different implementations (Electron, Gamma,....)
24 from TrigT2CaloCommon.CaloDef
import fastCaloVDVCfg
25 from TrigGenericAlgs.TrigGenericAlgsConfig
import ROBPrefetchingAlgCfg_Calo
26 from TrigT2CaloCommon.CaloDef
import fastCaloRecoSequenceCfg
27 nameselAcc =
"fastCaloSequence"+name
28 output =
"HLT_FastCaloEMClusters"
29 selAcc = SelectionCA(nameselAcc,isProbe=is_probe_leg)
30 InViewRoIs=
"EMCaloRoIs"
31 reco = InViewRecoCA(
"EMCalo",InViewRoIs=InViewRoIs,isProbe=is_probe_leg)
32 reco.mergeReco(fastCaloVDVCfg(flags,InViewRoIs=InViewRoIs))
33 robPrefetchAlg = ROBPrefetchingAlgCfg_Calo( flags, nameSuffix=InViewRoIs+
'_probe' if is_probe_leg
else InViewRoIs)
34 reco.mergeReco(fastCaloRecoSequenceCfg(flags, inputEDM=InViewRoIs,ClustersName=output))
35 selAcc.mergeReco(reco, robPrefetchCA=robPrefetchAlg)
39 from TrigEgammaHypo.TrigEgammaFastCaloHypoTool
import createTrigEgammaFastCaloHypoAlg
41 theFastCaloHypo = createTrigEgammaFastCaloHypoAlg(flags, name+
"FastCaloHypo", sequenceOut=output)
42 selAcc.addHypoAlgo(theFastCaloHypo)
44 from TrigEgammaHypo.TrigEgammaFastCaloHypoTool
import TrigEgammaFastCaloHypoToolFromDict
45 return MenuSequence(flags,selAcc,HypoToolGen=TrigEgammaFastCaloHypoToolFromDict)