![]() |
ATLAS Offline Software
|
Variables | |
| parser | |
| type | |
| int | |
| default | |
| help | |
| dest | |
| float | |
| action | |
| args = parser.parse_args() | |
| run = args.run | |
| int | run2 = 0 else run |
| lumi = args.lumi | |
| int | lumi2 = 0 else lumi |
| folderPath = args.folder | |
| str | folderPath2 = "none" else folderPath |
| tag = args.tag | |
| str | tag2 = "none" else tag |
| schema = args.schema | |
| str | schema2 = "none" else schema |
| jsonfn = args.jsonfn | |
| str | jsonfn2 = "same" else jsonfn |
| maxdiff = args.maxdiff | |
| maxdiffpercent = args.maxdiffpercent | |
| print_to_stdout = args.stdout | |
| log = getLogger("ReadFromCrest") | |
| db = jsonfn | |
| str | db2 = jsonfn2 |
| f = open('output_crest.ascii', 'w') | |
| fd = open('from_%d_to_%d.dif'%(run2,run), 'w') | |
| bool | writedif = True |
| blobReader = TileCalibCrest.TileBlobReaderCrest(db, folderPath, tag, run, lumi) | |
| blobReader2 = TileCalibCrest.TileBlobReaderCrest(db2, folderPath2, tag2, run2, lumi2) | |
| int | ros = 1 |
| int | drawer = 0 |
| flt = None | |
| int | r = 5 |
| int | d = 0 |
| ot = flt.getObjType() | |
| ov = flt.getObjVersion() | |
| int | os = flt.getObjSizeByte()//4 |
| no = flt.getNObjs() | |
| nc = flt.getNChans() | |
| ng = flt.getNGains() | |
| flt2 = None | |
| ot2 = flt2.getObjType() | |
| int | os2 = flt2.getObjSizeByte()//4 |
| answ = input(' continue anyway? (y/n)') | |
| list | v = [] |
| list | v2 = [] |
| modName = TileCalibUtils.getDrawerString(ros,mod) | |
| int | osc = flt.getObjSizeByte()//4 |
| int | os2c = flt2.getObjSizeByte()//4 |
| oscMax = max(osc,os2c) | |
| str | chnName = " %2i" % chn |
| list | dv12 = v[ind] - v2[ind] |
| int | dv12percent = 0 |
| str | line = '%s chann %2d adc %d ind %d val1 %d val2 %d diff %d' % (modName,chn,adc,ind,v[ind],v2[ind],dv12) |
| ReadFromCrestCompare.action |
Definition at line 108 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.answ = input(' continue anyway? (y/n)') |
Definition at line 251 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.args = parser.parse_args() |
Definition at line 111 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.blobReader = TileCalibCrest.TileBlobReaderCrest(db, folderPath, tag, run, lumi) |
Definition at line 199 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.blobReader2 = TileCalibCrest.TileBlobReaderCrest(db2, folderPath2, tag2, run2, lumi2) |
Definition at line 202 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.chnName = " %2i" % chn |
Definition at line 297 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.d = 0 |
Definition at line 216 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.db = jsonfn |
Definition at line 179 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.db2 = jsonfn2 |
Definition at line 184 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.default |
Definition at line 75 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.dest |
Definition at line 79 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.drawer = 0 |
Definition at line 209 of file ReadFromCrestCompare.py.
Definition at line 304 of file ReadFromCrestCompare.py.
| list ReadFromCrestCompare.dv12percent = 0 |
Definition at line 307 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.f = open('output_crest.ascii', 'w') |
Definition at line 189 of file ReadFromCrestCompare.py.
Definition at line 191 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.float |
Definition at line 103 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.flt = None |
Definition at line 214 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.flt2 = None |
Definition at line 234 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.folderPath = args.folder |
Definition at line 118 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.folderPath2 = "none" else folderPath |
Definition at line 119 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.help |
Definition at line 76 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.int |
Definition at line 75 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.jsonfn = args.jsonfn |
Definition at line 124 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.jsonfn2 = "same" else jsonfn |
Definition at line 125 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.line = '%s chann %2d adc %d ind %d val1 %d val2 %d diff %d' % (modName,chn,adc,ind,v[ind],v2[ind],dv12) |
Definition at line 315 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.log = getLogger("ReadFromCrest") |
Definition at line 172 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.lumi = args.lumi |
Definition at line 116 of file ReadFromCrestCompare.py.
Definition at line 117 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.maxdiff = args.maxdiff |
Definition at line 126 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.maxdiffpercent = args.maxdiffpercent |
Definition at line 127 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.modName = TileCalibUtils.getDrawerString(ros,mod) |
Definition at line 274 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.nc = flt.getNChans() |
Definition at line 231 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ng = flt.getNGains() |
Definition at line 232 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.no = flt.getNObjs() |
Definition at line 230 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.os = flt.getObjSizeByte()//4 |
Definition at line 229 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.os2 = flt2.getObjSizeByte()//4 |
Definition at line 247 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.os2c = flt2.getObjSizeByte()//4 |
Definition at line 280 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.osc = flt.getObjSizeByte()//4 |
Definition at line 279 of file ReadFromCrestCompare.py.
Definition at line 281 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ot = flt.getObjType() |
Definition at line 227 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ot2 = flt2.getObjType() |
Definition at line 246 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ov = flt.getObjVersion() |
Definition at line 228 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.parser |
Definition at line 36 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.print_to_stdout = args.stdout |
Definition at line 128 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.r = 5 |
Definition at line 215 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.ros = 1 |
Definition at line 208 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.run = args.run |
Definition at line 114 of file ReadFromCrestCompare.py.
Definition at line 115 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.schema = args.schema |
Definition at line 122 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.schema2 = "none" else schema |
Definition at line 123 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.tag = args.tag |
Definition at line 120 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.tag2 = "none" else tag |
Definition at line 121 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.type |
Definition at line 75 of file ReadFromCrestCompare.py.
| list ReadFromCrestCompare.v = [] |
Definition at line 255 of file ReadFromCrestCompare.py.
| list ReadFromCrestCompare.v2 = [] |
Definition at line 256 of file ReadFromCrestCompare.py.
| bool ReadFromCrestCompare.writedif = True |
Definition at line 192 of file ReadFromCrestCompare.py.