CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
mergeJSON Namespace Reference

Functions

def filterRuns (lumiList, minRun, maxRun)
 

Variables

 dest
 
 filename
 
 finalList
 
 help
 
 localList
 
 match
 
 maxRun
 
 metavar
 
 minMaxRE
 
 minRun
 
 nargs
 
 options
 
 parser
 
 str
 
 type
 

Function Documentation

◆ filterRuns()

def mergeJSON.filterRuns (   lumiList,
  minRun,
  maxRun 
)

Definition at line 8 of file mergeJSON.py.

References createfilelist.int.

8 def filterRuns (lumiList, minRun, maxRun):
9  allRuns = lumiList.getRuns()
10  runsToRemove = []
11  for run in allRuns:
12  if minRun and int(run) < minRun:
13  runsToRemove.append (run)
14  if maxRun and int(run) > maxRun:
15  runsToRemove.append (run)
16  lumiList.removeRuns (runsToRemove)
17 
def filterRuns(lumiList, minRun, maxRun)
Definition: mergeJSON.py:8

Variable Documentation

◆ dest

mergeJSON.dest

Definition at line 21 of file mergeJSON.py.

◆ filename

mergeJSON.filename

Definition at line 34 of file mergeJSON.py.

◆ finalList

mergeJSON.finalList

Definition at line 29 of file mergeJSON.py.

◆ help

mergeJSON.help

Definition at line 22 of file mergeJSON.py.

◆ localList

mergeJSON.localList

Definition at line 42 of file mergeJSON.py.

◆ match

mergeJSON.match

Definition at line 32 of file mergeJSON.py.

◆ maxRun

mergeJSON.maxRun

Definition at line 31 of file mergeJSON.py.

◆ metavar

mergeJSON.metavar

Definition at line 23 of file mergeJSON.py.

◆ minMaxRE

mergeJSON.minMaxRE

Definition at line 27 of file mergeJSON.py.

◆ minRun

mergeJSON.minRun

Definition at line 31 of file mergeJSON.py.

◆ nargs

mergeJSON.nargs

Definition at line 23 of file mergeJSON.py.

◆ options

mergeJSON.options

Definition at line 25 of file mergeJSON.py.

◆ parser

mergeJSON.parser

Definition at line 20 of file mergeJSON.py.

◆ str

mergeJSON.str

Definition at line 23 of file mergeJSON.py.

◆ type

mergeJSON.type

Definition at line 21 of file mergeJSON.py.