CMS 3D CMS Logo

Functions | Variables
mergeJSON Namespace Reference

Functions

def filterRuns (lumiList, minRun, maxRun)
 

Variables

 args
 
 dest
 
 filename
 
 finalList
 
 help
 
 localList
 
 match
 
 maxRun
 
 minMaxRE
 
 minRun
 
 options
 
 parser
 
 type
 

Function Documentation

def mergeJSON.filterRuns (   lumiList,
  minRun,
  maxRun 
)

Definition at line 10 of file mergeJSON.py.

References createfilelist.int.

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 
def filterRuns(lumiList, minRun, maxRun)
Definition: mergeJSON.py:10

Variable Documentation

mergeJSON.args

Definition at line 28 of file mergeJSON.py.

mergeJSON.dest

Definition at line 25 of file mergeJSON.py.

mergeJSON.filename

Definition at line 39 of file mergeJSON.py.

mergeJSON.finalList

Definition at line 34 of file mergeJSON.py.

mergeJSON.help

Definition at line 26 of file mergeJSON.py.

mergeJSON.localList

Definition at line 47 of file mergeJSON.py.

mergeJSON.match

Definition at line 37 of file mergeJSON.py.

mergeJSON.maxRun

Definition at line 36 of file mergeJSON.py.

mergeJSON.minMaxRE

Definition at line 32 of file mergeJSON.py.

mergeJSON.minRun

Definition at line 36 of file mergeJSON.py.

mergeJSON.options

Definition at line 28 of file mergeJSON.py.

mergeJSON.parser

Definition at line 24 of file mergeJSON.py.

mergeJSON.type

Definition at line 25 of file mergeJSON.py.