ATLAS Offline Software
|
Go to the source code of this file.
Namespaces | |
CaloPedestal_fillDB | |
Functions | |
def | CaloPedestal_fillDB.usage () |
Variables | |
CaloPedestal_fillDB.runSince = sys.argv[1] | |
CaloPedestal_fillDB.lbkSince = sys.argv[2] | |
CaloPedestal_fillDB.runUntil = sys.argv[3] | |
CaloPedestal_fillDB.lbkUntil = sys.argv[4] | |
CaloPedestal_fillDB.runTag = sys.argv[5] | |
string | CaloPedestal_fillDB.inputFile = "calopedestal.txt" |
CaloPedestal_fillDB.iovSince = CaloCondTools.iovFromRunLumi(runSince,lbkSince) | |
CaloPedestal_fillDB.iovUntil = cool.ValidityKeyMax | |
string | CaloPedestal_fillDB.tag = "" |
string | CaloPedestal_fillDB.author = "gunal" |
string | CaloPedestal_fillDB.comment = "Updated pedestal shift values" |
CaloPedestal_fillDB.g = cppyy.gbl | |
CaloPedestal_fillDB.log = CaloCondLogger.getLogger("CaloNoiseWriter") | |
CaloPedestal_fillDB.db = CaloCondTools.openDb('SQLITE', 'CONDBR2', 'UPDATE') | |
CaloPedestal_fillDB.spec = cool.RecordSpecification() | |
CaloPedestal_fillDB.fspec = cool.FolderSpecification(cool.FolderVersioning.MULTI_VERSION, spec) | |
string | CaloPedestal_fillDB.folderPath = CaloCondTools.getCaloPrefix()+"Ofl/Pedestal/CellPedestal" |
string | CaloPedestal_fillDB.folderTag = tag |
CaloPedestal_fillDB.desc = CaloCondTools.getAthenaFolderDescr() | |
CaloPedestal_fillDB.folder = db.getFolder(folderPath) | |
CaloPedestal_fillDB.gainDefVec = g.std.vector('float')() | |
CaloPedestal_fillDB.defVecLAr = g.std.vector('std::vector<float>')() | |
CaloPedestal_fillDB.defVecTile = g.std.vector('std::vector<float>')() | |
dictionary | CaloPedestal_fillDB.systemDict |
dictionary | CaloPedestal_fillDB.fltDict = {} |
CaloPedestal_fillDB.nChannel = info[0] | |
CaloPedestal_fillDB.defVec = info[2] | |
CaloPedestal_fillDB.sysName = info[3] | |
CaloPedestal_fillDB.data = cool.Record( spec ) | |
CaloPedestal_fillDB.blob = data['CaloCondBlob16M'] | |
CaloPedestal_fillDB.flt = g.CaloCondBlobFlt.getInstance(blob) | |
int | CaloPedestal_fillDB.mbSize = float(blob.size()) / 1024. |
CaloPedestal_fillDB.lines = open(inputFile,"r").readlines() | |
CaloPedestal_fillDB.fields = line.split() | |
CaloPedestal_fillDB.systemId = int(fields[0]) | |
dictionary | CaloPedestal_fillDB.hash = int(fields[1]) - systemDict[systemId][1] |
CaloPedestal_fillDB.gain = g.CaloCondUtils.getDbCaloGain(int(fields[2])) | |
CaloPedestal_fillDB.noiseA = float(fields[3]) | |
CaloPedestal_fillDB.noiseB = float(fields[4]) | |
CaloPedestal_fillDB.channelId = cool.ChannelId(systemId) | |