CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 root2sqlite
 

Functions

def root2sqlite.columnescape
 
def root2sqlite.read_objects_root
 
def root2sqlite.save_keyvalue
 
def root2sqlite.tosqlite
 
def root2sqlite.treetotable
 

Variables

tuple root2sqlite.args = parser.parse_args()
 
dictionary root2sqlite.basic_objects = {}
 
tuple root2sqlite.db = sqlite3.connect(args.output)
 
tuple root2sqlite.f = ROOT.TFile.Open(args.inputfile)
 
tuple root2sqlite.inf = re.compile("([- \[])inf([,}\]])")
 
tuple root2sqlite.nan = re.compile("([- \[])nan([,}\]])")
 
tuple root2sqlite.parser = argparse.ArgumentParser(description="Convert arbitrary ROOT file to SQLite database, mapping TTrees to tables and converting TObjects to JSON.")