ATLAS Offline Software
Loading...
Searching...
No Matches
ReadBchFromCrest.py File Reference

Go to the source code of this file.

Namespaces

namespace  ReadBchFromCrest

Functions

 ReadBchFromCrest.usage ()

Variables

str ReadBchFromCrest.letters = "hr:l:s:t:f:D:S:dBHPwm:b:e:a:g:c:N:X:CiI"
list ReadBchFromCrest.keywords = ["help","run=","lumi=","schema=","tag=","folder=","dbname=","server=","default","blob","hex","pmt","warning","module=","begin=","end=","chmin=","chmax=","gain=","adc=","chan=","comment","iov","IOV"]
 ReadBchFromCrest.opts
 ReadBchFromCrest.extraparams
int ReadBchFromCrest.run = 2147483647
int ReadBchFromCrest.lumi = 0
str ReadBchFromCrest.schema = 'CREST'
str ReadBchFromCrest.dbname = ''
str ReadBchFromCrest.server = ''
str ReadBchFromCrest.folderPath = "/TILE/OFL02/STATUS/ADC"
str ReadBchFromCrest.tag = "UPD4"
int ReadBchFromCrest.rosmin = 1
int ReadBchFromCrest.rosmax = 5
bool ReadBchFromCrest.blob = False
bool ReadBchFromCrest.hexid = False
bool ReadBchFromCrest.pmt = False
int ReadBchFromCrest.warn = 1
int ReadBchFromCrest.modmin = 0
int ReadBchFromCrest.modmax = 99999
str ReadBchFromCrest.modulename = "AUX-1"
str ReadBchFromCrest.partname = ""
bool ReadBchFromCrest.one_mod = False
int ReadBchFromCrest.mod = -1
int ReadBchFromCrest.ros = -1
int ReadBchFromCrest.chan_n = -1
int ReadBchFromCrest.chanmin = -1
int ReadBchFromCrest.chanmax = -1
int ReadBchFromCrest.gain_n = -1
int ReadBchFromCrest.gainmin = -1
int ReadBchFromCrest.gainmax = -1
int ReadBchFromCrest.begin = -1
int ReadBchFromCrest.end = 2147483647
bool ReadBchFromCrest.iov = False
bool ReadBchFromCrest.iovonly = False
bool ReadBchFromCrest.IOVONLY = False
bool ReadBchFromCrest.comment = False
 ReadBchFromCrest.a = a.strip()
 ReadBchFromCrest.log = getLogger("ReadBchFrCrest")
 ReadBchFromCrest.logLevel = logging.DEBUG
 ReadBchFromCrest.log1 = getLogger("TileBchCrest")
 ReadBchFromCrest.log2 = getLogger("TileCalibCrest")
str ReadBchFromCrest.folderTag = tag
 ReadBchFromCrest.mgr = TileBchCrest.TileBchMgr()
 ReadBchFromCrest.blobReader = mgr.getBlobReader()
 ReadBchFromCrest.isBadDef = mgr.getAdcProblems(0, TileCalibUtils.definitions_draweridx(), TileCalibUtils.bad_definition_chan(), 0)
 ReadBchFromCrest.prbDesc = isBadDef[prbCode]
str ReadBchFromCrest.msg = "- %2i (%s)" % (prbCode,prbDesc)
 ReadBchFromCrest.isBadTimingDef = mgr.getAdcProblems(0, TileCalibUtils.definitions_draweridx(), TileCalibUtils.badtiming_definition_chan(), 0)
dict ReadBchFromCrest.part_dict = {'AUX':0,'LBA':1,'LBC':2,'EBA':3,'EBC':4}
list ReadBchFromCrest.iovList = []
list ReadBchFromCrest.be = iovList[0][0]
list ReadBchFromCrest.en = iovList[-1][0]
int ReadBchFromCrest.ib = 0
 ReadBchFromCrest.ie = len(iovList)
dict ReadBchFromCrest.alliovs = {}
dict ReadBchFromCrest.allmods = {}
dict ReadBchFromCrest.zeroiovs = {}
int ReadBchFromCrest.nmod = 0
str ReadBchFromCrest.allmod = ""
int ReadBchFromCrest.zeromod = 0
int ReadBchFromCrest.miss = 0
 ReadBchFromCrest.flt = blobReader.getDrawer(ros, mod, since, False, False)
str ReadBchFromCrest.value = " None"
list ReadBchFromCrest.dummy = [0]*48
 channel2pmt negative means not connected !
list ReadBchFromCrest.barrel
list ReadBchFromCrest.extbar
list ReadBchFromCrest.ch2pmt = [ dummy, barrel, barrel, extbar, extbar ]
list ReadBchFromCrest.gname = [ "LG", "HG" ]
str ReadBchFromCrest.pref = ""
bool ReadBchFromCrest.modOk = False
int ReadBchFromCrest.good = 0
int ReadBchFromCrest.aff = 0
int ReadBchFromCrest.bad = 0
int ReadBchFromCrest.nMod = 0
str ReadBchFromCrest.modName = "0x%x" % ((ros<<8)+mod)
 ReadBchFromCrest.bch = blobReader.getDrawer(ros, mod, iovs, False, False)
int ReadBchFromCrest.nBad = 0
str ReadBchFromCrest.chnName = " %2i" % chn
 ReadBchFromCrest.stat = mgr.getAdcStatus(ros,mod,chn,adc)
 ReadBchFromCrest.prbs = mgr.getAdcProblems(ros,mod,chn,adc)