![]() |
ATLAS Offline Software
|
Variables | |
| parser | |
| default | |
| help | |
| type | |
| int | |
| float | |
| action | |
| args = parser.parse_args() | |
| run = args.run | |
| int | run2 = 0 else run |
| lumi = args.lumi | |
| int | lumi2 = 0 else lumi |
| schema = args.schema | |
| str | schema2 = "none" else schema |
| folderPath = args.folder | |
| str | folderPath2 = "none" else folderPath |
| tag = args.tag | |
| str | tag2 = "none" else tag |
| maxdiff = args.maxdiff | |
| maxdiffpercent = args.maxdiffpercent | |
| chan = args.channel | |
| cell = args.cell | |
| gain = args.gain | |
| index = args.index | |
| zthr = args.zero | |
| multi = not args.wide | |
| brief = args.brief | |
| doubl = args.double | |
| print_to_stdout = args.stdout | |
| tuple | tile = (chan==48) |
| log = CaloCondLogger.getLogger("ReadCellNoise") | |
| str | cabling = 'RUN3' |
| hashMgrDef = TileCellTools.TileCellHashMgr(cabling=cabling) | |
| hashMgrA = TileCellTools.TileCellHashMgr("UpgradeA") | |
| hashMgrBC = TileCellTools.TileCellHashMgr("UpgradeBC") | |
| hashMgrABC = TileCellTools.TileCellHashMgr("UpgradeABC") | |
| tag_upper = tag.upper() | |
| str | tag1 = tag_upper.split('_')[1][:4] if '_' in tag_upper else tag_upper[:4] |
| str | folderPath1 = "" |
| str | tag2_upper = tag2.upper() |
| str | tag2_1 = tag2_upper.split('_')[1][:4] if '_' in tag2_upper else tag2_upper[:4] |
| blobReader = TileCalibCrest.TileBlobReaderCrest(schema, folderPath1, tag, run, lumi) | |
| folderTag = blobReader.getTag() | |
| blobReader2 = TileCalibCrest.TileBlobReaderCrest(schema2, folderPath2, tag2, run2, lumi2) | |
| folderTag2 = blobReader2.getTag() | |
| blobFlt = blobReader.getDrawer(-1,chan,None,False,False) | |
| blobFlt2 = blobReader2.getDrawer(-1,chan,None,False,False) | |
| str | outputfile = 'output_crest.ascii' |
| f = open(outputfile, 'w') | |
| ncell = blobFlt.getNChans() | |
| ngain = blobFlt.getNGains() | |
| nval = blobFlt.getObjSizeUint32() | |
| int | cellmin = 0 |
| cellmax = ncell | |
| int | gainmin = 0 |
| gainmax = ngain | |
| int | indexmin = 0 |
| indexmax = nval | |
| list | name1 = ["","","0.0 "] |
| list | names = ["S0 ", "Pl ", "S1 ", "S2 ", "Ra "] |
| str | dm = " " |
| hashMgr = hashMgrABC | |
| str | msg = "%s%4d %s%d\t" % ( name1[0], cell, name1[1], gain) |
| l0 = len(msg) | |
| v = blobFlt.getData(cell, gain, index) | |
| v2 = blobFlt2.getData(cell, gain, index) | |
| dv12 = v - v2 | |
| int | dp12 = 0 |
| str | s1 = "{0:<14.9g}".format(v) if v<0 else "{0:<15.10g}".format(v) |
| str | s2 = "{0:<14.9g}".format(v2) if v2<0 else "{0:<15.10g}".format(v2) |
| str | s3 = "{0:<14.9g}".format(dv12) if dv12<0 else "{0:<15.10g}".format(dv12) |
| str | s4 = "{0:<14.9g}".format(dp12) if dp12<0 else "{0:<15.10g}".format(dp12) |
| str | output_line = msg[:len(msg)-len(dm)] |
| ReadCellNoiseFromCrestCompare.action |
Definition at line 80 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.args = parser.parse_args() |
Definition at line 89 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 200 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 205 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.blobReader = TileCalibCrest.TileBlobReaderCrest(schema, folderPath1, tag, run, lumi) |
Definition at line 187 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.blobReader2 = TileCalibCrest.TileBlobReaderCrest(schema2, folderPath2, tag2, run2, lumi2) |
Definition at line 192 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.brief = args.brief |
Definition at line 110 of file ReadCellNoiseFromCrestCompare.py.
| str cabling = 'RUN3' |
Definition at line 156 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.cell = args.cell |
Definition at line 105 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 249 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.cellmin = 0 |
Definition at line 248 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.chan = args.channel |
Definition at line 104 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.default |
Definition at line 40 of file ReadCellNoiseFromCrestCompare.py.
| str dm = " " |
Definition at line 273 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.doubl = args.double |
Definition at line 111 of file ReadCellNoiseFromCrestCompare.py.
| int dp12 = 0 |
Definition at line 308 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 303 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.f = open(outputfile, 'w') |
Definition at line 212 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.float |
Definition at line 64 of file ReadCellNoiseFromCrestCompare.py.
| str folderPath = args.folder |
Definition at line 98 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.folderPath1 = "" |
Definition at line 173 of file ReadCellNoiseFromCrestCompare.py.
| str folderPath2 = "none" else folderPath |
Definition at line 99 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.folderTag = blobReader.getTag() |
Definition at line 188 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.folderTag2 = blobReader2.getTag() |
Definition at line 193 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.gain = args.gain |
Definition at line 106 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 256 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.gainmin = 0 |
Definition at line 255 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.hashMgr = hashMgrABC |
Definition at line 283 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.hashMgrA = TileCellTools.TileCellHashMgr("UpgradeA") |
Definition at line 165 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.hashMgrABC = TileCellTools.TileCellHashMgr("UpgradeABC") |
Definition at line 167 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.hashMgrBC = TileCellTools.TileCellHashMgr("UpgradeBC") |
Definition at line 166 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 164 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.help |
Definition at line 41 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.index = args.index |
Definition at line 107 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 263 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.indexmin = 0 |
Definition at line 262 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.int |
Definition at line 46 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.l0 = len(msg) |
Definition at line 297 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.log = CaloCondLogger.getLogger("ReadCellNoise") |
Definition at line 151 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.lumi = args.lumi |
Definition at line 94 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 95 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.maxdiff = args.maxdiff |
Definition at line 102 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.maxdiffpercent = args.maxdiffpercent |
Definition at line 103 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 296 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.multi = not args.wide |
Definition at line 109 of file ReadCellNoiseFromCrestCompare.py.
| list name1 = ["","","0.0 "] |
Definition at line 271 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 272 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.ncell = blobFlt.getNChans() |
Definition at line 243 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.ngain = blobFlt.getNGains() |
Definition at line 244 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.nval = blobFlt.getObjSizeUint32() |
Definition at line 245 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 329 of file ReadCellNoiseFromCrestCompare.py.
| str ReadCellNoiseFromCrestCompare.outputfile = 'output_crest.ascii' |
Definition at line 211 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.parser |
Definition at line 15 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.print_to_stdout = args.stdout |
Definition at line 112 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.run = args.run |
Definition at line 92 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 93 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 316 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 317 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 318 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 319 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.schema = args.schema |
Definition at line 96 of file ReadCellNoiseFromCrestCompare.py.
| str ReadCellNoiseFromCrestCompare.schema2 = "none" else schema |
Definition at line 97 of file ReadCellNoiseFromCrestCompare.py.
| str tag = args.tag |
Definition at line 100 of file ReadCellNoiseFromCrestCompare.py.
| str ReadCellNoiseFromCrestCompare.tag1 = tag_upper.split('_')[1][:4] if '_' in tag_upper else tag_upper[:4] |
Definition at line 171 of file ReadCellNoiseFromCrestCompare.py.
| str tag2 = "none" else tag |
Definition at line 101 of file ReadCellNoiseFromCrestCompare.py.
| str ReadCellNoiseFromCrestCompare.tag2_1 = tag2_upper.split('_')[1][:4] if '_' in tag2_upper else tag2_upper[:4] |
Definition at line 178 of file ReadCellNoiseFromCrestCompare.py.
| str ReadCellNoiseFromCrestCompare.tag2_upper = tag2.upper() |
Definition at line 177 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.tag_upper = tag.upper() |
Definition at line 170 of file ReadCellNoiseFromCrestCompare.py.
| tuple ReadCellNoiseFromCrestCompare.tile = (chan==48) |
Definition at line 114 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.type |
Definition at line 46 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 301 of file ReadCellNoiseFromCrestCompare.py.
Definition at line 302 of file ReadCellNoiseFromCrestCompare.py.
| ReadCellNoiseFromCrestCompare.zthr = args.zero |
Definition at line 108 of file ReadCellNoiseFromCrestCompare.py.