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

◆ filterRuns()

def mergeJSON.filterRuns (   lumiList,
  minRun,
  maxRun 
)

Definition at line 10 of file mergeJSON.py.

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 

References createfilelist.int.

Variable Documentation

◆ args

mergeJSON.args

Definition at line 28 of file mergeJSON.py.

◆ dest

mergeJSON.dest

Definition at line 25 of file mergeJSON.py.

◆ filename

mergeJSON.filename

Definition at line 39 of file mergeJSON.py.

◆ finalList

mergeJSON.finalList

Definition at line 34 of file mergeJSON.py.

◆ help

mergeJSON.help

Definition at line 26 of file mergeJSON.py.

◆ localList

mergeJSON.localList

Definition at line 47 of file mergeJSON.py.

◆ match

mergeJSON.match

Definition at line 37 of file mergeJSON.py.

◆ maxRun

mergeJSON.maxRun

Definition at line 36 of file mergeJSON.py.

◆ minMaxRE

mergeJSON.minMaxRE

Definition at line 32 of file mergeJSON.py.

◆ minRun

mergeJSON.minRun

Definition at line 36 of file mergeJSON.py.

◆ options

mergeJSON.options

Definition at line 28 of file mergeJSON.py.

◆ parser

mergeJSON.parser

Definition at line 24 of file mergeJSON.py.

◆ type

mergeJSON.type

Definition at line 25 of file mergeJSON.py.

mergeJSON.filterRuns
def filterRuns(lumiList, minRun, maxRun)
Definition: mergeJSON.py:10
createfilelist.int
int
Definition: createfilelist.py:10