![]() |
ATLAS Offline Software
|
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 = "" if len(sys.argv) < 7 else sys.argv[6] |
| 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 | schema2 = schema.replace("COOLOFL_TILE","COOLONL_TILE") |
| db1 = TileCalibTools.openDbConn(schema) | |
| str | folder1 = "/TILE/OFL02/STATUS/ADC" |
| folderTag1 = TileCalibTools.getFolderTag(db1, folder1, tag1) | |
| mgr1 = TileBchTools.TileBchMgr() | |
| str | online = "ONL" |
| db2 = TileCalibTools.openDbConn(schema2) | |
| 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') | |
| int TileSynchronizeBch.author = os.getlogin() if len(sys.argv) < 9 else sys.argv[8] |
Definition at line 27 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.badrun = run1 |
Definition at line 60 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.comm = "" |
Definition at line 129 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.comment = "" |
Definition at line 125 of file TileSynchronizeBch.py.
Definition at line 53 of file TileSynchronizeBch.py.
| TileSynchronizeBch.db1 = TileCalibTools.openDbConn(schema) |
Definition at line 98 of file TileSynchronizeBch.py.
| TileSynchronizeBch.db2 = TileCalibTools.openDbConn(schema2) |
Definition at line 111 of file TileSynchronizeBch.py.
| TileSynchronizeBch.dbw = TileCalibTools.openDb('SQLITE', 'CONDBR2', 'RECREATE','COOLONL_TILE') |
Definition at line 253 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.folder1 = "/TILE/OFL02/STATUS/ADC" |
Definition at line 99 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.folder2 = "/TILE/ONL01/STATUS/ADC" |
Definition at line 112 of file TileSynchronizeBch.py.
Definition at line 100 of file TileSynchronizeBch.py.
| TileSynchronizeBch.folderTag2 = "" |
Definition at line 113 of file TileSynchronizeBch.py.
| TileSynchronizeBch.log = getLogger("SyncBch") |
Definition at line 36 of file TileSynchronizeBch.py.
| TileSynchronizeBch.mgr1 = TileBchTools.TileBchMgr() |
Definition at line 103 of file TileSynchronizeBch.py.
| TileSynchronizeBch.mgr2 = TileBchTools.TileBchMgr() |
Definition at line 120 of file TileSynchronizeBch.py.
| TileSynchronizeBch.modName = TileCalibUtils.getDrawerString(ros, mod) |
Definition at line 128 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.msg = '' |
Definition at line 232 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.online = "ONL" |
Definition at line 109 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.opt = "" if len(sys.argv) < 4 else sys.argv[3].rpartition("=")[2] |
Definition at line 21 of file TileSynchronizeBch.py.
| list TileSynchronizeBch.pbm = [statloBefore, stathiBefore, statloAfter, stathiAfter] |
Definition at line 227 of file TileSynchronizeBch.py.
| TileSynchronizeBch.prbDesc = prbs[prbCode] |
Definition at line 241 of file TileSynchronizeBch.py.
| list TileSynchronizeBch.prbs = statlo.getPrbs() |
Definition at line 148 of file TileSynchronizeBch.py.
| TileSynchronizeBch.run1 = "" if len(sys.argv) < 5 else sys.argv[4].rpartition("=")[2] |
Definition at line 22 of file TileSynchronizeBch.py.
| TileSynchronizeBch.run2 = "" if len(sys.argv) < 6 else sys.argv[5].rpartition("=")[2] |
Definition at line 23 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.schema = "" if len(sys.argv) < 7 else sys.argv[6] |
Definition at line 24 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.schema2 = schema.replace("COOLOFL_TILE","COOLONL_TILE") |
Definition at line 84 of file TileSynchronizeBch.py.
| TileSynchronizeBch.stathi = mgr1.getAdcStatus(ros, mod, chn, 1) |
Definition at line 132 of file TileSynchronizeBch.py.
| TileSynchronizeBch.stathiAfter = mgr2.getAdcProblems(ros,mod,chn,1) |
Definition at line 224 of file TileSynchronizeBch.py.
| TileSynchronizeBch.stathiBefore = mgr2.getAdcProblems(ros,mod,chn,1) |
Definition at line 135 of file TileSynchronizeBch.py.
| TileSynchronizeBch.statlo = mgr1.getAdcStatus(ros, mod, chn, 0) |
Definition at line 131 of file TileSynchronizeBch.py.
| TileSynchronizeBch.statloAfter = mgr2.getAdcProblems(ros,mod,chn,0) |
Definition at line 223 of file TileSynchronizeBch.py.
| TileSynchronizeBch.statloBefore = mgr2.getAdcProblems(ros,mod,chn,0) |
Definition at line 134 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.tag1 = "" if len(sys.argv) < 2 else sys.argv[1].rpartition("=")[2] |
Definition at line 19 of file TileSynchronizeBch.py.
| str TileSynchronizeBch.tag2 = "" if len(sys.argv) < 3 else sys.argv[2].rpartition("=")[2] |
Definition at line 20 of file TileSynchronizeBch.py.