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

Go to the source code of this file.

Namespaces

 calibdata
 

Functions

def calibdata.usage ()
 
def calibdata.ask_confirm ()
 
def calibdata.perr (error, exc=None, exit=False)
 
def calibdata.pout (output, newline=True)
 
def calibdata.check_path (path)
 
def calibdata.check_algo_type (type)
 
def calibdata.checktypes (arg)
 
def calibdata.parse_date_dir (upload_arg)
 
def calibdata.summary (cd)
 

Variables

 calibdata.usedb = CalibDbInfo.calibdb
 
bool calibdata.noask = False
 
bool calibdata.force = False
 
bool calibdata.debug = False
 
bool calibdata.quiet = False
 
bool calibdata.nobatch = False
 
bool calibdata.upload = False
 
bool calibdata.createid = False
 
bool calibdata.showlist = False
 
bool calibdata.modifyhead = False
 
bool calibdata.copy = False
 
list calibdata.copydata = []
 
 calibdata.head_id = None
 
 calibdata.tube_id = None
 
 calibdata.tube = None
 
 calibdata.chamber = None
 
 calibdata.lowrun = None
 
 calibdata.uprun = None
 
 calibdata.lowtime = None
 
 calibdata.uptime = None
 
 calibdata.copysrc = None
 
bool calibdata.syncdb = False
 
 calibdata.constant_type = None
 
 calibdata.constant_arg = None
 
 calibdata.insert_time = None
 
 calibdata.sitename = None
 
 calibdata.implementation = None
 
string calibdata.status_flag = "NULL"
 
list calibdata.valid = []
 
list calibdata.delete = []
 
list calibdata.upload_args = []
 
 calibdata.rootfile = None
 
 calibdata.luminosity = None
 
 calibdata.newidfile = None
 
 calibdata.cd = None
 
bool calibdata.autoimpl = False
 
int calibdata.synclimit = 1
 
list calibdata.datatypes = ['t0','rt','adc','id']
 
 calibdata.file
 
 calibdata.arg
 
 calibdata.flags
 
 calibdata.exit
 
 calibdata.syncsrc = CalibData()
 
 calibdata.srcdata = syncsrc.fetch_head_data()
 
 calibdata.dstdata = cd.fetch_head_data()
 
list calibdata.dst_ids = []
 
list calibdata.sync_ids = []
 
int calibdata.scount = 0
 
 calibdata.ignore_missing
 
 calibdata.idfile = open(newidfile, 'r')
 
int calibdata.count_files = 0
 
list calibdata.files = ["copyloop"]
 
string calibdata.dirprep = ''
 
def calibdata.upload_date = parse_date_dir(upload_arg)
 
 calibdata.f = open(dirprep + filename, 'r')
 
 calibdata.f_start = f.tell()
 
 calibdata.rts = f.readline().split()
 
 calibdata.ct = rts[3]
 
int calibdata.fieldcount = 19
 
 calibdata.match_type = re.findall(r'[GPTM]+',rts[2])
 
 calibdata.idlines = line.split()
 
 calibdata.cdsource = CalibData(copysrc)
 
string calibdata.output = "\nCould not retrieve head id(s) from database: "
 
 calibdata.error
 
 calibdata.exception
 
 calibdata.filename
 
 calibdata.newline
 
 calibdata.chamber_string = CalibData.extract_tubestring(filename)
 
 calibdata.chamber_id = CalibData.get_tube_id(chamber_string)
 
 calibdata.type
 
int calibdata.point_nr = 0
 
string calibdata.tube_id_string = rts[0] + "_" + rts[1] + "_" + rts[2] + "-" + rts[4] + "-" + rts[5] + "-" + rts[6]
 
 calibdata.t0_tube_grouping
 
dictionary calibdata.fields = { 'implementation':implementation, 'lowrun':lowrun, 'uprun':uprun, 'lowtime':lowtime, 'uptime':uptime,'luminosity':luminosity, 'rootfile':rootfile, 'sitename':sitename,'insert_time':insert_time, 'status_flag':status_flag }
 
bool calibdata.modified = False
 
bool calibdata.commit = True