ATLAS Offline Software
|
Functions | |
def | parse_runlumi (instr) |
def | parse_channels (instr) |
Variables | |
parser = optparse.OptionParser(usage="usage: %prog [options] indb outdb\n\nindb and outdb can be COOL connection strings or \"filename/dbname\", e.g. mydb.db/COMP200") | |
default | |
False | |
action | |
help | |
None | |
opts | |
args | |
createdefects | |
indb = DefectsDB(args[0], read_only=True, tag=opts.intag) | |
outdb | |
def | since = parse_runlumi(opts.since) |
def | until = parse_runlumi(opts.until) |
def | channels = parse_channels(opts.defects) |
iniovs = indb.retrieve(since=since, until=until, channels=channels, primary_only=True, nonpresent=(not opts.noabsent)) | |
inchannels = set(channels if channels is not None else indb.defect_names) | |
outchannels = set(outdb.defect_names) | |
missingchannels = inchannels-outchannels | |
descriptions = indb.get_channel_descriptions(missingchannels) | |
def dq_defect_copy_defect_database.parse_channels | ( | instr | ) |
Definition at line 16 of file dq_defect_copy_defect_database.py.
def dq_defect_copy_defect_database.parse_runlumi | ( | instr | ) |
Definition at line 7 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.action |
Definition at line 29 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.args |
Definition at line 41 of file dq_defect_copy_defect_database.py.
def dq_defect_copy_defect_database.channels = parse_channels(opts.defects) |
Definition at line 56 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.createdefects |
Definition at line 48 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.default |
Definition at line 29 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.descriptions = indb.get_channel_descriptions(missingchannels) |
Definition at line 73 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.False |
Definition at line 29 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.help |
Definition at line 30 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.inchannels = set(channels if channels is not None else indb.defect_names) |
Definition at line 62 of file dq_defect_copy_defect_database.py.
Definition at line 50 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.iniovs = indb.retrieve(since=since, until=until, channels=channels, primary_only=True, nonpresent=(not opts.noabsent)) |
Definition at line 59 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.missingchannels = inchannels-outchannels |
Definition at line 64 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.None |
Definition at line 35 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.opts |
Definition at line 41 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.outchannels = set(outdb.defect_names) |
Definition at line 63 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.outdb |
Definition at line 51 of file dq_defect_copy_defect_database.py.
dq_defect_copy_defect_database.parser = optparse.OptionParser(usage="usage: %prog [options] indb outdb\n\nindb and outdb can be COOL connection strings or \"filename/dbname\", e.g. mydb.db/COMP200") |
Definition at line 28 of file dq_defect_copy_defect_database.py.
def dq_defect_copy_defect_database.since = parse_runlumi(opts.since) |
Definition at line 54 of file dq_defect_copy_defect_database.py.
def dq_defect_copy_defect_database.until = parse_runlumi(opts.until) |
Definition at line 55 of file dq_defect_copy_defect_database.py.