Variables
dbjson Namespace Reference

Variables

 run = sys.argv[1]
 
 conn = psycopg2.connect("dbname=lbne35t_prod host=ifdbrep.fnal.gov port=5440 user=lbne_reader password=dune35t")
 
 cur = conn.cursor()
 
string SQL = "select * from dune35t.run_summary where run="
 
 row = cur.fetchone()
 
 cfg = row[1]
 
 runType = row[2]
 
 comp = row[3]
 
 tstart = str(row[4]).replace(" ","T")[0:19]
 
 tstop = str(row[5]).replace(" ","T")[0:19]
 

Variable Documentation

dbjson.cfg = row[1]

Definition at line 31 of file dbjson.py.

string dbjson.comp = row[3]

Definition at line 33 of file dbjson.py.

dbjson.conn = psycopg2.connect("dbname=lbne35t_prod host=ifdbrep.fnal.gov port=5440 user=lbne_reader password=dune35t")

Definition at line 18 of file dbjson.py.

dbjson.cur = conn.cursor()

Definition at line 23 of file dbjson.py.

dbjson.row = cur.fetchone()

Definition at line 28 of file dbjson.py.

dbjson.run = sys.argv[1]

Definition at line 15 of file dbjson.py.

dbjson.runType = row[2]

Definition at line 32 of file dbjson.py.

string dbjson.SQL = "select * from dune35t.run_summary where run="

Definition at line 25 of file dbjson.py.

dbjson.tstart = str(row[4]).replace(" ","T")[0:19]

Definition at line 38 of file dbjson.py.

dbjson.tstop = str(row[5]).replace(" ","T")[0:19]

Definition at line 39 of file dbjson.py.