1 import FWCore.ParameterSet.Config
as cms
6 return (module
for module
in process._Process__producers.values()
if module._TypedParameterizable__type
in types)
8 return (filter
for filter
in process._Process__filters.values()
if filter._TypedParameterizable__type
in types)
10 return (analyzer
for analyzer
in process._Process__analyzers.values()
if analyzer._TypedParameterizable__type
in types)
13 return (module
for module
in process._Process__esproducers.values()
if module._TypedParameterizable__type
in types)
19 if hasattr(module,
"maxNumberOfClusters"):
20 module.maxNumberOfClusters = cms.int32( 80000 )
23 if hasattr(module,
"OrderedHitsFactoryPSet"):
24 OrderedHitsFactory_pset = module.OrderedHitsFactoryPSet
25 if hasattr(OrderedHitsFactory_pset,
"GeneratorPSet"):
26 Generator_pset = OrderedHitsFactory_pset.GeneratorPSet
27 if hasattr(Generator_pset,
"maxElement"):
30 Generator_pset.maxElement = 100000
32 if hasattr(module,
"ClusterCheckPSet"):
33 ClusterCheck_pset = module.ClusterCheckPSet
34 if hasattr(ClusterCheck_pset,
"MaxNumberOfCosmicClusters"):
37 ClusterCheck_pset.MaxNumberOfCosmicClusters = 800000
38 if hasattr(ClusterCheck_pset,
"MaxNumberOfPixelClusters"):
41 ClusterCheck_pset.MaxNumberOfPixelClusters = 80000
def customizeHLTforHighPU