Main Page
Namespaces
Classes
Package Documentation
SimG4Core
Application
python
customiseSequentialSim.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
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
customiseSequentialSim.customiseSequentialSim
def customiseSequentialSim(process)
Definition:
customiseSequentialSim.py:3
Generated for CMSSW Reference Manual by
1.8.11