ATLAS Offline Software
Namespaces | Functions | Variables
CalibDbCompareT0.py File Reference

Go to the source code of this file.

Namespaces

 CalibDbCompareT0
 

Functions

def CalibDbCompareT0.printhelp (argv0)
 

Variables

string CalibDbCompareT0.calibtype = 'rt'
 
 CalibDbCompareT0.cool_database_string = CalibDbDefaults.cool_database_string
 
 CalibDbCompareT0.cool_folder = CalibDbDefaults.cool_folders[calibtype]
 
 CalibDbCompareT0.cool_tag = CalibDbDefaults.cool_tags[calibtype]
 
 CalibDbCompareT0.dbname = CalibDbDefaults.cool_dbname
 
 CalibDbCompareT0.run_number = int(args[1])
 
 CalibDbCompareT0.asp = args[2].split("/")
 
 CalibDbCompareT0.db = asp[0]
 
 CalibDbCompareT0.head_id = int(asp[1])
 
 CalibDbCompareT0.reader_password = args[3]
 
 CalibDbCompareT0.root_filename = args[4]
 
 CalibDbCompareT0.argv
 
 CalibDbCompareT0.cool_t0s = ReadT0Cool(cool_database_string, cool_folder, cool_tag, run_number)
 
 CalibDbCompareT0.calib_t0s = ReadT0CalibDb(db, reader_password, head_id)
 
 CalibDbCompareT0.outfile = TFile(root_filename, "RECREATE")
 
 CalibDbCompareT0.tree = TTree("tree", "t0 differences")
 
 CalibDbCompareT0.station_nm = array('c', "BIL\0")
 
 CalibDbCompareT0.station_phi = array('i', [0])
 
 CalibDbCompareT0.station_eta = array('i', [0])
 
 CalibDbCompareT0.n_tubes = array('i', [0])
 
 CalibDbCompareT0.n_tubes_calib = array('i', [0])
 
 CalibDbCompareT0.n_tubes_cool = array('i', [0])
 
 CalibDbCompareT0.dt0 = array('f', 432*[0.0])
 
 CalibDbCompareT0.t0_cool = array('f', 432*[0.0])
 
 CalibDbCompareT0.t0_calib = array('f', 432*[0.0])
 
 CalibDbCompareT0.d_validflag = array('i', 432*[0])
 
 CalibDbCompareT0.validflag_cool = array('i', 432*[0])
 
 CalibDbCompareT0.validflag_calib = array('i', 432*[0])
 
 CalibDbCompareT0.d_adc = array('f', 432*[0])
 
 CalibDbCompareT0.cot0s = cool_t0s[chamber_id]
 
 CalibDbCompareT0.cat0s = calib_t0s[chamber_id]