3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 for comp
in cfg.getSequence().Members:
7 if comp.name ==
'CaloTopoClusters422Maker':
12 if not hasattr(alg,
'ClusterMakerTools'):
15 for tool
in alg.ClusterMakerTools:
16 if tool.name ==
'TopoMaker':
17 assert tool.CellThresholdOnEorAbsEinSigma == 0
18 tool.CellThresholdOnEorAbsEinSigma = 2.0
24 if not hasattr(alg,
'ClusterCorrectionTools'):
27 for tool
in alg.ClusterCorrectionTools:
29 if tool.name ==
'CaloClusterSnapshot':
30 assert tool.OutputName ==
'CaloTopoClusters'
31 tool.OutputName =
'CaloTopoClusters422Snap'
41 from CaloRec.CaloTopoClusterConfig
import CaloTopoClusterCfg
49 cfg.merge(calo_acc422)