CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
customiseClusterCheckForHighPileup.py
Go to the documentation of this file.
2  for module in process._Process__producers.values():
3  if hasattr(module, "ClusterCheckPSet"):
4  module.ClusterCheckPSet.MaxNumberOfPixelClusters = 80000
5  # PhotonConversionTrajectorySeedProducerFromQuadruplets does not have "cut"...
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
11 
12  return process