Variables
runsumdbquery 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 = row[4]
 
 tstop = row[5]
 

Variable Documentation

runsumdbquery.cfg = row[1]

Definition at line 31 of file runsumdbquery.py.

runsumdbquery.comp = row[3]

Definition at line 33 of file runsumdbquery.py.

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

Definition at line 18 of file runsumdbquery.py.

runsumdbquery.cur = conn.cursor()

Definition at line 23 of file runsumdbquery.py.

runsumdbquery.row = cur.fetchone()

Definition at line 28 of file runsumdbquery.py.

runsumdbquery.run = sys.argv[1]

Definition at line 15 of file runsumdbquery.py.

runsumdbquery.runType = row[2]

Definition at line 32 of file runsumdbquery.py.

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

Definition at line 25 of file runsumdbquery.py.

runsumdbquery.tstart = row[4]

Definition at line 34 of file runsumdbquery.py.

runsumdbquery.tstop = row[5]

Definition at line 35 of file runsumdbquery.py.