ATLAS Offline Software
|
Variables | |
string | inputFile = "pedestal.txt" |
int | runSince = 0 |
int | lbkSince = 0 |
iovSince = CaloCondTools.iovFromRunLumi(runSince,lbkSince) | |
iovUntil = cool.ValidityKeyMax | |
string | tag = "000-00" |
string | author = "ngollub" |
string | comment = "to fill pedestal shifts" |
g = cppyy.gbl | |
log = CaloCondLogger.getLogger("CaloNoiseWriter") | |
db = CaloCondTools.openDb('SQLITE', 'COMP200', 'UPDATE') | |
spec = cool.RecordSpecification() | |
string | folderPath = CaloCondTools.getCaloPrefix()+"Pedestal/CellPedestal" |
folderTag = g.CaloCondUtils.getFullTag(folderPath,tag) | |
desc = CaloCondTools.getAthenaFolderDescr() | |
folder = db.getFolder(folderPath) | |
gainDefVec = g.std.vector('float')() | |
defVecLAr = g.std.vector('std::vector<float>')() | |
defVecTile = g.std.vector('std::vector<float>')() | |
dictionary | systemDict |
dictionary | fltDict = {} |
nChannel = info[0] | |
defVec = info[2] | |
sysName = info[3] | |
data = cool.Record( spec ) | |
blob = data['CaloCondBlob16M'] | |
flt = g.CaloCondBlobFlt.getInstance(blob) | |
int | mbSize = float(blob.size()) / 1024. |
lines = open(inputFile,"r").readlines() | |
fields = line.split() | |
systemId = int(fields[0]) | |
dictionary | hash = int(fields[1]) - systemDict[systemId][1] |
gain = g.CaloCondUtils.getDbCaloGain(int(fields[2])) | |
noiseA = float(fields[3]) | |
noiseB = float(fields[4]) | |
channelId = cool.ChannelId(systemId) | |
string CaloCondBlobAlgs_fillPedestalFromASCII.author = "ngollub" |
Definition at line 26 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.blob = data['CaloCondBlob16M'] |
Definition at line 96 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.channelId = cool.ChannelId(systemId) |
Definition at line 122 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
string CaloCondBlobAlgs_fillPedestalFromASCII.comment = "to fill pedestal shifts" |
Definition at line 27 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.data = cool.Record( spec ) |
Definition at line 95 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.db = CaloCondTools.openDb('SQLITE', 'COMP200', 'UPDATE') |
Definition at line 43 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.defVec = info[2] |
Definition at line 92 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.defVecLAr = g.std.vector('std::vector<float>')() |
Definition at line 69 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.defVecTile = g.std.vector('std::vector<float>')() |
Definition at line 74 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.desc = CaloCondTools.getAthenaFolderDescr() |
Definition at line 54 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.fields = line.split() |
Definition at line 106 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
dictionary CaloCondBlobAlgs_fillPedestalFromASCII.flt = g.CaloCondBlobFlt.getInstance(blob) |
Definition at line 97 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
dictionary CaloCondBlobAlgs_fillPedestalFromASCII.fltDict = {} |
Definition at line 89 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.folder = db.getFolder(folderPath) |
Definition at line 56 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
string CaloCondBlobAlgs_fillPedestalFromASCII.folderPath = CaloCondTools.getCaloPrefix()+"Pedestal/CellPedestal" |
Definition at line 51 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.folderTag = g.CaloCondUtils.getFullTag(folderPath,tag) |
Definition at line 52 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.g = cppyy.gbl |
Definition at line 36 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.gain = g.CaloCondUtils.getDbCaloGain(int(fields[2])) |
Definition at line 110 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.gainDefVec = g.std.vector('float')() |
Definition at line 65 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
dictionary CaloCondBlobAlgs_fillPedestalFromASCII.hash = int(fields[1]) - systemDict[systemId][1] |
Definition at line 109 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
string CaloCondBlobAlgs_fillPedestalFromASCII.inputFile = "pedestal.txt" |
Definition at line 17 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
Definition at line 21 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.iovUntil = cool.ValidityKeyMax |
Definition at line 22 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
int CaloCondBlobAlgs_fillPedestalFromASCII.lbkSince = 0 |
Definition at line 20 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.lines = open(inputFile,"r").readlines() |
Definition at line 104 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.log = CaloCondLogger.getLogger("CaloNoiseWriter") |
Definition at line 40 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
int CaloCondBlobAlgs_fillPedestalFromASCII.mbSize = float(blob.size()) / 1024. |
Definition at line 100 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.nChannel = info[0] |
Definition at line 91 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.noiseA = float(fields[3]) |
Definition at line 111 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.noiseB = float(fields[4]) |
Definition at line 112 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
int CaloCondBlobAlgs_fillPedestalFromASCII.runSince = 0 |
Definition at line 19 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.spec = cool.RecordSpecification() |
Definition at line 47 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
dictionary CaloCondBlobAlgs_fillPedestalFromASCII.sysName = info[3] |
Definition at line 93 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
dictionary CaloCondBlobAlgs_fillPedestalFromASCII.systemDict |
Definition at line 81 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
CaloCondBlobAlgs_fillPedestalFromASCII.systemId = int(fields[0]) |
Definition at line 108 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.
string CaloCondBlobAlgs_fillPedestalFromASCII.tag = "000-00" |
Definition at line 24 of file CaloCondBlobAlgs_fillPedestalFromASCII.py.