ATLAS Offline Software
DataQuality
DQDefects
share
Namespaces
|
Functions
|
Variables
dq_defect_copy_defect_database.py File Reference
Go to the source code of this file.
Namespaces
dq_defect_copy_defect_database
Functions
def
dq_defect_copy_defect_database.parse_runlumi
(instr)
def
dq_defect_copy_defect_database.parse_channels
(instr)
Variables
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")
dq_defect_copy_defect_database.default
dq_defect_copy_defect_database.False
dq_defect_copy_defect_database.action
dq_defect_copy_defect_database.help
dq_defect_copy_defect_database.None
dq_defect_copy_defect_database.opts
dq_defect_copy_defect_database.args
dq_defect_copy_defect_database.createdefects
dq_defect_copy_defect_database.indb
= DefectsDB(args[0], read_only=
True
, tag=opts.intag)
dq_defect_copy_defect_database.outdb
def
dq_defect_copy_defect_database.since
= parse_runlumi(opts.since)
def
dq_defect_copy_defect_database.until
= parse_runlumi(opts.until)
def
dq_defect_copy_defect_database.channels
= parse_channels(opts.defects)
dq_defect_copy_defect_database.iniovs
= indb.retrieve(since=since, until=until, channels=channels, primary_only=
True
, nonpresent=(not opts.noabsent))
dq_defect_copy_defect_database.inchannels
= set(channels
if
channels is not None else indb.defect_names)
dq_defect_copy_defect_database.outchannels
= set(outdb.defect_names)
dq_defect_copy_defect_database.missingchannels
= inchannels-outchannels
dq_defect_copy_defect_database.descriptions
= indb.get_channel_descriptions(missingchannels)
Generated on Sun Dec 22 2024 21:23:45 for ATLAS Offline Software by
1.8.18