![]() |
ATLAS Offline Software
|
Functions | |
| usage () | |
Variables | |
| str | letters = "hS:s:t:f:r:l:n:c:g:i:bd" |
| list | keywords = ["help","server=","schema=","tag=","folder=","run=","lumi=","channel=","cell=","gain=","index=","brief","double"] |
| opts | |
| extraparams | |
| int | run = 2147483647 |
| int | lumi = 0 |
| str | server = '' |
| str | schema = 'OFL2' |
| str | folderPath = '/TILE/OFL02/NOISE/CELL' |
| str | tag = 'UPD4' |
| int | chan = 48 |
| int | cell = -1 |
| int | gain = -1 |
| int | index = -1 |
| bool | brief = False |
| bool | doubl = False |
| a = a.strip() | |
| tuple | tile = (chan==48) |
| log = CaloCondLogger.getLogger("ReadCellNoise") | |
| str | cabling = 'RUN1' |
| hashMgr = None | |
| hashMgrDef = TileCellTools.TileCellHashMgr(cabling=cabling) | |
| hashMgrA = TileCellTools.TileCellHashMgr("UpgradeA") | |
| hashMgrBC = TileCellTools.TileCellHashMgr("UpgradeBC") | |
| hashMgrABC = TileCellTools.TileCellHashMgr("UpgradeABC") | |
| db = CaloCondTools.openDbConn(schema, server) | |
| folderTag = TileCalibTools.getFolderTag(db, folderPath, tag ) | |
| folder = db.getFolder(folderPath) | |
| iov = CaloCondTools.iovFromRunLumi( run, lumi ) | |
| obj = folder.findObject( iov, chan, folderTag ) | |
| blob = obj.payload()[0] | |
| blobFlt = cppyy.gbl.CaloCondBlobFlt.getInstance(blob) | |
| 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 = [] |
| str | dm = " " |
| str | msg = "%s%4d %s%d\t" % ( name1[0], cell, name1[1], gain) |
| v = blobFlt.getData(cell, gain, index) | |
| ReadCellNoiseFromCool.usage | ( | ) |
Definition at line 17 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.a = a.strip() |
Definition at line 60 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.blob = obj.payload()[0] |
Definition at line 187 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.blobFlt = cppyy.gbl.CaloCondBlobFlt.getInstance(blob) |
Definition at line 190 of file ReadCellNoiseFromCool.py.
| bool ReadCellNoiseFromCool.brief = False |
Definition at line 56 of file ReadCellNoiseFromCool.py.
| str ReadCellNoiseFromCool.cabling = 'RUN1' |
Definition at line 154 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.cell = -1 |
Definition at line 53 of file ReadCellNoiseFromCool.py.
| int ReadCellNoiseFromCool.cellmax = ncell |
Definition at line 213 of file ReadCellNoiseFromCool.py.
| int ReadCellNoiseFromCool.cellmin = 0 |
Definition at line 212 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.chan = 48 |
Definition at line 52 of file ReadCellNoiseFromCool.py.
Definition at line 168 of file ReadCellNoiseFromCool.py.
| str ReadCellNoiseFromCool.dm = " " |
Definition at line 235 of file ReadCellNoiseFromCool.py.
| bool ReadCellNoiseFromCool.doubl = False |
Definition at line 57 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.extraparams |
Definition at line 39 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.folder = db.getFolder(folderPath) |
Definition at line 181 of file ReadCellNoiseFromCool.py.
Definition at line 50 of file ReadCellNoiseFromCool.py.
| str ReadCellNoiseFromCool.folderTag = TileCalibTools.getFolderTag(db, folderPath, tag ) |
Definition at line 171 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.gain = -1 |
Definition at line 54 of file ReadCellNoiseFromCool.py.
| int ReadCellNoiseFromCool.gainmax = ngain |
Definition at line 220 of file ReadCellNoiseFromCool.py.
| int ReadCellNoiseFromCool.gainmin = 0 |
Definition at line 219 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.hashMgr = None |
Definition at line 162 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.hashMgrA = TileCellTools.TileCellHashMgr("UpgradeA") |
Definition at line 164 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.hashMgrABC = TileCellTools.TileCellHashMgr("UpgradeABC") |
Definition at line 166 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.hashMgrBC = TileCellTools.TileCellHashMgr("UpgradeBC") |
Definition at line 165 of file ReadCellNoiseFromCool.py.
Definition at line 163 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.index = -1 |
Definition at line 55 of file ReadCellNoiseFromCool.py.
| int ReadCellNoiseFromCool.indexmax = nval |
Definition at line 227 of file ReadCellNoiseFromCool.py.
| int ReadCellNoiseFromCool.indexmin = 0 |
Definition at line 226 of file ReadCellNoiseFromCool.py.
Definition at line 184 of file ReadCellNoiseFromCool.py.
| list ReadCellNoiseFromCool.keywords = ["help","server=","schema=","tag=","folder=","run=","lumi=","channel=","cell=","gain=","index=","brief","double"] |
Definition at line 36 of file ReadCellNoiseFromCool.py.
| str ReadCellNoiseFromCool.letters = "hS:s:t:f:r:l:n:c:g:i:bd" |
Definition at line 35 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.log = CaloCondLogger.getLogger("ReadCellNoise") |
Definition at line 101 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.lumi = 0 |
Definition at line 47 of file ReadCellNoiseFromCool.py.
Definition at line 248 of file ReadCellNoiseFromCool.py.
| list ReadCellNoiseFromCool.name1 = ["","","0.0 "] |
Definition at line 233 of file ReadCellNoiseFromCool.py.
| list ReadCellNoiseFromCool.names = [] |
Definition at line 234 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.ncell = blobFlt.getNChans() |
Definition at line 197 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.ngain = blobFlt.getNGains() |
Definition at line 198 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.nval = blobFlt.getObjSizeUint32() |
Definition at line 199 of file ReadCellNoiseFromCool.py.
Definition at line 186 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.opts |
Definition at line 39 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.run = 2147483647 |
Definition at line 46 of file ReadCellNoiseFromCool.py.
| str ReadCellNoiseFromCool.schema = 'OFL2' |
Definition at line 49 of file ReadCellNoiseFromCool.py.
| ReadCellNoiseFromCool.server = '' |
Definition at line 48 of file ReadCellNoiseFromCool.py.
| str ReadCellNoiseFromCool.tag = 'UPD4' |
Definition at line 51 of file ReadCellNoiseFromCool.py.
| tuple ReadCellNoiseFromCool.tile = (chan==48) |
Definition at line 92 of file ReadCellNoiseFromCool.py.
Definition at line 250 of file ReadCellNoiseFromCool.py.