![]() |
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") | |
| folderTag = tag | |
| str | folderTag2 = tag2 |
| db = jsonfn | |
| str | db2 = jsonfn2 |
| f = open('output_crest.ascii', 'w') | |
| fd = open('from_%d_to_%d.dif'%(run2,run), 'w') | |
| bool | writedif = True |
| blobReader2 = TileCalibCrest.TileBlobReaderCrest(db2, folderPath2, folderTag2, run2, lumi2) | |
| blobReader = TileCalibCrest.TileBlobReaderCrest(db, folderPath, folderTag, run, lumi) | |
| 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 96 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.answ = input(' continue anyway? (y/n)') |
Definition at line 236 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.args = parser.parse_args() |
Definition at line 99 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.blobReader = TileCalibCrest.TileBlobReaderCrest(db, folderPath, folderTag, run, lumi) |
Definition at line 187 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.blobReader2 = TileCalibCrest.TileBlobReaderCrest(db2, folderPath2, folderTag2, run2, lumi2) |
Definition at line 184 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.chnName = " %2i" % chn |
Definition at line 282 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.d = 0 |
Definition at line 201 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.db = jsonfn |
Definition at line 161 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.db2 = jsonfn2 |
Definition at line 166 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.default |
Definition at line 63 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.dest |
Definition at line 67 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.drawer = 0 |
Definition at line 194 of file ReadFromCrestCompare.py.
Definition at line 289 of file ReadFromCrestCompare.py.
| list ReadFromCrestCompare.dv12percent = 0 |
Definition at line 292 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.f = open('output_crest.ascii', 'w') |
Definition at line 171 of file ReadFromCrestCompare.py.
Definition at line 173 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.float |
Definition at line 91 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.flt = None |
Definition at line 199 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.flt2 = None |
Definition at line 219 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.folderPath = args.folder |
Definition at line 106 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.folderPath2 = "none" else folderPath |
Definition at line 107 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.folderTag = tag |
Definition at line 145 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.folderTag2 = tag2 |
Definition at line 152 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.help |
Definition at line 64 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.int |
Definition at line 63 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.jsonfn = args.jsonfn |
Definition at line 112 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.jsonfn2 = "same" else jsonfn |
Definition at line 113 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 300 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.log = getLogger("ReadFromCrest") |
Definition at line 140 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.lumi = args.lumi |
Definition at line 104 of file ReadFromCrestCompare.py.
Definition at line 105 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.maxdiff = args.maxdiff |
Definition at line 114 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.maxdiffpercent = args.maxdiffpercent |
Definition at line 115 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.modName = TileCalibUtils.getDrawerString(ros,mod) |
Definition at line 259 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.nc = flt.getNChans() |
Definition at line 216 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ng = flt.getNGains() |
Definition at line 217 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.no = flt.getNObjs() |
Definition at line 215 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.os = flt.getObjSizeByte()//4 |
Definition at line 214 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.os2 = flt2.getObjSizeByte()//4 |
Definition at line 232 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.os2c = flt2.getObjSizeByte()//4 |
Definition at line 265 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.osc = flt.getObjSizeByte()//4 |
Definition at line 264 of file ReadFromCrestCompare.py.
Definition at line 266 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ot = flt.getObjType() |
Definition at line 212 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ot2 = flt2.getObjType() |
Definition at line 231 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.ov = flt.getObjVersion() |
Definition at line 213 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.parser |
Definition at line 33 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.print_to_stdout = args.stdout |
Definition at line 116 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.r = 5 |
Definition at line 200 of file ReadFromCrestCompare.py.
| int ReadFromCrestCompare.ros = 1 |
Definition at line 193 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.run = args.run |
Definition at line 102 of file ReadFromCrestCompare.py.
Definition at line 103 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.schema = args.schema |
Definition at line 110 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.schema2 = "none" else schema |
Definition at line 111 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.tag = args.tag |
Definition at line 108 of file ReadFromCrestCompare.py.
| str ReadFromCrestCompare.tag2 = "none" else tag |
Definition at line 109 of file ReadFromCrestCompare.py.
| ReadFromCrestCompare.type |
Definition at line 63 of file ReadFromCrestCompare.py.
| list ReadFromCrestCompare.v = [] |
Definition at line 240 of file ReadFromCrestCompare.py.
| list ReadFromCrestCompare.v2 = [] |
Definition at line 241 of file ReadFromCrestCompare.py.
| bool ReadFromCrestCompare.writedif = True |
Definition at line 174 of file ReadFromCrestCompare.py.