7 if not hasattr(process,
"options"):
8 process.options = cms.PSet()
9 if not hasattr(process.options,
"numberOfStreams"):
10 process.options.numberOfStreams = cms.untracked.uint32(0)
12 for label, prod
in process.producers_().iteritems():
13 if prod.type_() ==
"OscarProducer":
15 prod.__dict__[
'_TypedParameterizable__type'] =
"OscarMTProducer"
def customiseMultithreadedSim