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)
30 if producer.CleanerPSet.ComponentName.value() ==
"PixelTrackCleanerBySharedHits" and not hasattr(producer.CleanerPSet,
"useQuadrupletAlgo"):
31 producer.CleanerPSet.useQuadrupletAlgo = cms.bool(
False)
36 for name, pset
in process.psets_().iteritems():
37 if hasattr(pset,
"ComponentType")
and pset.ComponentType.value() ==
"CkfBaseTrajectoryFilter" and not hasattr(pset,
"pixelSeedExtension"):
38 pset.pixelSeedExtension = cms.bool(
False)
46 cmsswVersion = os.environ[
'CMSSW_VERSION']
48 if cmsswVersion >=
"CMSSW_8_1":
55 if (
"Fake" in menuType):