16 """ Creates PrecisionCalo sequence """
19 hiInfo =
'HI' if ion
else ''
21 InViewRoIs=
"PrecisionCaloRoIs"
22 roiTool = CompFactory.ViewCreatorPreviousROITool()
26 roiTool.RoISGKey =
"HLT_Roi_FastElectron"
28 recoAcc = InViewRecoCA(
tag(ion),InViewRoIs=InViewRoIs, RoITool = roiTool, RequireParentView =
True, isProbe=is_probe_leg)
30 from TriggerMenuMT.HLT.Photon.PrecisionCaloRecoSequences
import precisionCaloRecoSequence
33 selAcc = SelectionCA(
'gPrecisionCaloMenuSequence'+hiInfo, isProbe=is_probe_leg)
42 from TriggerMenuMT.HLT.HeavyIon.HeavyIonMenuSequences
import egammaFSHIEventShapeMakerCfg
45 selAcc.mergeReco(recoAcc, upSequenceCA=pedestalCA)
47 hypoAlg = CompFactory.TrigEgammaPrecisionCaloHypoAlg(
'Photon' +
tag(ion) +
'Hypo')
49 hypoAlg.CaloClusters = TrigEgammaKeys.precisionPhotonCaloClusterContainer
51 selAcc.addHypoAlgo(hypoAlg)
53 from TrigEgammaHypo.TrigEgammaPrecisionCaloHypoTool
import TrigEgammaPrecisionCaloHypoToolFromDict
55 return MenuSequence(flags, selAcc, HypoToolGen=TrigEgammaPrecisionCaloHypoToolFromDict)