ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self, head_id=None, impl=None, lr=None, ur=None, lt=None, ut=None, luminosity=None, rootfile=None, statusflag=None) |
def | __del__ (self) |
def | ptrace (self) |
def | setdb (self, dbid) |
def | dbgout (self, output) |
def | missing_attributes (self, checkvars) |
def | userstrings (self, access='read', schema='meta') |
def | connect (self, access='read', schema='meta') |
def | set_active_db (self) |
def | timestart (self) |
def | timestop (self) |
def | exec_delete (self, sql, ctype="data") |
def | exec_insert (self, sql, ctype="data") |
def | check_opcount (self) |
def | commit (self, force=False) |
def | rollback (self) |
def | parse_id_arg (self, id) |
def | setup_dblink (self, srcdb, service) |
def | drop_dblink (self) |
def | format_headinfo (self) |
def | get_head_info (self) |
def | convert_datetime_oracle (self, dtobj) |
def | get_t0 (self, tube_id=None, chamber_id=None) |
def | get_rt (self, chamber_id=None) |
def | check_copy_args (self, sourceobj, fn) |
def | write_data_schema (self) |
def | write_headid (self) |
def | copy_head (self, sourceobj=None) |
def | copy_rt (self, sourceobj, chamber=None, ignore_missing=False) |
def | copy_tzero (self, sourceobj=None, chamber=None, tube=None, ignore_missing=False) |
def | insert_rt_map (self, point_nr, r, t, s) |
def | insert_rt (self, regionid) |
def | insert_adc (self, tube_id, chamber_id, nhits, adc_0, adc_0_err, adc_1, adc_1_err, adc_2, adc_2_err, adc_3, adc_3_err, adc_chisquare) |
def | insert_t0 (self, tube_id, chamber_id, tzero, avg_adc, calibflag, stats, chi2, t0err, tmax, tmax_err, noise, noise_err, slope, slope_err) |
def | delete_head_id (self) |
def | delete_rt (self, region=None) |
def | delete_tube (self, tube=None, chamber=None) |
def | set_rt_valid (self, tube=None) |
def | set_t0_valid (self, tube=None) |
def | fetch_head_data (self) |
def | format_head_data (self, head_data_rows) |
Static Public Member Functions | |
def | format_dblist () |
def | extract_tubestring (fullstring) |
def | convert_tube (tube) |
def | get_tube_id (tube) |
def | get_tube_string (tube) |
Static Public Attributes | |
service_re = re.compile('\(SERVICE_NAME\s*\=\s*([A-Za-z.]+)\)+') | |
unixts = re.compile('[0-9]{10,11}') | |
head_row = self.mcursor.fetchone() | |
list | head_data_rows = [] |
Definition at line 53 of file CalibDataClass.py.
def CalibDataClass.CalibData.__init__ | ( | self, | |
head_id = None , |
|||
impl = None , |
|||
lr = None , |
|||
ur = None , |
|||
lt = None , |
|||
ut = None , |
|||
luminosity = None , |
|||
rootfile = None , |
|||
statusflag = None |
|||
) |
Definition at line 58 of file CalibDataClass.py.
def CalibDataClass.CalibData.__del__ | ( | self | ) |
Definition at line 183 of file CalibDataClass.py.
def CalibDataClass.CalibData.check_copy_args | ( | self, | |
sourceobj, | |||
fn | |||
) |
Definition at line 691 of file CalibDataClass.py.
def CalibDataClass.CalibData.check_opcount | ( | self | ) |
Definition at line 427 of file CalibDataClass.py.
def CalibDataClass.CalibData.commit | ( | self, | |
force = False |
|||
) |
Definition at line 439 of file CalibDataClass.py.
def CalibDataClass.CalibData.connect | ( | self, | |
access = 'read' , |
|||
schema = 'meta' |
|||
) |
Definition at line 286 of file CalibDataClass.py.
def CalibDataClass.CalibData.convert_datetime_oracle | ( | self, | |
dtobj | |||
) |
Definition at line 649 of file CalibDataClass.py.
|
static |
Definition at line 574 of file CalibDataClass.py.
def CalibDataClass.CalibData.copy_head | ( | self, | |
sourceobj = None |
|||
) |
Definition at line 780 of file CalibDataClass.py.
def CalibDataClass.CalibData.copy_rt | ( | self, | |
sourceobj, | |||
chamber = None , |
|||
ignore_missing = False |
|||
) |
Definition at line 818 of file CalibDataClass.py.
def CalibDataClass.CalibData.copy_tzero | ( | self, | |
sourceobj = None , |
|||
chamber = None , |
|||
tube = None , |
|||
ignore_missing = False |
|||
) |
Definition at line 868 of file CalibDataClass.py.
def CalibDataClass.CalibData.dbgout | ( | self, | |
output | |||
) |
Definition at line 235 of file CalibDataClass.py.
def CalibDataClass.CalibData.delete_head_id | ( | self | ) |
Definition at line 1011 of file CalibDataClass.py.
def CalibDataClass.CalibData.delete_rt | ( | self, | |
region = None |
|||
) |
Definition at line 1022 of file CalibDataClass.py.
def CalibDataClass.CalibData.delete_tube | ( | self, | |
tube = None , |
|||
chamber = None |
|||
) |
Definition at line 1038 of file CalibDataClass.py.
def CalibDataClass.CalibData.drop_dblink | ( | self | ) |
Definition at line 528 of file CalibDataClass.py.
def CalibDataClass.CalibData.exec_delete | ( | self, | |
sql, | |||
ctype = "data" |
|||
) |
Definition at line 384 of file CalibDataClass.py.
def CalibDataClass.CalibData.exec_insert | ( | self, | |
sql, | |||
ctype = "data" |
|||
) |
Definition at line 413 of file CalibDataClass.py.
|
static |
Definition at line 555 of file CalibDataClass.py.
def CalibDataClass.CalibData.fetch_head_data | ( | self | ) |
Definition at line 1092 of file CalibDataClass.py.
|
static |
Definition at line 206 of file CalibDataClass.py.
def CalibDataClass.CalibData.format_head_data | ( | self, | |
head_data_rows | |||
) |
Definition at line 1111 of file CalibDataClass.py.
def CalibDataClass.CalibData.format_headinfo | ( | self | ) |
Definition at line 539 of file CalibDataClass.py.
def CalibDataClass.CalibData.get_head_info | ( | self | ) |
Definition at line 599 of file CalibDataClass.py.
def CalibDataClass.CalibData.get_rt | ( | self, | |
chamber_id = None |
|||
) |
Definition at line 677 of file CalibDataClass.py.
def CalibDataClass.CalibData.get_t0 | ( | self, | |
tube_id = None , |
|||
chamber_id = None |
|||
) |
Definition at line 656 of file CalibDataClass.py.
|
static |
Definition at line 584 of file CalibDataClass.py.
|
static |
Definition at line 589 of file CalibDataClass.py.
def CalibDataClass.CalibData.insert_adc | ( | self, | |
tube_id, | |||
chamber_id, | |||
nhits, | |||
adc_0, | |||
adc_0_err, | |||
adc_1, | |||
adc_1_err, | |||
adc_2, | |||
adc_2_err, | |||
adc_3, | |||
adc_3_err, | |||
adc_chisquare | |||
) |
Definition at line 968 of file CalibDataClass.py.
def CalibDataClass.CalibData.insert_rt | ( | self, | |
regionid | |||
) |
Definition at line 951 of file CalibDataClass.py.
def CalibDataClass.CalibData.insert_rt_map | ( | self, | |
point_nr, | |||
r, | |||
t, | |||
s | |||
) |
Definition at line 935 of file CalibDataClass.py.
def CalibDataClass.CalibData.insert_t0 | ( | self, | |
tube_id, | |||
chamber_id, | |||
tzero, | |||
avg_adc, | |||
calibflag, | |||
stats, | |||
chi2, | |||
t0err, | |||
tmax, | |||
tmax_err, | |||
noise, | |||
noise_err, | |||
slope, | |||
slope_err | |||
) |
Definition at line 985 of file CalibDataClass.py.
def CalibDataClass.CalibData.missing_attributes | ( | self, | |
checkvars | |||
) |
Definition at line 240 of file CalibDataClass.py.
def CalibDataClass.CalibData.parse_id_arg | ( | self, | |
id | |||
) |
Definition at line 484 of file CalibDataClass.py.
def CalibDataClass.CalibData.ptrace | ( | self | ) |
Definition at line 201 of file CalibDataClass.py.
def CalibDataClass.CalibData.rollback | ( | self | ) |
Definition at line 461 of file CalibDataClass.py.
def CalibDataClass.CalibData.set_active_db | ( | self | ) |
Definition at line 351 of file CalibDataClass.py.
def CalibDataClass.CalibData.set_rt_valid | ( | self, | |
tube = None |
|||
) |
Definition at line 1066 of file CalibDataClass.py.
def CalibDataClass.CalibData.set_t0_valid | ( | self, | |
tube = None |
|||
) |
Definition at line 1079 of file CalibDataClass.py.
def CalibDataClass.CalibData.setdb | ( | self, | |
dbid | |||
) |
Definition at line 222 of file CalibDataClass.py.
def CalibDataClass.CalibData.setup_dblink | ( | self, | |
srcdb, | |||
service | |||
) |
Definition at line 500 of file CalibDataClass.py.
def CalibDataClass.CalibData.timestart | ( | self | ) |
Definition at line 367 of file CalibDataClass.py.
def CalibDataClass.CalibData.timestop | ( | self | ) |
Definition at line 372 of file CalibDataClass.py.
def CalibDataClass.CalibData.userstrings | ( | self, | |
access = 'read' , |
|||
schema = 'meta' |
|||
) |
Definition at line 247 of file CalibDataClass.py.
def CalibDataClass.CalibData.write_data_schema | ( | self | ) |
Definition at line 698 of file CalibDataClass.py.
def CalibDataClass.CalibData.write_headid | ( | self | ) |
Definition at line 728 of file CalibDataClass.py.
CalibDataClass.CalibData.active_schema |
Definition at line 364 of file CalibDataClass.py.
CalibDataClass.CalibData.aver_angle |
Definition at line 142 of file CalibDataClass.py.
CalibDataClass.CalibData.aver_spread |
Definition at line 144 of file CalibDataClass.py.
CalibDataClass.CalibData.b_aver |
Definition at line 147 of file CalibDataClass.py.
CalibDataClass.CalibData.bins |
Definition at line 153 of file CalibDataClass.py.
CalibDataClass.CalibData.calibdbwriter |
Definition at line 619 of file CalibDataClass.py.
CalibDataClass.CalibData.calibflag |
Definition at line 136 of file CalibDataClass.py.
CalibDataClass.CalibData.convergence |
Definition at line 146 of file CalibDataClass.py.
CalibDataClass.CalibData.curr |
Definition at line 150 of file CalibDataClass.py.
CalibDataClass.CalibData.database |
Definition at line 224 of file CalibDataClass.py.
CalibDataClass.CalibData.datauser |
Definition at line 319 of file CalibDataClass.py.
CalibDataClass.CalibData.dbtime |
Definition at line 67 of file CalibDataClass.py.
CalibDataClass.CalibData.dbuser |
Definition at line 179 of file CalibDataClass.py.
CalibDataClass.CalibData.dconn |
Definition at line 173 of file CalibDataClass.py.
CalibDataClass.CalibData.dcursor |
Definition at line 174 of file CalibDataClass.py.
CalibDataClass.CalibData.debug |
Definition at line 83 of file CalibDataClass.py.
CalibDataClass.CalibData.delta_aver_angle |
Definition at line 143 of file CalibDataClass.py.
CalibDataClass.CalibData.delta_aver_spread |
Definition at line 145 of file CalibDataClass.py.
CalibDataClass.CalibData.dschema |
Definition at line 177 of file CalibDataClass.py.
CalibDataClass.CalibData.gas |
Definition at line 151 of file CalibDataClass.py.
|
static |
Definition at line 1105 of file CalibDataClass.py.
CalibDataClass.CalibData.head_id |
Definition at line 162 of file CalibDataClass.py.
|
static |
Definition at line 1104 of file CalibDataClass.py.
CalibDataClass.CalibData.histogram |
Definition at line 140 of file CalibDataClass.py.
CalibDataClass.CalibData.hv |
Definition at line 149 of file CalibDataClass.py.
CalibDataClass.CalibData.implementation |
Definition at line 133 of file CalibDataClass.py.
CalibDataClass.CalibData.insert_time |
Definition at line 137 of file CalibDataClass.py.
CalibDataClass.CalibData.limit |
Definition at line 80 of file CalibDataClass.py.
CalibDataClass.CalibData.linkid |
Definition at line 181 of file CalibDataClass.py.
CalibDataClass.CalibData.lowrun |
Definition at line 86 of file CalibDataClass.py.
CalibDataClass.CalibData.lowtime |
Definition at line 102 of file CalibDataClass.py.
CalibDataClass.CalibData.lowtime_string |
Definition at line 101 of file CalibDataClass.py.
CalibDataClass.CalibData.luminosity |
Definition at line 119 of file CalibDataClass.py.
CalibDataClass.CalibData.maxops |
Definition at line 81 of file CalibDataClass.py.
CalibDataClass.CalibData.mconn |
Definition at line 172 of file CalibDataClass.py.
CalibDataClass.CalibData.mcursor |
Definition at line 175 of file CalibDataClass.py.
CalibDataClass.CalibData.metauser |
Definition at line 301 of file CalibDataClass.py.
CalibDataClass.CalibData.mschema |
Definition at line 176 of file CalibDataClass.py.
CalibDataClass.CalibData.n_segs |
Definition at line 141 of file CalibDataClass.py.
CalibDataClass.CalibData.opcount |
Definition at line 61 of file CalibDataClass.py.
CalibDataClass.CalibData.optotal |
Definition at line 63 of file CalibDataClass.py.
CalibDataClass.CalibData.proxyuser |
Definition at line 180 of file CalibDataClass.py.
CalibDataClass.CalibData.regionid |
Definition at line 961 of file CalibDataClass.py.
CalibDataClass.CalibData.replica |
Definition at line 189 of file CalibDataClass.py.
CalibDataClass.CalibData.rootfile |
Definition at line 124 of file CalibDataClass.py.
CalibDataClass.CalibData.schema_active |
Definition at line 169 of file CalibDataClass.py.
CalibDataClass.CalibData.schema_archive_connection_string |
Definition at line 171 of file CalibDataClass.py.
CalibDataClass.CalibData.schema_archived |
Definition at line 170 of file CalibDataClass.py.
CalibDataClass.CalibData.service |
Definition at line 228 of file CalibDataClass.py.
|
static |
Definition at line 54 of file CalibDataClass.py.
CalibDataClass.CalibData.sitename |
Definition at line 225 of file CalibDataClass.py.
CalibDataClass.CalibData.statusflag |
Definition at line 129 of file CalibDataClass.py.
CalibDataClass.CalibData.t0_tube_grouping |
Definition at line 157 of file CalibDataClass.py.
CalibDataClass.CalibData.t_aver |
Definition at line 148 of file CalibDataClass.py.
CalibDataClass.CalibData.timelock |
Definition at line 71 of file CalibDataClass.py.
CalibDataClass.CalibData.timer |
Definition at line 69 of file CalibDataClass.py.
CalibDataClass.CalibData.tnsname |
Definition at line 226 of file CalibDataClass.py.
CalibDataClass.CalibData.transtotal |
Definition at line 65 of file CalibDataClass.py.
CalibDataClass.CalibData.type |
Definition at line 135 of file CalibDataClass.py.
CalibDataClass.CalibData.tzeros |
Definition at line 158 of file CalibDataClass.py.
|
static |
Definition at line 56 of file CalibDataClass.py.
CalibDataClass.CalibData.uprun |
Definition at line 91 of file CalibDataClass.py.
CalibDataClass.CalibData.uptime |
Definition at line 111 of file CalibDataClass.py.
CalibDataClass.CalibData.uptime_string |
Definition at line 110 of file CalibDataClass.py.
CalibDataClass.CalibData.validflag |
Definition at line 152 of file CalibDataClass.py.
CalibDataClass.CalibData.writer_account |
Definition at line 178 of file CalibDataClass.py.