<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - EMC</title>
<script type='module'>
import {openTab} from './files/functions.mjs';
window.openTab = openTab;
[
{},
[
- {HIST: {fLineColor : 1, fLineWidth: 2}},
- {HIST: {fLineColor : 600, fLineWidth: 2}},
- {HIST: {fLineColor : 418, fLineWidth: 2}},
- {HIST: {fLineColor : 861, fLineWidth: 2}},
- {HIST: {fLineColor : 612, fLineWidth: 2}},
- {HIST: {fLineColor : 806, fLineWidth: 2}}
+ {HIST: {fLineColor : 1, fLineWidth: 2}, LABEL: 'Sec 1', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2}, LABEL: 'Sec 2'},
+ {HIST: {fLineColor : 418, fLineWidth: 2}, LABEL: 'Sec 3'},
+ {HIST: {fLineColor : 861, fLineWidth: 2}, LABEL: 'Sec 4'},
+ {HIST: {fLineColor : 612, fLineWidth: 2}, LABEL: 'Sec 5'},
+ {HIST: {fLineColor : 806, fLineWidth: 2}, LABEL: 'Sec 6'}
],
{},
{HIST: {fLineWidth: 2}},
[
- {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}},
- {HIST: {fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'l'}},
- {HIST: {fFillStyle : 0, fLineColor : 418, fLineWidth: 2, fOption: 'l'}},
- {HIST: {fFillStyle : 0, fLineColor : 861, fLineWidth: 2, fOption: 'l'}},
- {HIST: {fFillStyle : 0, fLineColor : 612, fLineWidth: 2, fOption: 'l'}},
- {HIST: {fFillStyle : 0, fLineColor : 806, fLineWidth: 2, fOption: 'l'}}
+ {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec 1', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec 2'},
+ {HIST: {fFillStyle : 0, fLineColor : 418, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec 3'},
+ {HIST: {fFillStyle : 0, fLineColor : 861, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec 4'},
+ {HIST: {fFillStyle : 0, fLineColor : 612, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec 5'},
+ {HIST: {fFillStyle : 0, fLineColor : 806, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec 6'}
],
{}
],
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - MDC</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
<script type='module'>
import { initUpdate, update } from './files/functions.mjs';
-// [
-// [
-// "MDC/hMdcWiresEventMean/hMdcWiresEventMean__0__0_",
-// "MDC/hMdcWiresEventMean/hMdcWiresEventMean__0__1_",
-// "MDC/hMdcWiresEventMean/hMdcWiresEventMean__0__2_"
-// ],
-// [
-// "MDC/hMdcTotMean/hMdcTotMean__0__0_",
-// "MDC/hMdcTotMean/hMdcTotMean__0__1_",
-// "MDC/hMdcTotMean/hMdcTotMean__0__2_"
-// ],
-// [
-// "MDC/stacks/hMdcMboVsChamberStack/hMdcMboVsChamber__0__0_",
-// "MDC/stacks/hMdcMboVsChamberStack/hMdcMboVsChamberMissing"
-// ],
-// [
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__0_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__1_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__2_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__3_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__4_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__5_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__6_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__7_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__8_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__9_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__10_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__11_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__12_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__13_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__14_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__15_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__16_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__17_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__18_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__19_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__20_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__21_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__22_",
-// "MDC/hMdcWireDistr/hMdcWireDistr__0__23_"
-// ],
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__0_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__1_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__2_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__3_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__4_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__5_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__6_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__7_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__8_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__9_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__10_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__11_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__12_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__13_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__14_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__15_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__16_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__17_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__18_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__19_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__20_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__21_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__22_",
-// "MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__23_",
-// ,
-// ]'
-
-
-
-
//Missing hMdcWireVsLayer (neuer Plot)
-
let histnames =
[
[
[
- "MDC/hMdccutstat/hMdccutstat__0__0_",
"MDC/hMdcWiresEventMean/hMdcWiresEventMean__0__0_",
"MDC/hMdcWiresEventMean/hMdcWiresEventMean__0__1_",
"MDC/hMdcWiresEventMean/hMdcWiresEventMean__0__2_",
"MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__22_",
"MDC/trending/hMdcTotMeanTrend/hMdcTotMeanTrend__0__23_",
],
- "MDC/hMdcDboVsChamber/hMdcDboVsChamber__0__0_"
+ "MDC/hMdcWireVsLayer",
+ ],
+ [
+ "MDC/hMdcDboVsChamber/hMdcDboVsChamber__0__0_",
+ "MDC/hMdcDboVsChamber/hMdcDboVsChamber__0__1_",
+ "MDC/hMdcDboVsChamber/hMdcDboVsChamber__0__2_",
+ // "",
+ // "",
+ // "",
+ // "",
+ // "",
],
[
"MDC/hMdctime1_12/hMdctime1_12__0__0_",
[
[
[
- // {XLABEL: ['','','I1','','','','','','I2','','','','','','I1','','','','','','I1','','','','','','I1','','','','','','I1','','','',
- // '','','I1','','','','','','I2','','','','','','I1','','','','','','I1','','','','','','I1','','','','','','I1','','','',
- // '','','I1','','','','','','I2','','','','','','I1','','','','','','I1','','','','','','I1','','','','','','I1','','','',
- // '','','I1','','','','','','I2','','','','','','I1','','','','','','I1','','','','','','I1','','','','','','I1','','',''
- // ]},
- {HIST: { fOption: 'l'}},
- {},
- {},
- {},
+ {XLABEL: ['','','I1','','','','','','I2','','','','','','I3','','','','','','I4','','','','','','I5','','','','','','I6','','','',
+ '','','II1','','','','','','II2','','','','','','II3','','','','','','II4','','','','','','II5','','','','','','II6','','','',
+ '','','III1','','','','','','III2','','','','','','III3','','','','','','III4','','','','','','III5','','','','','','III6','','','',
+ '','','IV1','','','','','','IV2','','','','','','IV3','','','','','','IV4','','','','','','IV5','','','','','','IV6','','',''
+ // ], HIST: {fOption: 'hist'}, LABEL: 'Uncut', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }, PAINTER: {painters: {1: { lineatt: {width: 3, changed: true, color: "#ff0000"}}}}},
+ ], HIST: {fOption: 'hist line_ff00ff'}, LABEL: 'Uncut', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: { fOption: 'hist'}, LABEL: 'Cut'},
+ {HIST: { fOption: 'hist'}, LABEL: 'Noise'}
],
[
- {FRAME: {zoom_ymin: 0, zoom_ymax: 400, zoom_changed_y: true}},
- {},
- {},
+ {FRAME: {zoom_ymin: 0, zoom_ymax: 400, zoom_changed_y: true},
+ XLABEL: ['','','I1','','','','','','I2','','','','','','I3','','','','','','I4','','','','','','I5','','','','','','I6','','','',
+ '','','II1','','','','','','II2','','','','','','II3','','','','','','II4','','','','','','II5','','','','','','II6','','','',
+ '','','III1','','','','','','III2','','','','','','III3','','','','','','III4','','','','','','III5','','','','','','III6','','','',
+ '','','IV1','','','','','','IV2','','','','','','IV3','','','','','','IV4','','','','','','IV5','','','','','','IV6','','',''
+ ], HIST: {fOption: 'hist', fMaximum: -1111}, LABEL: 'Uncut', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fOption: 'hist', fMaximum: -1111}, LABEL: 'Cut'},
+ {HIST: {fOption: 'hist', fMaximum: -1111}, LABEL: 'Noise'},
],
[
{HIST: { fOption: 'colz2 logz'}},
{HIST: { fOption: 'text'}},
],
- [{HIST: { fOption: 'logy'}},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}],
- [{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}],
- {}
+ [{HIST: { fOption: 'logy'}, LABEL: 'P0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }}
+ ,{},{},{},{},{},{LABEL: 'P1'},{},{},{},{},{},{LABEL: 'P2'},{},{},{},{},{},{LABEL: 'P3'},{},{},{},{},{}],
+ [{LABEL: 'P0', LEGENDNOAUTO: { fX1NDC: 0.1, fY1NDC: 0.88, fX2NDC: 0.90, fY2NDC: 0.93, fNColumns : 4, fTextSize : 0.04 }}
+ ,{},{},{},{},{},{LABEL: 'P1'},{},{},{},{},{},{LABEL: 'P2'},{},{},{},{},{},{LABEL: 'P3'},{},{},{},{},{}],
+ {HIST: { fOption: 'colz2'}}
],
+ [{},{},{},{},{},{}],
[
{HIST: {fTitle: 'Plane 1, Sector 1', fOption: 'colz2'}},
{HIST: {fTitle: 'Plane 1, Sector 2', fOption: 'colz2'}},
{HIST: {fTitle: 'Plane 4, Sector 6', fOption: 'colz2'}}
],
[
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
],
[
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
],
[
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
],
[
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
- [{},{},{},{},{},{}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
+ [{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 1'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 2'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 3'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 4'},{HIST: {fOption: 'hist logy', fMaximum: -1111}, LABEL: 'Layer 5'}],
],
];
let helptext =
[
[ "","","","","",""],
+ ["","","","","",""],
[
"Time vs. ToT for a single chamber. Note that the x-axis shows time running backwards and units are 0.5ns.",
"Time vs. ToT for a single chamber. Note that the x-axis shows time running backwards and units are 0.5ns.",
"Time vs. ToT for a single chamber. Note that the x-axis shows time running backwards and units are 0.5ns.",
"Time vs. ToT for a single chamber. Note that the x-axis shows time running backwards and units are 0.5ns.",
"Time vs. ToT for a single chamber. Note that the x-axis shows time running backwards and units are 0.5ns."
- ],
+ ],
["","","","","","","","","","","","","","","","","","","","","","","",""],
["","","","","",""],
["","","","","",""],
];
- initUpdate(histnames, histoptions, helptext, {Palette: 55});
- update(histnames,histoptions);
- setInterval(update, 10000, histnames, histoptions);
+ await initUpdate(histnames, histoptions, helptext, {Palette: 55});
+ // update(histnames,histoptions);
+ setInterval(update, 5000, histnames, histoptions);
</script>
</head>
<div class="tab">
<a href="/hadesroot"><button><b>MDC</b></button></a>
<button class="tablinks active" onclick="openTab(event, 't0')">Main</button>
- <button class="tablinks" onclick="openTab(event, 't1')">Potatos</button>
- <button class="tablinks" onclick="openTab(event, 't2')">PotatosRaw</button>
- <button class="tablinks" onclick="openTab(event, 't3')">Wires I</button>
- <button class="tablinks" onclick="openTab(event, 't4')">Wires II</button>
- <button class="tablinks" onclick="openTab(event, 't5')">Wires III</button>
- <button class="tablinks" onclick="openTab(event, 't6')">Wires IV</button>
+ <button class="tablinks" onclick="openTab(event, 't1')">FEE</button>
+ <button class="tablinks" onclick="openTab(event, 't2')">Potatos</button>
+ <button class="tablinks" onclick="openTab(event, 't3')">PotatosRaw</button>
+ <button class="tablinks" onclick="openTab(event, 't4')">Wires I</button>
+ <button class="tablinks" onclick="openTab(event, 't5')">Wires II</button>
+ <button class="tablinks" onclick="openTab(event, 't6')">Wires III</button>
+ <button class="tablinks" onclick="openTab(event, 't7')">Wires IV</button>
</div>
<div id="t0" class="tabcontent cell3x2 active">
<div><div id="t0d0"></div></div>
<div><div id="t0d4"></div></div>
<div><div id="t0d5"></div></div>
</div>
- <div id="t1" class="tabcontent cell6x4">
+ <div id="t1" class="tabcontent cell1_2x1">
<div><div id="t1d0"></div></div>
<div><div id="t1d1"></div></div>
<div><div id="t1d2"></div></div>
- <div><div id="t1d3"></div></div>
+<!-- <div><div id="t1d3"></div></div>
<div><div id="t1d4"></div></div>
- <div><div id="t1d5"></div></div>
- <div><div id="t1d6"></div></div>
- <div><div id="t1d7"></div></div>
- <div><div id="t1d8"></div></div>
- <div><div id="t1d9"></div></div>
- <div><div id="t1d10"></div></div>
- <div><div id="t1d11"></div></div>
- <div><div id="t1d12"></div></div>
- <div><div id="t1d13"></div></div>
- <div><div id="t1d14"></div></div>
- <div><div id="t1d15"></div></div>
- <div><div id="t1d16"></div></div>
- <div><div id="t1d17"></div></div>
- <div><div id="t1d18"></div></div>
- <div><div id="t1d19"></div></div>
- <div><div id="t1d20"></div></div>
- <div><div id="t1d21"></div></div>
- <div><div id="t1d22"></div></div>
- <div><div id="t1d23"></div></div>
- </div>
+ <div><div id="t1d5"></div></div>-->
+ </div>
<div id="t2" class="tabcontent cell6x4">
<div><div id="t2d0"></div></div>
<div><div id="t2d1"></div></div>
<div><div id="t2d21"></div></div>
<div><div id="t2d22"></div></div>
<div><div id="t2d23"></div></div>
- </div>
- <div id="t3" class="tabcontent cell3x2">
+ </div>
+ <div id="t3" class="tabcontent cell6x4">
<div><div id="t3d0"></div></div>
<div><div id="t3d1"></div></div>
<div><div id="t3d2"></div></div>
<div><div id="t3d3"></div></div>
<div><div id="t3d4"></div></div>
<div><div id="t3d5"></div></div>
- </div>
+ <div><div id="t3d6"></div></div>
+ <div><div id="t3d7"></div></div>
+ <div><div id="t3d8"></div></div>
+ <div><div id="t3d9"></div></div>
+ <div><div id="t3d10"></div></div>
+ <div><div id="t3d11"></div></div>
+ <div><div id="t3d12"></div></div>
+ <div><div id="t3d13"></div></div>
+ <div><div id="t3d14"></div></div>
+ <div><div id="t3d15"></div></div>
+ <div><div id="t3d16"></div></div>
+ <div><div id="t3d17"></div></div>
+ <div><div id="t3d18"></div></div>
+ <div><div id="t3d19"></div></div>
+ <div><div id="t3d20"></div></div>
+ <div><div id="t3d21"></div></div>
+ <div><div id="t3d22"></div></div>
+ <div><div id="t3d23"></div></div>
+ </div>
<div id="t4" class="tabcontent cell3x2">
<div><div id="t4d0"></div></div>
<div><div id="t4d1"></div></div>
<div><div id="t6d4"></div></div>
<div><div id="t6d5"></div></div>
</div>
+ <div id="t7" class="tabcontent cell3x2">
+ <div><div id="t7d0"></div></div>
+ <div><div id="t7d1"></div></div>
+ <div><div id="t7d2"></div></div>
+ <div><div id="t7d3"></div></div>
+ <div><div id="t7d4"></div></div>
+ <div><div id="t7d5"></div></div>
+ </div>
</body>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - Main</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
"TOF/hTofMultiplicity/hTofMultiplicity__0__3_"
],
[
- "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__0_" ,
- "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__1_" ,
- "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__2_" ,
- "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__3_" ,
- "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__4_" ,
- "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__5_" ,
- "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__0_" ,
- "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__1_" ,
- "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__2_" ,
- "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__3_" ,
- "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__4_" ,
- "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__5_"
+ "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__0_",
+ "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__1_",
+ "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__2_",
+ "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__3_",
+ "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__4_",
+ "general/hPhys_candBetaMom_Sys0/hPhys_candBetaMom_Sys0__0__5_",
+ "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__0_",
+ "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__1_",
+ "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__2_",
+ "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__3_",
+ "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__4_",
+ "general/hPhys_candBetaMom_Sys1/hPhys_candBetaMom_Sys1__0__5_"
]
],
+ [
+ "general/trending/hLatch_Trend/hLatch_Trend__0__11_",
+ "general/trending/hLatch_Trend/hLatch_Trend__0__12_",
+ "general/trending/hLatch_Trend/hLatch_Trend__0__13_",
+ "general/trending/hLatch_Trend/hLatch_Trend__0__14_"
+ ]
];
{XLABEL: ['Start', 'Veto', 'M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M2 nn', 'M3 nn', 'M2 opp', 'PT1', 'PT2', 'PT3', 'PT4', 'PT5', 'FW', 'RICH', 'PT8'],
HIST : {fTitle: 'hLatch - Trigger Type', fOption: 'logy'}, FRAME: {zoom_xmin: 0, zoom_xmax: 19, zoom_changed_x: true}
},
- {},
+ {HIST: {fOption: 'logy'}},
{HIST : {fTitle: 'hLatchMult'}},
[
- {LABEL: 'all', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.45, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
- {LABEL: 'PT1'},
- {LABEL: 'PT2'},
- {LABEL: 'PT3'}
+ {HIST: {fLineWidth: 2}, LABEL: 'All', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.45, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineWidth: 2}, LABEL: 'PT1'},
+ {HIST: {fLineWidth: 2}, LABEL: 'PT2'},
+ {HIST: {fLineWidth: 2}, LABEL: 'PT3'}
],
[
- {LABEL: 'all', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.45, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
- {LABEL: 'PT1'},
- {LABEL: 'PT2'},
- {LABEL: 'PT3'}
+ {HIST: {fLineWidth: 2}, LABEL: 'All', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.45, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineWidth: 2}, LABEL: 'PT1'},
+ {HIST: {fLineWidth: 2}, LABEL: 'PT2'},
+ {HIST: {fLineWidth: 2}, LABEL: 'PT3'}
],
[
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {},
- {}
+ {HIST: {fOption: 'colz2', fXaxis: {fTitle: 'p/z [MeV/c]'}}, STACK: true},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}},
+ {HIST: {fOption: 'colz2'}}
],
- ]
+ ],
+ [
+ {HIST: {fOption: 'hist l', fTitle: 'PT1'}},
+ {HIST: {fOption: 'hist l', fTitle: 'PT2'}},
+ {HIST: {fOption: 'hist l', fTitle: 'PT3'}},
+ {HIST: {fOption: 'hist l', fTitle: 'PT4'}}
+ ]
];
let helptext =
"Track multiplicity in TOF depending on trigger source PT1 - PT3",
""
],
+ [
+ "Percentage of PT1 triggers over time",
+ "Percentage of PT2 triggers over time",
+ "Percentage of PT3 triggers over time",
+ "Percentage of PT4 triggers over time"
+ ]
];
- initUpdate(histnames,histoptions, helptext, {Palette : 55});
+ await initUpdate(histnames,histoptions, helptext, {Palette : 55});
+ // update(histnames,histoptions);
setInterval(update, 3000, histnames, histoptions);
</script>
</head>
<div class="tab">
<a href="/hadesroot"><button><b>Main</b></button></a>
<button class="tablinks active" onclick="openTab(event, 't0')">Main</button>
+ <button class="tablinks" onclick="openTab(event, 't1')">TriggerTrend</button>
</div>
<div id="t0" class="tabcontent cell3x2 active">
<div><div id="t0d5"></div></div>
</div>
+ <div id="t1" class="tabcontent cell2x2">
+ <div><div id="t1d0"></div></div>
+ <div><div id="t1d1"></div></div>
+ <div><div id="t1d2"></div></div>
+ <div><div id="t1d3"></div></div>
+ </div>
</body>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - Physics</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
[
/*tab0*/[
[
- // {HIST: {fOption: 'p', fMarkerSize:1, fMarkerStyle:8, fMarkerColor: 2}},
- // {HIST: {fOption: 'p', fMarkerSize:1, fMarkerStyle:8, fMarkerColor: 3}},
- // {HIST: {fOption: 'p', fMarkerSize:1, fMarkerStyle:8, fMarkerColor: 4}},
- // {HIST: {fOption: 'p', fMarkerSize:1, fMarkerStyle:8, fMarkerColor: 5}},
- // {HIST: {fOption: 'p', fMarkerSize:1, fMarkerStyle:8, fMarkerColor: 6}},
- // {HIST: {fOption: 'p', fMarkerSize:1, fMarkerStyle:8, fMarkerColor: 7}}
- {},
- {},
- {},
- {},
- {},
- {}
-
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {},
- {},
- {},
- {},
- {}
- ],
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
+ ],
+ [
+ {LABEL: 'Sys0', LEGENDNOAUTO: { fX1NDC: 0.1, fY1NDC: 0.88, fX2NDC: 0.90, fY2NDC: 0.93, fNColumns : 2, fTextSize : 0.04 }},
+ {LABEL: 'Sys1'}
+ ],
[
- {},
- {}
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {},
- {},
- {},
- {},
- {}
- ],
- [
- {},
- {},
- {},
- {},
- {},
- {}
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {}
- ],
+ {LABEL: 'Sys0', LEGENDNOAUTO: { fX1NDC: 0.1, fY1NDC: 0.88, fX2NDC: 0.90, fY2NDC: 0.93, fNColumns : 2, fTextSize : 0.04 }},
+ {LABEL: 'Sys1'}
+ ],
],
/*tab1*/[
{HIST: {fTitle: 'RPC, Sector 0', fOption: 'colz2 pal50'}},
],
/*tab3*/[
[
- {},
- {},
- {},
- {},
- {},
- {}
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {},
- {},
- {},
- {},
- {}
- ],
- [
- {},
- {},
- {},
- {},
- {},
- {}
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {},
- {},
- {},
- {},
- {}
- ],
- [
- {},
- {},
- {},
- {},
- {},
- {}
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {},
- {},
- {},
- {},
- {}
- ],
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
+ ],
+ [
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
+ ],
+ [
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
+ ]
],
[
{HIST: {fTitle: 'RPC, Track Cand Mult'}},
],
[
[
- {},
- {},
- {},
- {},
- {},
- {}
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {},
- {},
- {},
- {},
- {}
- ],
- [
- {},
- {},
- {},
- {},
- {},
- {}
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
],
[
- {},
- {},
- {},
- {},
- {},
- {}
- ]
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
+ ],
+ [
+ {HIST: {fLineColor : 1, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec0', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.65, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},
+ {HIST: {fLineColor : 600, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec1'},
+ {HIST: {fLineColor : 418, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec2'},
+ {HIST: {fLineColor : 861, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec3'},
+ {HIST: {fLineColor : 612, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec4'},
+ {HIST: {fLineColor : 806, fLineWidth: 2, fOption: 'hist'}, LABEL: 'Sec5'}
+ ]
],
[
{},
"Theta distribution of hits used in tracking in TOF, separated in sectors",
"Phi distribution of tracks used in tracking in ROC and TOF",
],
- ["","","","","",""],
- ["","","","","",""],
+ [
+ "Beta / Momentum plots for RPC sector 0. All sectors should look the same",
+ "Beta / Momentum plots for RPC sector 1. All sectors should look the same",
+ "Beta / Momentum plots for RPC sector 2. All sectors should look the same",
+ "Beta / Momentum plots for RPC sector 3. All sectors should look the same",
+ "Beta / Momentum plots for RPC sector 4. All sectors should look the same",
+ "Beta / Momentum plots for RPC sector 5. All sectors should look the same",
+ ],
+ [
+ "Beta / Momentum plots for TOF sector 0. All sectors should look the same",
+ "Beta / Momentum plots for TOF sector 1. All sectors should look the same",
+ "Beta / Momentum plots for TOF sector 2. All sectors should look the same",
+ "Beta / Momentum plots for TOF sector 3. All sectors should look the same",
+ "Beta / Momentum plots for TOF sector 4. All sectors should look the same",
+ "Beta / Momentum plots for TOF sector 5. All sectors should look the same",
+ ],
["","","","","",""],
["","","","","",""],
["","","",""],
- ["","","","","",""]
+ [
+ "Reconstructed Vertex in the XY plane. Should be more or less centered and few millimeters wide",
+ "Reconstructed Vertex along X axis",
+ "Reconstructed Vertex along Y axis",
+ "Reconstructed Vertex along Z axis",
+ "",
+ "intentionally empty"
+ ]
];
initUpdate(histnames, histoptions, helptext, {Palette: 84});
setInterval(update, 3000, histnames, histoptions);
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - RICH</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
let helptext =
[
- ["","",""],
- ["","","",""],
+ [
+ "Trend plot showing the average number of hits during a Laser Event over 1000000 Events (Hence update time is slow). A Laser Event (trigger PT7) is an event with many photons induced by a laser system. The system illuminates the different sectors slightly different. Hence the different lines from the different sectors are at different heights. Still, all lines should be constant in height, with the sum being around 1E3",
+ "Trend plot showing the average number of hits during a normal Event averaged over 50000 Events. This number depends heavily on beam intensity, beam energy and system size but should stay constant if there are no changes in those. Since this number is derived on cal level, time cuts are applied.",
+ "Trend plot showing the average number of rings during a normal Event averaged over 50000 Events. This number depends heavily on beam intensity, beam energy and system size but should stay constant if there are no changes in those."
+ ],
+ [
+ "Hit distribution in a single event. Few almost rectangular blobs are expected due to noise, sometimes rings can be seen. Seldomly (or more often if there is a break in beam) a laser event can be seen. Those events light up large parts of the detector, especially the outer rim.",
+ "Hit distribution in a single event. Few almost rectangular blobs are expected due to noise, sometimes rings can be seen. Seldomly (or more often if there is a break in beam) a laser event can be seen. Those events light up large parts of the detector, especially the outer rim.",
+ "Hit distribution in a single event. Few almost rectangular blobs are expected due to noise, sometimes rings can be seen. Seldomly (or more often if there is a break in beam) a laser event can be seen. Those events light up large parts of the detector, especially the outer rim.",
+ "Hit distribution in a single event. Few almost rectangular blobs are expected due to noise, sometimes rings can be seen. Seldomly (or more often if there is a break in beam) a laser event can be seen. Those events light up large parts of the detector, especially the outer rim."
+ ],
["","","",""],
["","","",""],
["","","",""],
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - RPC</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
],
[
[
- {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec1'},
+ {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec1', LEGENDNOAUTO: { fX1NDC: 0.18, fY1NDC: 0.15, fX2NDC: 0.33, fY2NDC: 0.45, fNColumns : 1, fTextSize : 0.04 }},
{HIST: {fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec2'},
{HIST: {fFillStyle : 0, fLineColor : 418, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec3'},
{HIST: {fFillStyle : 0, fLineColor : 861, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec4'},
{HIST: {fFillStyle : 0, fLineColor : 806, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec6'}
],
[
- {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec1'},
+ {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec1', LEGENDNOAUTO: { fX1NDC: 0.18, fY1NDC: 0.15, fX2NDC: 0.33, fY2NDC: 0.45, fNColumns : 1, fTextSize : 0.04 }},
{HIST: {fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec2'},
{HIST: {fFillStyle : 0, fLineColor : 418, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec3'},
{HIST: {fFillStyle : 0, fLineColor : 861, fLineWidth: 2, fOption: 'l'}, LABEL: 'Sec4'},
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - Start</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - TOF</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="files/tab.css">
- <script type='module'>
- import { openTab } from './files/functions.mjs';
- window.openTab = openTab;
- </script>
-
- <script type='module'>
- import { initUpdate, update } from './files/functions.mjs';
- let histnames =
- [
- [
- "general/hLatch_Norm",
- "START/hStart_EventID",
- "general/hLatch_Mult",
- [
- "RPC/hTof_RpcTofMultiplicity/hTof_RpcTofMultiplicity__0__0_",
- "RPC/hTof_RpcTofMultiplicity/hTof_RpcTofMultiplicity__0__1_",
- "RPC/hTof_RpcTofMultiplicity/hTof_RpcTofMultiplicity__0__2_",
- "RPC/hTof_RpcTofMultiplicity/hTof_RpcTofMultiplicity__0__3_"
- ],
- [
- "TOF/hTofMultiplicity/hTofMultiplicity__0__0_",
- "TOF/hTofMultiplicity/hTofMultiplicity__0__1_",
- "TOF/hTofMultiplicity/hTofMultiplicity__0__2_",
- "TOF/hTofMultiplicity/hTofMultiplicity__0__3_"
- ],
- // "general/hRpcTofMultiplicity",
- ],
- [
- "general/trending/hLatch_Trend/hLatch_Trend__0__11_",
- "general/trending/hLatch_Trend/hLatch_Trend__0__12_",
- "general/trending/hLatch_Trend/hLatch_Trend__0__13_",
- "general/trending/hLatch_Trend/hLatch_Trend__0__14_"
- ]
- ];
-
- let histoptions =
- [
- [
- {XLABEL: ['','','','','','','','','','PT1','PT2','PT3','PT4','PT5','PT6','PT7','PT8','PT9','PT10']},
- {HIST: {fOption: 'logy'}},
- {},
- [
- {HIST: {fLineWidth: 2}},
- {HIST: {fLineWidth: 2}},
- {HIST: {fLineWidth: 2}},
- {HIST: {fLineWidth: 2}},
- ],
- [
- {HIST: {fLineWidth: 2}},
- {HIST: {fLineWidth: 2}},
- {HIST: {fLineWidth: 2}},
- {HIST: {fLineWidth: 2}},
- ],
- {}
- ],
- [
- {HIST: {fOption: 'hist l', fTitle: 'PT1'}},
- {HIST: {fOption: 'hist l', fTitle: 'PT2'}},
- {HIST: {fOption: 'hist l', fTitle: 'PT3'}},
- {HIST: {fOption: 'hist l', fTitle: 'PT4'}}
- ]
- ];
-
- let helptext =
- [
- ["","","","","",""],
- ["","","",""]
- ];
-
- initUpdate(histnames,histoptions, helptext);
- setInterval(update, 3000, histnames, histoptions);
- </script>
-</head>
-
-<body>
- <div class="tab">
- <a href="/hadesroot"><button><b>Trigger</b></button></a>
- <button class="tablinks active" onclick="openTab(event, 't0')">Trigger</button>
- <button class="tablinks" onclick="openTab(event, 't1')">TriggerTrend</button>
- </div>
-
- <div id="t0" class="tabcontent cell3x2 active">
- <div><div id="t0d0"></div></div>
- <div><div id="t0d1"></div></div>
- <div><div id="t0d2"></div></div>
- <div><div id="t0d3"></div></div>
- <div><div id="t0d4"></div></div>
- <div><div id="t0d5"></div></div>
- </div>
- <div id="t1" class="tabcontent cell2x2">
- <div><div id="t1d0"></div></div>
- <div><div id="t1d1"></div></div>
- <div><div id="t1d2"></div></div>
- <div><div id="t1d3"></div></div>
- </div>
-</body>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>QA - WALL</title>
<script type='module'>
import { openTab } from './files/functions.mjs';
window.openTab = openTab;
[
[
"/WALL/hWallCellHits/hWallCellHits__0__0_",
- "/WALL/hWallCellHits/hWallCellHits__0__0_"
+ "/WALL/hWallCellHits/hWallCellHits__0__1_"
],
"/WALL/hWallTimeRawCell",
"/WALL/hWallWidthRawCell"
],
[
[
- {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'hist logy'}},//"/WALL/hWallRawMult/hWallRawMult__0__0_",
- {HIST: {fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'hist logy'}},//"/WALL/hWallRawMult/hWallRawMult__0__1_",
- {HIST: {ffFillStyle : 0, fLineColor : 418, fLineWidth: 2, Option: 'hist logy'}},//"/WALL/hWallRawMult/hWallRawMult__0__2_",
- {HIST: {ffFillStyle : 0, fLineColor : 861, fLineWidth: 2, Option: 'hist logy'}} //"/WALL/hWallRawMult/hWallRawMult__0__3_"
+ {HIST: {fFillStyle: 0, fLineColor: 1, fLineWidth: 2, fOption: 'hist logy'}, LABEL: 'I Quarter', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},//"/WALL/hWallRawMult/hWallRawMult__0__0_",
+ {HIST: {fFillStyle: 0, fLineColor: 600, fLineWidth: 2, fOption: 'hist logy'}, LABEL: 'II Quarter'},//"/WALL/hWallRawMult/hWallRawMult__0__1_",
+ {HIST: {ffFillStyle: 0, fLineColor: 418, fLineWidth: 2, fOption: 'hist logy'}, LABEL: 'III Quarter'},//"/WALL/hWallRawMult/hWallRawMult__0__2_",
+ {HIST: {ffFillStyle: 0, fLineColor: 861, fLineWidth: 2, fOption: 'hist logy'}, LABEL: 'IV Quarter'} //"/WALL/hWallRawMult/hWallRawMult__0__3_"
],
[
- {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'hist logy'}},//"/WALL/hWallRawMultBySize/hWallRawMultBySize__0__0_",
- {HIST: {fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'hist logy'}},//"/WALL/hWallRawMultBySize/hWallRawMultBySize__0__1_",
- {HIST: {fFillStyle : 0, fLineColor : 418, fLineWidth: 2, fOption: 'hist logy'}}//"/WALL/hWallRawMultBySize/hWallRawMultBySize__0__2_"
+ {HIST: {fFillStyle: 0, fLineColor: 1, fLineWidth: 2, fOption: 'hist logy'}, LABEL: 'Small', LEGENDNOAUTO: { fX1NDC: 0.8, fY1NDC: 0.75, fX2NDC: 0.99, fY2NDC: 0.90, fNColumns : 1, fTextSize : 0.04 }},//"/WALL/hWallRawMultBySize/hWallRawMultBySize__0__0_",
+ {HIST: {fFillStyle: 0, fLineColor: 600, fLineWidth: 2, fOption: 'hist logy'}, LABEL: 'Medium'},//"/WALL/hWallRawMultBySize/hWallRawMultBySize__0__1_",
+ {HIST: {fFillStyle: 0, fLineColor: 418, fLineWidth: 2, fOption: 'hist logy'}, LABEL: 'Large'}//"/WALL/hWallRawMultBySize/hWallRawMultBySize__0__2_"
],
[
- {HIST: {fMarkerSize:0, fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}},//"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__0_",
- {HIST: {fMarkerSize:0, fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'l'}},//"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__1_",
- {HIST: {fMarkerSize:0, ffFillStyle : 0, fLineColor : 418, fLineWidth: 2, Option: 'l'}},//"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__2_",
- {HIST: {fMarkerSize:0, ffFillStyle : 0, fLineColor : 861, fLineWidth: 2, Option: 'l'}} //"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__3_"
+ {HIST: {fFillStyle: 0, fLineColor: 1, fLineWidth: 2, fOption: 'l'}, LABEL: 'I Quarter', LEGENDNOAUTO: { fX1NDC: 0.1, fY1NDC: 0.89, fX2NDC: 0.9, fY2NDC: 0.95, fNColumns: 4, fTextSize: 0.04 }},//"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__0_",
+ {HIST: {fFillStyle: 0, fLineColor: 600, fLineWidth: 2, fOption: 'l'}, LABEL: 'II Quarter'},//"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__1_",
+ {HIST: {ffFillStyle: 0, fLineColor: 418, fLineWidth: 2, fOption: 'l'}, LABEL: 'III Quarter'},//"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__2_",
+ {HIST: {ffFillStyle: 0, fLineColor: 861, fLineWidth: 2, fOption: 'l'}, LABEL: 'IV Quarter'} //"/WALL/trending/hWallRawMult_trend/hWallRawMult_trend__0__3_"
],
[
- {HIST: {fFillStyle : 0, fLineColor : 1, fLineWidth: 2, fOption: 'l'}},//"/WALL/trending/hWallRawMultBySize_trend/hWallRawMultBySize_trend__0__0_",
- {HIST: {fFillStyle : 0, fLineColor : 600, fLineWidth: 2, fOption: 'l'}},//"/WALL/trending/hWallRawMultBySize_trend/hWallRawMultBySize_trend__0__1_",
- {HIST: {fFillStyle : 0, fLineColor : 418, fLineWidth: 2, fOption: 'l'}}//"/WALL/trending/hWallRawMultBySize_trend/hWallRawMultBySize_trend__0__2_"
+ {HIST: {fFillStyle: 0, fLineColor: 1, fLineWidth: 2, fOption: 'l'}, LABEL: 'Small', LEGENDNOAUTO: { fX1NDC: 0.1, fY1NDC: 0.89, fX2NDC: 0.9, fY2NDC: 0.95, fNColumns: 3, fTextSize: 0.04 }},//"/WALL/trending/hWallRawMultBySize_trend/hWallRawMultBySize_trend__0__0_",
+ {HIST: {fFillStyle: 0, fLineColor: 600, fLineWidth: 2, fOption: 'l'}, LABEL: 'Medium'},//"/WALL/trending/hWallRawMultBySize_trend/hWallRawMultBySize_trend__0__1_",
+ {HIST: {fFillStyle: 0, fLineColor: 418, fLineWidth: 2, fOption: 'l'}, LABEL: 'Large'}//"/WALL/trending/hWallRawMultBySize_trend/hWallRawMultBySize_trend__0__2_"
],
],
[
["",""]
];
- initUpdate(histnames, histoptions, helptext, {Palette : 55});
+ initUpdate(histnames, histoptions, helptext, {Palette: 55});
setInterval(update, 3000, histnames, histoptions);
</script>
</head>
--- /dev/null
+{
+ "_typename": "TH1F",
+ "fUniqueID": 0,
+ "fBits": 520,
+ "fName": "REPLACEME",
+ "fTitle": "REPLACEME",
+ "fLineColor": 2,
+ "fLineStyle": 1,
+ "fLineWidth": 1,
+ "fFillColor": 0,
+ "fFillStyle": 1001,
+ "fMarkerColor": 1,
+ "fMarkerStyle": 1,
+ "fMarkerSize": 1,
+ "fNcells": -31415,
+ "fXaxis": {
+ "_typename": "TAxis",
+ "fUniqueID": 0,
+ "fBits": 0,
+ "fName": "xaxis",
+ "fTitle": "REPLACEME",
+ "fNdivisions": 510,
+ "fAxisColor": 1,
+ "fLabelColor": 1,
+ "fLabelFont": 42,
+ "fLabelOffset": 0.005,
+ "fLabelSize": 0.035,
+ "fTickLength": 0.03,
+ "fTitleOffset": 1,
+ "fTitleSize": 0.035,
+ "fTitleColor": 1,
+ "fTitleFont": 42,
+ "fNbins": -31415,
+ "fXmin": 0,
+ "fXmax": -31415,
+ "fXbins": [],
+ "fFirst": 0,
+ "fLast": 0,
+ "fBits2": 0,
+ "fTimeDisplay": false,
+ "fTimeFormat": "",
+ "fLabels": null,
+ "fModLabs": null
+ },
+ "fYaxis": {
+ "_typename": "TAxis",
+ "fUniqueID": 0,
+ "fBits": 0,
+ "fName": "yaxis",
+ "fTitle": "REPLACEME",
+ "fNdivisions": 510,
+ "fAxisColor": 1,
+ "fLabelColor": 1,
+ "fLabelFont": 42,
+ "fLabelOffset": 0.005,
+ "fLabelSize": 0.035,
+ "fTickLength": 0.03,
+ "fTitleOffset": 0,
+ "fTitleSize": 0.035,
+ "fTitleColor": 1,
+ "fTitleFont": 42,
+ "fNbins": 1,
+ "fXmin": 0,
+ "fXmax": 1,
+ "fXbins": [],
+ "fFirst": 0,
+ "fLast": 0,
+ "fBits2": 0,
+ "fTimeDisplay": false,
+ "fTimeFormat": "",
+ "fLabels": null,
+ "fModLabs": null
+ },
+ "fZaxis": {
+ "_typename": "TAxis",
+ "fUniqueID": 0,
+ "fBits": 0,
+ "fName": "zaxis",
+ "fTitle": "",
+ "fNdivisions": 510,
+ "fAxisColor": 1,
+ "fLabelColor": 1,
+ "fLabelFont": 42,
+ "fLabelOffset": 0.005,
+ "fLabelSize": 0.035,
+ "fTickLength": 0.03,
+ "fTitleOffset": 1,
+ "fTitleSize": 0.035,
+ "fTitleColor": 1,
+ "fTitleFont": 42,
+ "fNbins": 1,
+ "fXmin": 0,
+ "fXmax": 1,
+ "fXbins": [],
+ "fFirst": 0,
+ "fLast": 0,
+ "fBits2": 0,
+ "fTimeDisplay": false,
+ "fTimeFormat": "",
+ "fLabels": null,
+ "fModLabs": null
+ },
+ "fBarOffset": 0,
+ "fBarWidth": 1000,
+ "fEntries": 0,
+ "fTsumw": 0,
+ "fTsumw2": 0,
+ "fTsumwx": 0,
+ "fTsumwx2": 0,
+ "fMaximum": -1111,
+ "fMinimum": -1111,
+ "fNormFactor": 0,
+ "fContour": [],
+ "fSumw2": [],
+ "fOption": "hist",
+ "fFunctions": {
+ "_typename": "TList",
+ "name": "TList",
+ "arr": [],
+ "opt": []
+ },
+ "fBufferSize": 0,
+ "fBuffer": [],
+ "fBinStatErrOpt": 0,
+ "fStatOverflows": 2,
+ "fArray": []
+}
--- /dev/null
+{
+ "_typename": "TH2F",
+ "fUniqueID": 0,
+ "fBits": 520,
+ "fName": "REPLACEME",
+ "fTitle": "REPLACEME",
+ "fLineColor": 2,
+ "fLineStyle": 1,
+ "fLineWidth": 1,
+ "fFillColor": 0,
+ "fFillStyle": 1001,
+ "fMarkerColor": 1,
+ "fMarkerStyle": 1,
+ "fMarkerSize": 1,
+ "fNcells": -31415,
+ "fXaxis": {
+ "_typename": "TAxis",
+ "fUniqueID": 0,
+ "fBits": 0,
+ "fName": "xaxis",
+ "fTitle": "",
+ "fNdivisions": 510,
+ "fAxisColor": 1,
+ "fLabelColor": 1,
+ "fLabelFont": 42,
+ "fLabelOffset": 0.005,
+ "fLabelSize": 0.05,
+ "fTickLength": 0.03,
+ "fTitleOffset": 1.15,
+ "fTitleSize": 0.035,
+ "fTitleColor": 1,
+ "fTitleFont": 42,
+ "fNbins": -31415,
+ "fXmin": -31415,
+ "fXmax": -31415,
+ "fXbins": [],
+ "fFirst": 0,
+ "fLast": 0,
+ "fBits2": 0,
+ "fTimeDisplay": false,
+ "fTimeFormat": "",
+ "fLabels": null,
+ "fModLabs": null
+ },
+ "fYaxis": {
+ "_typename": "TAxis",
+ "fUniqueID": 0,
+ "fBits": 0,
+ "fName": "yaxis",
+ "fTitle": "mbo",
+ "fNdivisions": 510,
+ "fAxisColor": 1,
+ "fLabelColor": 1,
+ "fLabelFont": 42,
+ "fLabelOffset": 0.005,
+ "fLabelSize": 0.035,
+ "fTickLength": 0.03,
+ "fTitleOffset": 0,
+ "fTitleSize": 0.035,
+ "fTitleColor": 1,
+ "fTitleFont": 42,
+ "fNbins": -31415,
+ "fXmin": -31415,
+ "fXmax": -31415,
+ "fXbins": [],
+ "fFirst": 0,
+ "fLast": 0,
+ "fBits2": 0,
+ "fTimeDisplay": false,
+ "fTimeFormat": "",
+ "fLabels": null,
+ "fModLabs": null
+ },
+ "fZaxis": {
+ "_typename": "TAxis",
+ "fUniqueID": 0,
+ "fBits": 0,
+ "fName": "zaxis",
+ "fTitle": "REPLACEME",
+ "fNdivisions": 510,
+ "fAxisColor": 1,
+ "fLabelColor": 1,
+ "fLabelFont": 42,
+ "fLabelOffset": 0.005,
+ "fLabelSize": 0.035,
+ "fTickLength": 0.03,
+ "fTitleOffset": 1,
+ "fTitleSize": 0.035,
+ "fTitleColor": 1,
+ "fTitleFont": 42,
+ "fNbins": 1,
+ "fXmin": 0,
+ "fXmax": 1,
+ "fXbins": [],
+ "fFirst": 0,
+ "fLast": 0,
+ "fBits2": 0,
+ "fTimeDisplay": false,
+ "fTimeFormat": "",
+ "fLabels": null,
+ "fModLabs": null
+ },
+ "fBarOffset": 0,
+ "fBarWidth": 1000,
+ "fEntries": 0,
+ "fTsumw": 0,
+ "fTsumw2": 0,
+ "fTsumwx": 0,
+ "fTsumwx2": 0,
+ "fMaximum": -1111,
+ "fMinimum": -1111,
+ "fNormFactor": 0,
+ "fContour": [],
+ "fSumw2": [],
+ "fOption": "colz",
+ "fFunctions": {
+ "_typename": "TList",
+ "name": "TList",
+ "arr": [],
+ "opt": []
+ },
+ "fBufferSize": 0,
+ "fBuffer": [],
+ "fBinStatErrOpt": 0,
+ "fStatOverflows": 2,
+ "fScalefactor": 1,
+ "fTsumwy": 0,
+ "fTsumwy2": 0,
+ "fTsumwxy": 0,
+ "fArray": []
+}
import * as root from '/jsroot/modules/main.mjs';
-import * as colors from '/jsroot/modules/base/colors.mjs';
let first_call = {};
-export function initUpdate(histnames, histoptions, helptext, globalSettings) {
+export async function initUpdate(histnames, histoptions, helptext, globalSettings) {
for (var t = 0; t < histnames.length; t++) {
first_call[t] = {};
}
if (globalSettings) for (let [key, value] of Object.entries(globalSettings)) {
root.settings[key] = value;
}
- document.getElementsByClassName("tabcontent")[0].style.display = 'flex';
- update(histnames, histoptions);
+ // document.getElementsByClassName("tabcontent")[0].style.display = 'flex';
+ document.getElementsByClassName("tabcontent")[0].classList.add("active");
+ await update(histnames, histoptions);
// Array.from(document.getElementsByClassName("tabcontent")).forEach(addhelp);
for (let tc = 0; tc < document.getElementsByClassName("tabcontent").length; tc++) {
function setPainterSettings(painter, settings) {
if (!settings)
return;
- if (settings.FRAME)
- deepMerge(painter.getFramePainter(), settings.FRAME);
if (settings.PAINTER)
deepMerge(painter, settings.PAINTER);
+ if (settings.FRAME)
+ deepMerge(painter.getFramePainter(), settings.FRAME);
if (settings.PAD)
deepMerge(painter.getPadPainter(), settings.PAD);
}
return entry;
}
+function AddH2(h1, h2) {
+ const nbinsXh1 = h1.fXaxis.fNbins;
+ const nbinsYh1 = h1.fYaxis.fNbins;
+ const nbinsXh2 = h2.fXaxis.fNbins;
+ const nbinsYh2 = h2.fYaxis.fNbins;
+
+ // console.log(`In AddH2(${h1.fTitle}, ${h2.fTitle}`);
+ if (nbinsXh1 != nbinsXh2 || nbinsYh1 != nbinsYh2) {
+ console.warn('In function AddH2(h1, h2) axis dimensions not the same. Not Adding Histograms');
+ return;
+ }
+ for (let iX = 0; iX <= nbinsXh1; iX++) for (let iY = 0; iY <= nbinsYh1; iY++)
+ h1.fArray[iX + (nbinsXh1 + 2) * iY] += h2.fArray[iX + (nbinsXh1 + 2) * iY];
+}
+
export async function update(histnames, histoptions) {
for (var t = 0; t < histnames.length; t++) {
for (var i = 0; i < histnames[t].length; i++) {
if (!Array.isArray(histnames[t][i])) {
+ if (histnames[t][i] == '') continue;
let hist = await root.httpRequest('/qaweb/HadesQA/' + histnames[t][i] + '/root.json.gz?compact=23', 'object');
if (histoptions[t][i].HIST) deepMerge(hist, histoptions[t][i].HIST);
+ if(hist.XLABEL)
+ histoptions[t][i].XLABEL = hist.XLABEL;
if (histoptions[t][i].XLABEL) {
hist.fXaxis.fLabels = root.create('THashList');
for (let l = 0; l < histoptions[t][i].XLABEL.length; l++) {
hist.fXaxis.fLabels.Add(lbl, '');
}
}
- // console.log(hist);
+ if(hist.YLABEL)
+ histoptions[t][i].YLABEL = hist.YLABEL;
+ if (histoptions[t][i].YLABEL) {
+ hist.fYaxis.fLabels = root.create('THashList');
+ for (let l = 0; l < histoptions[t][i].YLABEL.length; l++) {
+ let lbl = root.create('TObjString');
+ lbl.fString = histoptions[t][i].YLABEL[l];
+ lbl.fUniqueID = l + 1;
+ hist.fYaxis.fLabels.Add(lbl, '');
+ }
+ }
let painter = await root.redraw(`t${t}d${i}`, hist, '');
- // if (!first_call[t][i]) {
+ if (!first_call[t][i]) {
setPainterSettings(painter, histoptions[t][i]);
+ // painter = await root.redraw(`t${t}d${i}`, hist, '');
first_call[t][i] = true;
- // }
+ }
+ // console.log(hist);
// console.log(painter);
// console.log(painter.getFramePainter());
+ // console.log(painter.getPadPainter());
}
else {
let histo = [];
if (histoptions[t][i][j].LABEL == '') label[j] = histo[j].fTitle;
if (histoptions[t][i][j].LABEL) label[j] = histoptions[t][i][j].LABEL;
if (histoptions[t][i][j].XLABEL) {
- // console.log(histoptions[t][i][j].XLABEL);
- histo[j].fXaxis.fLabels = create('THashList');
+ histo[j].fXaxis.fLabels = root.create('THashList');
for (let l = 0; l < histoptions[t][i][j].XLABEL.length; l++) {
- let lbl = create('TObjString');
+ let lbl = root.create('TObjString');
lbl.fString = histoptions[t][i][j].XLABEL[l];
lbl.fUniqueID = l + 1;
histo[j].fXaxis.fLabels.Add(lbl, '');
}
}
+ if (histo.length > 0 && histo[0]._typename.includes('TH2') && histoptions[t][i][0].STACK)
+ AddH2(histo[0], histo[j]);
+ // console.log(histo[j]);
}
const stack = root.createTHStack(...histo);
// console.log(stack);
else
stack.fHists.arr[0].fFunctions.Add(leg, '');
}
- let painter = await root.redraw(`t${t}d${i}`, stack, 'nostack');
- // console.log(stack);
- // console.log(histo[0]);
- // console.log(stack.fHistogram.fFunctions);
- // if (!first_call[t][i]) {
+ let painter;
+ if (histo[0]._typename.includes('TH2') && histoptions[t][i][0].STACK)
+ painter = await root.redraw(`t${t}d${i}`, histo[0], '');
+ else if (histoptions[t][i][0].STACK)
+ painter = await root.redraw(`t${t}d${i}`, stack, '');
+ else
+ painter = await root.redraw(`t${t}d${i}`, stack, 'nostack');
+ if (!first_call[t][i]) {
setPainterSettings(painter, histoptions[t][i][0]);
+ // if (histo[0]._typename.includes('TH2') && histoptions[t][i][0].STACK)
+ // painter = await root.redraw(`t${t}d${i}`, histo[0], '');
+ // else if (histoptions[t][i][0].STACK)
+ // painter = await root.redraw(`t${t}d${i}`, stack, '');
+ // else
+ // painter = await root.redraw(`t${t}d${i}`, stack, 'nostack');
first_call[t][i] = true;
- // }
+ }
+ // console.log(stack);
+ // console.log(histo[0]);
+ // console.log(painter);
+ // console.log(painter.getFramePainter());
+ // console.log(painter.getPadPainter());
}
}
}
// Get all elements with class="tabcontent" and hide them
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
- tabcontent[i].style.display = 'none';
+ tabcontent[i].classList.remove("active");
}
// Get all elements with class="tablinks" and remove the class "active"
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
- tablinks[i].className = tablinks[i].className.replace(" active", "");
+ tablinks[i].classList.remove("active");
}
// Show the current tab, and add an "active" class to the button that opened the tab
- document.getElementById(Name).style.display = 'flex';
- evt.currentTarget.className += " active";
+ document.getElementById(Name).classList.add("active");
+ evt.currentTarget.classList.add("active");
}
height: calc(100vh - 30px);
margin:0;
padding:0;
- margin-top:30px;
+ margin-top:25px;
}
.tabcontent {
- display: none; /* establish flex container */
+ visibility: hidden; /* establish flex container */
flex-wrap: wrap; /* enable flex items to wrap */
justify-content: space-around;
/* padding: 6px 12px; */
/* border: 1px solid #ccc; */
border-top: none;
+ width:100%;
+ height:calc(100vh - 30px);
+ position:absolute;
+ display: flex;
}
.tabcontent>div>div {
}
+.tabcontent.active {
+ visibility:visible;
+ }
+
+.tabcontent.cell1_2x1 {
+ display: grid;
+ }
+
.cell6x4>div {
flex: 1 1 16%;
height: calc(25vh - 10px);
.cell3x2>div {
flex: 1 1 33%;
- height: calc(50vh - 20px);
+ height: calc(50vh - 15px);
+}
+
+.cell1_2x1 {
+ grid-template-columns: 60% 40%;
+ grid-template-areas: "a b " "a c";
+ }
+.cell1_2x1>div:first-child {
+ grid-area: a;
+ height: calc(100vh - 30px);
+}
+.cell1_2x1>div:nth-child(2) {
+ grid-area: b;
+ height: calc(50vh - 15px);
+}
+.cell1_2x1>div:nth-child(3) {
+ grid-area: c;
+ height: calc(50vh - 15px);
}
.cell3x1>div {
height: calc(100vh - 40px);
}
+.cell1x1>div {
+ flex: 1 1 99%;
+ height: calc(100vh - 40px);
+}
.tab {
position:absolute;
top: 0px;
z-index:1;
overflow: hidden;
border: 1px solid #ccc;
- height: 30px;
- max-height: 30px;
+ height: 25px;
+ max-height: 25px;
padding: 0;
margin: 0;
background-color: #f1f1f1;
border: 1px solid #aaa;
outline: none;
cursor: pointer;
- padding: 7px 20px;
+ padding: 5px 20px;
transition: 0.3s;
border-radius:10px 10px 0 0;
}
--- /dev/null
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <link rel="stylesheet" type="text/css" href="files/tab.css">
+ <link rel="stylesheet" type="text/css" href="/mon/files/indexstyles.css">
+ <link rel="icon" type="image/x-icon" href="icons/favicon.ico">
+ <title>Hades Online QA</title>
+</head>
+<body class="index" style="position:relative;background:#d8e8f8;width:750px;margin:auto;padding:120px 0 40px 0;height: calc(100vh - 160px)">
+<div style="position:fixed;left:0;top:0;width:100%;height:40px;background:#d8e8f8;box-shadow:none;"> </div>
+<h1 style="position:fixed;top:5px;left:0px;width:100%;display:block;text-align:center;margin:26px 0 0px 0">HADES Online QA</h1>
+<div style="position:fixed;left:10px;top:30px;background:#346;padding:10px;margin:-22px 5px 5px 15px;"><img style="background:white;padding:6px 0 6px 0;" src = "/mon/doc/background.png" width=84></div>
+<!-- <div style="position:fixed;right:10px;top:30px;float:right;background:#346;padding:10px;margin:-22px 15px 5px 5px;"><img src = "doc/link.png" width=84 height=84></div> -->
+
+<div class="linkbox" style="float:left;width:730px;"><h4>Main</h4><ul>
+<li><a href="/mon">Back to main monitoring page</a></li>
+<li><a href="/qaweb">Access to all QA plots via ROOT web server</a></li>
+<li><a href="/mon/qa?C=M;O=D">QA Plot Archive (updated every 15 minutes)</a></li>
+<li><a href="files/vertex.htm">Vertex Plots (updated after each file)</a></li>
+</ul></div>
+
+<div class="linkbox" style="float:left;width:730px;"><h4>QA Windows</h4><ul>
+<li><a href="Main.htm">Main</a></li>
+<li><a href="Physics.htm">Physics</a></li>
+<li><a href="Start.htm">Start</a></li>
+<li><a href="RICH.htm">RICH</a></li>
+<li><a href="MDC.htm">MDC</a></li>
+<li><a href="TOF.htm">TOF</a></li>
+<li><a href="RPC.htm">RPC</a></li>
+<li><a href="EMC.htm">Calorimeter</a></li>
+<li><a href="WALL.htm">Forward Wall</a></li>
+
+</ul></div>
+
+</body>