test
Main Page
Namespaces
Classes
Package Documentation
GIT Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
Definition:
customiseSequentialSim.py:3
Generated for CMSSW Reference Manual by
1.8.5