ATLAS Offline Software
|
Functions | |
def | truncate_iovs_to_runs (iovs, runends) |
def | get_runends () |
def | do_compact (iovs) |
Variables | |
parser = optparse.OptionParser() | |
default | |
help | |
opts | |
args | |
end | |
vfdb = DQUtils.db.Databases.get_folder(opts.vfdb) | |
vff = VirtualFlags.VirtualFlagFolder(vfdb) | |
mapping = vff.get_flag_name_id_mapping() | |
ddb = DefectsDB(opts.defectdb, read_only=True) | |
defectids | |
defectnames | |
defectdict | |
def | runends = get_runends() |
key | |
def | vfiovs = do_compact(vff.browseObjects((152166,0), (167845,0), [key], 'DetStatus-v03-repro05-01', selection=lambda x: x.Code < 3)) |
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 | diovs = do_compact(ddb.retrieve((152166,0), (167845,0), [key])) |
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]) | |
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)]) | |
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)]) | |
def dq_defect_virtual_defect_validation.do_compact | ( | iovs | ) |
Definition at line 25 of file dq_defect_virtual_defect_validation.py.
def dq_defect_virtual_defect_validation.get_runends | ( | ) |
Definition at line 14 of file dq_defect_virtual_defect_validation.py.
def dq_defect_virtual_defect_validation.truncate_iovs_to_runs | ( | iovs, | |
runends | |||
) |
Definition at line 3 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.args |
Definition at line 50 of file dq_defect_virtual_defect_validation.py.
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]) |
Definition at line 79 of file dq_defect_virtual_defect_validation.py.
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)]) |
Definition at line 85 of file dq_defect_virtual_defect_validation.py.
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]) |
Definition at line 81 of file dq_defect_virtual_defect_validation.py.
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)]) |
Definition at line 86 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.ddb = DefectsDB(opts.defectdb, read_only=True) |
Definition at line 62 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.default |
Definition at line 45 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.defectdict |
Definition at line 63 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.defectids |
Definition at line 63 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.defectnames |
Definition at line 63 of file dq_defect_virtual_defect_validation.py.
def dq_defect_virtual_defect_validation.diovs = do_compact(ddb.retrieve((152166,0), (167845,0), [key])) |
Definition at line 80 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.end |
Definition at line 55 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.help |
Definition at line 46 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.key |
Definition at line 76 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.mapping = vff.get_flag_name_id_mapping() |
Definition at line 58 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.opts |
Definition at line 50 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.parser = optparse.OptionParser() |
Definition at line 44 of file dq_defect_virtual_defect_validation.py.
def dq_defect_virtual_defect_validation.runends = get_runends() |
Definition at line 67 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.vfdb = DQUtils.db.Databases.get_folder(opts.vfdb) |
Definition at line 56 of file dq_defect_virtual_defect_validation.py.
dq_defect_virtual_defect_validation.vff = VirtualFlags.VirtualFlagFolder(vfdb) |
Definition at line 57 of file dq_defect_virtual_defect_validation.py.
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)) |
Definition at line 77 of file dq_defect_virtual_defect_validation.py.