CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Variables
filterCSVwithJSON.py File Reference

Go to the source code of this file.

Namespaces

 filterCSVwithJSON
 

Variables

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