CMS 3D CMS Logo

Functions
customiseSequentialSim Namespace Reference

Functions

def customiseSequentialSim (process)
 

Function Documentation

def customiseSequentialSim.customiseSequentialSim (   process)

Definition at line 3 of file customiseSequentialSim.py.

3 def customiseSequentialSim(process):
4  # Set numberOfStreams to allow cmsRun/cmsDriver.py -n to control
5  # also the number of streams
6 
7  for label, prod in process.producers_().iteritems():
8  if prod.type_() == "OscarMTProducer":
9  # ugly hack
10  prod.__dict__['_TypedParameterizable__type'] = "OscarProducer"
11 
12  return process
13 
14