11def fixMakerTool422(alg):
12 if not hasattr(alg, 'ClusterMakerTools'):
13 return False
14
15 for tool in alg.ClusterMakerTools:
16 if tool.name == 'TopoMaker':
17 assert tool.CellThresholdOnEorAbsEinSigma == 0
18 tool.CellThresholdOnEorAbsEinSigma = 2.0
19 assert tool.SeedCutsInAbsE is True
20 tool.SeedCutsInAbsE = False
21 assert tool.NeighborCutsInAbsE is True
22 tool.NeighborCutsInAbsE = False
23 assert tool.CellCutsInAbsE is True
24 tool.CellCutsInAbsE = False
25 assert tool.SeedCutsInT is True
26 tool.SeedCutsInT = False
27 return True
28
29 return False
30