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

Go to the source code of this file.

Namespaces

namespace  TileSynchronizeOnlBchWithOfl

Variables

str TileSynchronizeOnlBchWithOfl.tag = "UPD1" if len(sys.argv) < 2 else sys.argv[1].rpartition("=")[2]
int TileSynchronizeOnlBchWithOfl.run = None if len(sys.argv) < 3 else int(sys.argv[2].rpartition("=")[2])
 TileSynchronizeOnlBchWithOfl.log = getLogger("SyncOnlWithOfl")
int TileSynchronizeOnlBchWithOfl.badrun = run
 TileSynchronizeOnlBchWithOfl.runOfl = MAXRUN
str TileSynchronizeOnlBchWithOfl.folder = "/TILE/OFL02/STATUS/ADC"
 TileSynchronizeOnlBchWithOfl.db1 = TileCalibTools.openDbConn('COOLOFL_TILE/CONDBR2')
 TileSynchronizeOnlBchWithOfl.folderTag = TileCalibTools.getFolderTag(db1, folder, tag)
 TileSynchronizeOnlBchWithOfl.mgrOfl = TileBchTools.TileBchMgr()
int TileSynchronizeOnlBchWithOfl.runOnl = run
str TileSynchronizeOnlBchWithOfl.folderOnl = "/TILE/ONL01/STATUS/ADC"
str TileSynchronizeOnlBchWithOfl.folderTagOnl = ""
 TileSynchronizeOnlBchWithOfl.db = TileCalibTools.openDbConn('COOLONL_TILE/CONDBR2')
 TileSynchronizeOnlBchWithOfl.mgrOnl = TileBchTools.TileBchMgr()
str TileSynchronizeOnlBchWithOfl.comment = ""
 TileSynchronizeOnlBchWithOfl.modName = TileCalibUtils.getDrawerString(ros, mod)
str TileSynchronizeOnlBchWithOfl.comm = ""
 TileSynchronizeOnlBchWithOfl.statlo = mgrOfl.getAdcStatus(ros, mod, chn, 0)
 TileSynchronizeOnlBchWithOfl.stathi = mgrOfl.getAdcStatus(ros, mod, chn, 1)
 TileSynchronizeOnlBchWithOfl.statloBefore = mgrOnl.getAdcProblems(ros,mod,chn,0)
 TileSynchronizeOnlBchWithOfl.stathiBefore = mgrOnl.getAdcProblems(ros,mod,chn,1)
 TileSynchronizeOnlBchWithOfl.prbs = statlo.getPrbs()
 TileSynchronizeOnlBchWithOfl.statloAfter = mgrOnl.getAdcProblems(ros, mod, chn, 0)
 TileSynchronizeOnlBchWithOfl.stathiAfter = mgrOnl.getAdcProblems(ros, mod, chn, 1)
list TileSynchronizeOnlBchWithOfl.pbm = [statloBefore, stathiBefore, statloAfter, stathiAfter]
str TileSynchronizeOnlBchWithOfl.msg = ''
 TileSynchronizeOnlBchWithOfl.prbDesc = prbs[prbCode]
 TileSynchronizeOnlBchWithOfl.db2 = TileCalibTools.openDb('SQLITE', 'CONDBR2', 'RECREATE','COOLONL_TILE')