CMS 3D CMS Logo

Variables

csv2json Namespace Reference

Variables

int default = 0
tuple events = open(args[0], 'r')
string help = 'Save output to file OUTPUT'
tuple jsonList = LumiList(runsAndLumis = runLumiDict)
tuple minPieces = max(runIndex, lumiIndex)
tuple parser = optparse.OptionParser("Usage: %prog input.csv")
tuple pieces = sepRE.split(line.strip())
dictionary runLumiDict = {}
tuple sepRE = re.compile(r'[\s,;:]+')

Variable Documentation

Definition at line 15 of file csv2json.py.

tuple csv2json::events = open(args[0], 'r')

Definition at line 27 of file csv2json.py.

string csv2json::help = 'Save output to file OUTPUT'

Definition at line 13 of file csv2json.py.

tuple csv2json::jsonList = LumiList(runsAndLumis = runLumiDict)

Definition at line 39 of file csv2json.py.

tuple csv2json::minPieces = max(runIndex, lumiIndex)

Definition at line 29 of file csv2json.py.

tuple csv2json::parser = optparse.OptionParser("Usage: %prog input.csv")

Definition at line 11 of file csv2json.py.

tuple csv2json::pieces = sepRE.split(line.strip())
dictionary csv2json::runLumiDict = {}

Definition at line 26 of file csv2json.py.

tuple csv2json::sepRE = re.compile(r'[\s,;:]+')

Definition at line 25 of file csv2json.py.