Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Functions
dropNonMTSafe Namespace Reference
Functions
def
_dropFromPaths
def
dropNonMTSafe
Function Documentation
def
dropNonMTSafe._dropFromPaths
(
process
,
name
)
private
Definition at line
3
of file
dropNonMTSafe.py
.
3
4
def
_dropFromPaths
(process,name):
5
if
hasattr(process,name):
6
m = getattr(process,name)
7
for
p
in
process.paths.itervalues():
8
p.remove(m)
9
delattr(process,name)
dropNonMTSafe._dropFromPaths
def _dropFromPaths
Definition:
dropNonMTSafe.py:3
def
dropNonMTSafe.dropNonMTSafe
(
process
)
Definition at line
10
of file
dropNonMTSafe.py
.
10
11
def
dropNonMTSafe
(process):
12
process.options = cms.untracked.PSet(numberOfThreads = cms.untracked.uint32(4),
13
sizeOfStackForThreadsInKB = cms.untracked.uint32(10*1024),
14
numberOfStreams = cms.untracked.uint32(0))
15
if
( x
for
x
in
process.producers.itervalues()
if
x.type_() ==
"OscarProducer"
) :
16
from
SimG4Core.Application.customiseMultithreadedSim
import
customiseMultithreadedSim
17
customiseMultithreadedSim
(process)
18
19
return
process
dropNonMTSafe.dropNonMTSafe
def dropNonMTSafe
Definition:
dropNonMTSafe.py:10
customiseMultithreadedSim
Definition:
customiseMultithreadedSim.py:1
Generated for CMSSW Reference Manual by
1.8.5