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

Go to the source code of this file.

Namespaces

 dq_defect_virtual_defect_validation
 

Functions

def dq_defect_virtual_defect_validation.truncate_iovs_to_runs (iovs, runends)
 
def dq_defect_virtual_defect_validation.get_runends ()
 
def dq_defect_virtual_defect_validation.do_compact (iovs)
 

Variables

 dq_defect_virtual_defect_validation.parser = optparse.OptionParser()
 
 dq_defect_virtual_defect_validation.default
 
 dq_defect_virtual_defect_validation.help
 
 dq_defect_virtual_defect_validation.opts
 
 dq_defect_virtual_defect_validation.args
 
 dq_defect_virtual_defect_validation.end
 
 dq_defect_virtual_defect_validation.vfdb = DQUtils.db.Databases.get_folder(opts.vfdb)
 
 dq_defect_virtual_defect_validation.vff = VirtualFlags.VirtualFlagFolder(vfdb)
 
 dq_defect_virtual_defect_validation.mapping = vff.get_flag_name_id_mapping()
 
 dq_defect_virtual_defect_validation.ddb = DefectsDB(opts.defectdb, read_only=True)
 
 dq_defect_virtual_defect_validation.defectids
 
 dq_defect_virtual_defect_validation.defectnames
 
 dq_defect_virtual_defect_validation.defectdict
 
def dq_defect_virtual_defect_validation.runends = get_runends()
 
 dq_defect_virtual_defect_validation.key
 
def dq_defect_virtual_defect_validation.vfiovs = do_compact(vff.browseObjects((152166,0), (167845,0), [key], 'DetStatus-v03-repro05-01', selection=lambda x: x.Code < 3))
 
 dq_defect_virtual_defect_validation.d1 = set([((x.since.run, x.since.lumi), (x.until.run, x.until.lumi)) for x in truncate_iovs_to_runs(vfiovs, runends) if x.since.run != 152220])
 
def dq_defect_virtual_defect_validation.diovs = do_compact(ddb.retrieve((152166,0), (167845,0), [key]))
 
 dq_defect_virtual_defect_validation.d2 = set([((x.since.run, x.since.lumi), (x.until.run, x.until.lumi)) for x in truncate_iovs_to_runs(diovs, runends) if x.since.run != 152220])
 
 dq_defect_virtual_defect_validation.d1a = dict([(((x.since.run, x.since.lumi), (x.until.run, x.until.lumi)), x.Comment) for x in truncate_iovs_to_runs(vfiovs, runends)])
 
 dq_defect_virtual_defect_validation.d2a = dict([(((x.since.run, x.since.lumi), (x.until.run, x.until.lumi)), x.comment) for x in truncate_iovs_to_runs(diovs, runends)])