ATLAS Offline Software
Loading...
Searching...
No Matches
TileSyncBch 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]
str run1 = "" if len(sys.argv) < 5 else sys.argv[4].rpartition("=")[2]
str run2 = "" if len(sys.argv) < 6 else sys.argv[5].rpartition("=")[2]
str schema = "CREST" if len(sys.argv) < 7 else sys.argv[6]
str output = "" if len(sys.argv) < 8 else sys.argv[7]
int author = os.getlogin() if len(sys.argv) < 9 else sys.argv[8]
 log = getLogger("SyncBch")
 copyall = not (opt=="1" or opt=="Y" or opt=="T" or opt=="B")
str badrun = run1
str folder1 = "/TILE/OFL02/STATUS/ADC"
 mgr1 = TileBchCrest.TileBchMgr()
str online = "ONL" in tag2.upper()
str folder2 = "/TILE/ONL01/STATUS/ADC"
 mgr2 = TileBchCrest.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]

Variable Documentation

◆ author

int TileSyncBch.author = os.getlogin() if len(sys.argv) < 9 else sys.argv[8]

Definition at line 29 of file TileSyncBch.py.

◆ badrun

str TileSyncBch.badrun = run1

Definition at line 66 of file TileSyncBch.py.

◆ comm

str TileSyncBch.comm = ""

Definition at line 135 of file TileSyncBch.py.

◆ comment

str TileSyncBch.comment = ""

Definition at line 131 of file TileSyncBch.py.

◆ copyall

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

Definition at line 59 of file TileSyncBch.py.

◆ folder1

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

Definition at line 97 of file TileSyncBch.py.

◆ folder2

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

Definition at line 114 of file TileSyncBch.py.

◆ log

TileSyncBch.log = getLogger("SyncBch")

Definition at line 42 of file TileSyncBch.py.

◆ mgr1

TileSyncBch.mgr1 = TileBchCrest.TileBchMgr()

Definition at line 105 of file TileSyncBch.py.

◆ mgr2

TileSyncBch.mgr2 = TileBchCrest.TileBchMgr()

Definition at line 125 of file TileSyncBch.py.

◆ modName

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

Definition at line 134 of file TileSyncBch.py.

◆ msg

str TileSyncBch.msg = ''

Definition at line 238 of file TileSyncBch.py.

◆ online

str TileSyncBch.online = "ONL" in tag2.upper()

Definition at line 112 of file TileSyncBch.py.

◆ opt

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

Definition at line 24 of file TileSyncBch.py.

◆ output

TileSyncBch.output = "" if len(sys.argv) < 8 else sys.argv[7]

Definition at line 28 of file TileSyncBch.py.

◆ pbm

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

Definition at line 233 of file TileSyncBch.py.

◆ prbDesc

TileSyncBch.prbDesc = prbs[prbCode]

Definition at line 247 of file TileSyncBch.py.

◆ prbs

list TileSyncBch.prbs = statlo.getPrbs()

Definition at line 154 of file TileSyncBch.py.

◆ run1

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

Definition at line 25 of file TileSyncBch.py.

◆ run2

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

Definition at line 26 of file TileSyncBch.py.

◆ schema

str TileSyncBch.schema = "CREST" if len(sys.argv) < 7 else sys.argv[6]

Definition at line 27 of file TileSyncBch.py.

◆ stathi

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

Definition at line 138 of file TileSyncBch.py.

◆ stathiAfter

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

Definition at line 230 of file TileSyncBch.py.

◆ stathiBefore

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

Definition at line 141 of file TileSyncBch.py.

◆ statlo

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

Definition at line 137 of file TileSyncBch.py.

◆ statloAfter

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

Definition at line 229 of file TileSyncBch.py.

◆ statloBefore

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

Definition at line 140 of file TileSyncBch.py.

◆ tag1

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

Definition at line 22 of file TileSyncBch.py.

◆ tag2

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

Definition at line 23 of file TileSyncBch.py.