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
10
of file
mergeJSON.py
.
References
createfilelist.int
, and
edm.print()
.
10
def
filterRuns
(lumiList, minRun, maxRun):
11
allRuns = lumiList.getRuns()
12
runsToRemove = []
13
for
run
in
allRuns:
14
if
minRun
and
int
(run) < minRun:
15
runsToRemove.append (run)
16
if
maxRun
and
int
(run) > maxRun:
17
runsToRemove.append (run)
18
lumiList.removeRuns (runsToRemove)
19
20
21
mergeJSON.filterRuns
def filterRuns(lumiList, minRun, maxRun)
Definition:
mergeJSON.py:10
createfilelist.int
int
Definition:
createfilelist.py:10
Generated for CMSSW Reference Manual by
1.8.11