35 log.debug(
'flags = %s',flags)
36 log.debug(
'RoIs = %s',RoIs)
40 from TrigCaloRec.TrigCaloRecConfig
import egammaTopoClusteringCfg, hltCaloTopoClusteringHICfg
44 CellsName =
"CaloCells",
48 acc.merge(topoCluster)
49 tag =
'HI' if ion
is True else ''
51 copier = CompFactory.egammaTopoClusterCopier(
'gTrigEgammaTopoClusterCopier'+ tag + RoIs,
52 InputTopoCollection=TrigEgammaKeys.precisionTopoClusterContainer,
53 OutputTopoCollection= TrigEgammaKeys.precisionCaloTopoCollection)
54 acc.addEventAlgo(copier)
58 acc.merge(trigEgammaRec)
61 'gTrigEgammaSuperClusterBuilder' + tag + RoIs,
63 TrigEgammaKeys.precisionPhotonCaloClusterContainer,
64 TrigEgammaKeys.precisionPhotonSuperClusterCollection)
65 acc.merge(trigEgammaSuperClusterBuilder)