2 for module
in process._Process__producers.values():
3 if hasattr(module,
"ClusterCheckPSet"):
4 module.ClusterCheckPSet.MaxNumberOfPixelClusters = 80000
6 if hasattr(module.ClusterCheckPSet,
"cut"):
7 module.ClusterCheckPSet.cut =
"strip < 800000 && pixel < 80000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/7.)"
8 if hasattr(module,
"OrderedHitsFactoryPSet")
and hasattr(module.OrderedHitsFactoryPSet,
"GeneratorPSet"):
9 if module.OrderedHitsFactoryPSet.GeneratorPSet.ComponentName.value()
in [
"PixelTripletLargeTipGenerator",
"MultiHitGeneratorFromChi2"]:
10 module.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = 1000000
def customiseClusterCheckForHighPileup