test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
customiseSequentialSim Namespace Reference

Functions

def customiseSequentialSim
 

Function Documentation

def customiseSequentialSim.customiseSequentialSim (   process)

Definition at line 3 of file customiseSequentialSim.py.

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