3 #include <onlmon/mvtx/MvtxMonDraw.h>
5 #include <onlmon/OnlMonClient.h>
8 R__LOAD_LIBRARY(libonlmvtxmon_client.so)
16 std::string mLaneStatusFlag[3] = {
"WARNING",
"ERROR",
"FAULT" };
17 const int NStaves[3] = { 12, 16, 20 };
19 for(
int iflx = 0; iflx < 6; iflx++){
21 std::cout<<instanceName<<std::endl;
22 cl->
registerHisto(
"MVTXMON_RawData_ChipStaveOcc", instanceName);
23 cl->
registerHisto(
"MVTXMON_RawData_ChipStave1D", instanceName);
24 cl->
registerHisto(
"MVTXMON_RawData_ChipFiredHis", instanceName);
25 cl->
registerHisto(
"MVTXMON_RawData_EvtHitChip", instanceName);
28 cl->
registerHisto(
"MVTXMON_LaneStatus_laneStatusOverviewFlagWARNING", instanceName);
29 cl->
registerHisto(
"MVTXMON_LaneStatus_laneStatusOverviewFlagERROR", instanceName);
30 cl->
registerHisto(
"MVTXMON_LaneStatus_laneStatusOverviewFlagFAULT", instanceName);
36 cl->
registerHisto(
"MVTXMON_FEE_TriggerVsFeeid", instanceName);
41 cl->
registerHisto(Form(
"MVTXMON_LaneStatus_laneStatusFlag%s", mLaneStatusFlag[
i].c_str()), instanceName);
42 cl->
registerHisto(Form(
"MVTXMON_LaneStatus_laneStatusFlagCumulative%s", mLaneStatusFlag[
i].c_str()), instanceName);
45 for(
int i = 0;
i < 3;
i++){
46 cl->
registerHisto(Form(
"MVTXMON_LaneStatusSummary_LaneStatusSummaryL%i",
i), instanceName);
49 cl->
registerHisto(
"MVTXMON_LaneStatusSummary_LaneStatusSummary", instanceName);
52 cl->
registerHisto(
"MVTXMON_General_ErrorPlots", instanceName);
55 for (
int aLayer = 0; aLayer < 3; aLayer++) {
56 cl->
registerHisto(Form(
"MVTXMON_Occupancy_Layer%dOccupancy", aLayer), instanceName);
57 cl->
registerHisto(Form(
"MVTXMON_Occupancy_Layer%d_Layer%dChipStave", aLayer, aLayer), instanceName);
58 cl->
registerHisto(Form(
"MVTXMON_Noisy_Layer%d_ChipStave", aLayer), instanceName);
63 cl->
registerHisto(
"MVTXMON_General_ErrorVsFeeid", instanceName);
65 cl->
registerHisto(
"MVTXMON_General_Noisy_Pixel", instanceName);
68 for (
int mLayer = 0; mLayer < 3; mLayer++) {
69 cl->
registerHisto(Form(
"MVTXMON_Occupancy_Layer%d_Layer%dDeadChipPos", mLayer, mLayer), instanceName);
70 cl->
registerHisto(Form(
"MVTXMON_Occupancy_Layer%d_Layer%dAliveChipPos", mLayer, mLayer), instanceName);
72 cl->
registerHisto(Form(
"MVTXMON_Occupancy_Layer%dOccupancy_LOG", mLayer), instanceName);
75 cl->
registerHisto(
"MVTXMON_Occupancy_TotalDeadChipPos", instanceName);
76 cl->
registerHisto(
"MVTXMON_Occupancy_TotalAliveChipPos", instanceName);
78 cl->
registerHisto(Form(
"MVTXMON_chipHitmapFLX%d", iflx), instanceName);
108 cl->
Draw(
"MVTXMONDRAW", what);