ATLAS Offline Software
Loading...
Searching...
No Matches
TileSynchronizeBch Namespace Reference

Variables

str tag1 = "" if len(sys.argv) < 2 else sys.argv[1].rpartition("=")[2]
str tag2 = "" if len(sys.argv) < 3 else sys.argv[2].rpartition("=")[2]
str opt = "" if len(sys.argv) < 4 else sys.argv[3].rpartition("=")[2]
int run1 = None if len(sys.argv) < 5 else int(sys.argv[4].rpartition("=")[2])
int run2 = None if len(sys.argv) < 6 else int(sys.argv[5].rpartition("=")[2])
 log = getLogger("SyncBch")
 copyall = not (opt=="1" or opt=="Y" or opt=="T" or opt=="B")
int badrun = run1
 db1 = TileCalibTools.openDbConn('COOLOFL_TILE/CONDBR2')
str folder1 = "/TILE/OFL02/STATUS/ADC"
 folderTag1 = TileCalibTools.getFolderTag(db1, folder1, tag1)
 mgr1 = TileBchTools.TileBchMgr()
str online = "ONL"
 db2 = TileCalibTools.openDbConn('COOLONL_TILE/CONDBR2')
str folder2 = "/TILE/ONL01/STATUS/ADC"
str folderTag2 = ""
 mgr2 = TileBchTools.TileBchMgr()
str comment = ""
 modName = TileCalibUtils.getDrawerString(ros, mod)
str comm = ""
 statlo = mgr1.getAdcStatus(ros, mod, chn, 0)
 stathi = mgr1.getAdcStatus(ros, mod, chn, 1)
 statloBefore = mgr2.getAdcProblems(ros,mod,chn,0)
 stathiBefore = mgr2.getAdcProblems(ros,mod,chn,1)
 prbs = statlo.getPrbs()
 statloAfter = mgr2.getAdcProblems(ros,mod,chn,0)
 stathiAfter = mgr2.getAdcProblems(ros,mod,chn,1)
list pbm = [statloBefore, stathiBefore, statloAfter, stathiAfter]
str msg = ''
 prbDesc = prbs[prbCode]
 dbw = TileCalibTools.openDb('SQLITE', 'CONDBR2', 'RECREATE','COOLONL_TILE')

Variable Documentation

◆ badrun

int TileSynchronizeBch.badrun = run1

Definition at line 54 of file TileSynchronizeBch.py.

◆ comm

str TileSynchronizeBch.comm = ""

Definition at line 108 of file TileSynchronizeBch.py.

◆ comment

str TileSynchronizeBch.comment = ""

Definition at line 104 of file TileSynchronizeBch.py.

◆ copyall

TileSynchronizeBch.copyall = not (opt=="1" or opt=="Y" or opt=="T" or opt=="B")

Definition at line 47 of file TileSynchronizeBch.py.

◆ db1

TileSynchronizeBch.db1 = TileCalibTools.openDbConn('COOLOFL_TILE/CONDBR2')

Definition at line 77 of file TileSynchronizeBch.py.

◆ db2

TileSynchronizeBch.db2 = TileCalibTools.openDbConn('COOLONL_TILE/CONDBR2')

Definition at line 90 of file TileSynchronizeBch.py.

◆ dbw

TileSynchronizeBch.dbw = TileCalibTools.openDb('SQLITE', 'CONDBR2', 'RECREATE','COOLONL_TILE')

Definition at line 232 of file TileSynchronizeBch.py.

◆ folder1

str TileSynchronizeBch.folder1 = "/TILE/OFL02/STATUS/ADC"

Definition at line 78 of file TileSynchronizeBch.py.

◆ folder2

str TileSynchronizeBch.folder2 = "/TILE/ONL01/STATUS/ADC"

Definition at line 91 of file TileSynchronizeBch.py.

◆ folderTag1

TileSynchronizeBch.folderTag1 = TileCalibTools.getFolderTag(db1, folder1, tag1)

Definition at line 79 of file TileSynchronizeBch.py.

◆ folderTag2

TileSynchronizeBch.folderTag2 = ""

Definition at line 92 of file TileSynchronizeBch.py.

◆ log

TileSynchronizeBch.log = getLogger("SyncBch")

Definition at line 30 of file TileSynchronizeBch.py.

◆ mgr1

TileSynchronizeBch.mgr1 = TileBchTools.TileBchMgr()

Definition at line 82 of file TileSynchronizeBch.py.

◆ mgr2

TileSynchronizeBch.mgr2 = TileBchTools.TileBchMgr()

Definition at line 99 of file TileSynchronizeBch.py.

◆ modName

TileSynchronizeBch.modName = TileCalibUtils.getDrawerString(ros, mod)

Definition at line 107 of file TileSynchronizeBch.py.

◆ msg

str TileSynchronizeBch.msg = ''

Definition at line 211 of file TileSynchronizeBch.py.

◆ online

str TileSynchronizeBch.online = "ONL"

Definition at line 88 of file TileSynchronizeBch.py.

◆ opt

str TileSynchronizeBch.opt = "" if len(sys.argv) < 4 else sys.argv[3].rpartition("=")[2]

Definition at line 18 of file TileSynchronizeBch.py.

◆ pbm

list TileSynchronizeBch.pbm = [statloBefore, stathiBefore, statloAfter, stathiAfter]

Definition at line 206 of file TileSynchronizeBch.py.

◆ prbDesc

TileSynchronizeBch.prbDesc = prbs[prbCode]

Definition at line 220 of file TileSynchronizeBch.py.

◆ prbs

list TileSynchronizeBch.prbs = statlo.getPrbs()

Definition at line 127 of file TileSynchronizeBch.py.

◆ run1

TileSynchronizeBch.run1 = None if len(sys.argv) < 5 else int(sys.argv[4].rpartition("=")[2])

Definition at line 19 of file TileSynchronizeBch.py.

◆ run2

TileSynchronizeBch.run2 = None if len(sys.argv) < 6 else int(sys.argv[5].rpartition("=")[2])

Definition at line 20 of file TileSynchronizeBch.py.

◆ stathi

TileSynchronizeBch.stathi = mgr1.getAdcStatus(ros, mod, chn, 1)

Definition at line 111 of file TileSynchronizeBch.py.

◆ stathiAfter

TileSynchronizeBch.stathiAfter = mgr2.getAdcProblems(ros,mod,chn,1)

Definition at line 203 of file TileSynchronizeBch.py.

◆ stathiBefore

TileSynchronizeBch.stathiBefore = mgr2.getAdcProblems(ros,mod,chn,1)

Definition at line 114 of file TileSynchronizeBch.py.

◆ statlo

TileSynchronizeBch.statlo = mgr1.getAdcStatus(ros, mod, chn, 0)

Definition at line 110 of file TileSynchronizeBch.py.

◆ statloAfter

TileSynchronizeBch.statloAfter = mgr2.getAdcProblems(ros,mod,chn,0)

Definition at line 202 of file TileSynchronizeBch.py.

◆ statloBefore

TileSynchronizeBch.statloBefore = mgr2.getAdcProblems(ros,mod,chn,0)

Definition at line 113 of file TileSynchronizeBch.py.

◆ tag1

str TileSynchronizeBch.tag1 = "" if len(sys.argv) < 2 else sys.argv[1].rpartition("=")[2]

Definition at line 16 of file TileSynchronizeBch.py.

◆ tag2

str TileSynchronizeBch.tag2 = "" if len(sys.argv) < 3 else sys.argv[2].rpartition("=")[2]

Definition at line 17 of file TileSynchronizeBch.py.