ATLAS Offline Software
Calorimeter
CaloCondBlobAlgs
share
Namespaces
|
Variables
CaloCondBlobAlgs_fillNoiseFromASCII.py File Reference
Go to the source code of this file.
Namespaces
CaloCondBlobAlgs_fillNoiseFromASCII
Variables
string
CaloCondBlobAlgs_fillNoiseFromASCII.inputFile
= "/afs/cern.ch/user/g/gunal/scratch0/AtlasOffline-12.0.6/calonoise.txt"
int
CaloCondBlobAlgs_fillNoiseFromASCII.runSince
= 0
int
CaloCondBlobAlgs_fillNoiseFromASCII.lbkSince
= 0
CaloCondBlobAlgs_fillNoiseFromASCII.iovSince
= CaloCondTools.iovFromRunLumi(runSince,lbkSince)
CaloCondBlobAlgs_fillNoiseFromASCII.iovUntil
= cool.ValidityKeyMax
string
CaloCondBlobAlgs_fillNoiseFromASCII.tag
= "000-00"
string
CaloCondBlobAlgs_fillNoiseFromASCII.author
= "ngollub"
string
CaloCondBlobAlgs_fillNoiseFromASCII.comment
= "Default cell noise values from Guillaume"
CaloCondBlobAlgs_fillNoiseFromASCII.g
= cppyy.gbl
CaloCondBlobAlgs_fillNoiseFromASCII.log
= CaloCondLogger.getLogger("CaloNoiseWriter")
CaloCondBlobAlgs_fillNoiseFromASCII.db
= CaloCondTools.openDb('SQLITE', 'COMP200', 'UPDATE')
CaloCondBlobAlgs_fillNoiseFromASCII.spec
= cool.RecordSpecification()
string
CaloCondBlobAlgs_fillNoiseFromASCII.folderPath
= CaloCondTools.getCaloPrefix()+"Noise/CellNoise"
CaloCondBlobAlgs_fillNoiseFromASCII.folderTag
= g.CaloCondUtils.getFullTag(folderPath,tag)
CaloCondBlobAlgs_fillNoiseFromASCII.desc
= CaloCondTools.getAthenaFolderDescr()
CaloCondBlobAlgs_fillNoiseFromASCII.folder
= db.getFolder(folderPath)
CaloCondBlobAlgs_fillNoiseFromASCII.gainDefVec
= g.std.vector('float')()
CaloCondBlobAlgs_fillNoiseFromASCII.defVecLAr
= g.std.vector('std::vector<float>')()
CaloCondBlobAlgs_fillNoiseFromASCII.defVecTile
= g.std.vector('std::vector<float>')()
dictionary
CaloCondBlobAlgs_fillNoiseFromASCII.systemDict
dictionary
CaloCondBlobAlgs_fillNoiseFromASCII.fltDict
= {}
CaloCondBlobAlgs_fillNoiseFromASCII.nChannel
= info[0]
CaloCondBlobAlgs_fillNoiseFromASCII.defVec
= info[2]
CaloCondBlobAlgs_fillNoiseFromASCII.sysName
= info[3]
CaloCondBlobAlgs_fillNoiseFromASCII.data
= cool.Record( spec )
CaloCondBlobAlgs_fillNoiseFromASCII.blob
=
data
['CaloCondBlob16M']
CaloCondBlobAlgs_fillNoiseFromASCII.flt
= g.CaloCondBlobFlt.getInstance(blob)
int
CaloCondBlobAlgs_fillNoiseFromASCII.mbSize
= float(blob.size()) / 1024.
CaloCondBlobAlgs_fillNoiseFromASCII.lines
= open(inputFile,"r").readlines()
CaloCondBlobAlgs_fillNoiseFromASCII.fields
=
line.split
()
CaloCondBlobAlgs_fillNoiseFromASCII.systemId
= int(fields[0])
dictionary
CaloCondBlobAlgs_fillNoiseFromASCII.hash
= int(fields[1]) - systemDict[systemId][1]
CaloCondBlobAlgs_fillNoiseFromASCII.gain
= g.CaloCondUtils.getDbCaloGain(int(fields[2]))
CaloCondBlobAlgs_fillNoiseFromASCII.noiseA
= float(fields[3])
CaloCondBlobAlgs_fillNoiseFromASCII.noiseB
= float(fields[4])
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
= cool.ChannelId(systemId)
Generated on Thu Jan 2 2025 21:22:36 for ATLAS Offline Software by
1.8.18