Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
Functions
mergeJSON Namespace Reference
Functions
def
filterRuns
(lumiList, minRun, maxRun)
Function Documentation
def
mergeJSON.filterRuns
(
lumiList
,
minRun
,
maxRun
)
Definition at line
9
of file
mergeJSON.py
.
References
createfilelist.int
.
9
def
filterRuns
(lumiList, minRun, maxRun):
10
allRuns = lumiList.getRuns()
11
runsToRemove = []
12
for
run
in
allRuns:
13
if
minRun
and
int
(run) < minRun:
14
runsToRemove.append (run)
15
if
maxRun
and
int
(run) > maxRun:
16
runsToRemove.append (run)
17
lumiList.removeRuns (runsToRemove)
18
19
20
mergeJSON.filterRuns
def filterRuns(lumiList, minRun, maxRun)
Definition:
mergeJSON.py:9
createfilelist.int
int
Definition:
createfilelist.py:10
Generated for CMSSW Reference Manual by
1.8.11