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
not
hasattr(process,
"ZombieKillerService"
):
16
process.add_(cms.Service(
"ZombieKillerService"
,
17
secondsBetweenChecks = cms.untracked.uint32(120),
18
numberOfAllowedFailedChecksInARow = cms.untracked.uint32(4)))
19
20
return
process
dropNonMTSafe.dropNonMTSafe
def dropNonMTSafe
Definition:
dropNonMTSafe.py:10
Generated for CMSSW Reference Manual by
1.8.5