CMS 3D CMS Logo

Functions
customiseSequentialSim Namespace Reference

Functions

def customiseSequentialSim (process)
 

Function Documentation

◆ customiseSequentialSim()

def customiseSequentialSim.customiseSequentialSim (   process)

Definition at line 4 of file customiseSequentialSim.py.

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 six.iteritems(process.producers_()):
9  if prod.type_() == "OscarMTProducer":
10  # ugly hack
11  prod.__dict__['_TypedParameterizable__type'] = "OscarProducer"
12 
13  return process
14 
customiseSequentialSim.customiseSequentialSim
def customiseSequentialSim(process)
Definition: customiseSequentialSim.py:4