45 "eventInfoFolderHLX",
"EventInfoHLX");
47 "eventInfoFolder",
"EventInfo");
76 if (NUM_BUNCHES > 3564) NUM_BUNCHES = 3564;
80 if (XMAX <= 0) XMAX = 3564;
83 if ((Style ==
"History") || (NBINS == 0)) {
84 NBINS = (
unsigned int)(XMAX - XMIN);
93 unsigned int HLXHFMapTemp[] = {31, 32, 33, 34, 35, 18,
94 13, 14, 15, 16, 17, 0,
95 25, 26, 27, 28, 29, 30,
97 19, 20, 21, 22, 23, 24,
104 for (
int iHLX = 0; iHLX < 36; ++iHLX) {
105 HLXHFMap[iHLX] = HLXHFMapTemp[iHLX];
124 cout <<
"SetPort: " <<
listenPort <<
" Success: " << errorCode << endl;
126 cout <<
"AquireMode: " <<
AquireMode <<
" Success: " << errorCode << endl;
142 std::cout <<
"Successfully connected." << std::endl;
156 for (
unsigned int iWedge = 0; iWedge < 18 && iWedge <
NUM_HLX; ++iWedge) {
157 std::ostringstream tempStreamer;
158 tempStreamer <<
std::dec << std::setw(2) << std::setfill(
'0')
161 std::ostringstream wedgeNum;
162 wedgeNum <<
std::dec << (iWedge % 18) + 1;
169 "HF+ Wedge " + wedgeNum.str() +
": Below Threshold 1 - Set 1",
NBINS,
173 "HF+ Wedge " + wedgeNum.str() +
": Between Threshold 1 & 2 - Set 1",
177 "HF+ Wedge " + wedgeNum.str() +
": Above Threshold 2 - Set 1",
NBINS,
181 "HF+ Wedge " + wedgeNum.str() +
": Below Threshold 1 - Set 2",
NBINS,
185 "HF+ Wedge " + wedgeNum.str() +
": Between Threshold 1 & 2 - Set 2",
189 "HF+ Wedge " + wedgeNum.str() +
": Above Threshold 2 - Set 2",
NBINS,
192 "ETSum",
"HF+ Wedge " + wedgeNum.str() +
": Transverse Energy",
NBINS,
202 for (
unsigned int iWedge = 18; iWedge <
NUM_HLX; ++iWedge) {
203 std::ostringstream tempStreamer;
204 tempStreamer <<
std::dec << std::setw(2) << std::setfill(
'0')
207 std::ostringstream wedgeNum;
208 wedgeNum <<
std::dec << (iWedge % 18) + 1;
214 "HF- Wedge " + wedgeNum.str() +
": Below Threshold 1 - Set 1",
NBINS,
218 "HF- Wedge " + wedgeNum.str() +
": Between Threshold 1 & 2 - Set 1",
222 "HF- Wedge " + wedgeNum.str() +
": Above Threshold 2 - Set 1",
NBINS,
226 "HF- Wedge " + wedgeNum.str() +
": Below Threshold 1 - Set 2",
NBINS,
230 "HF- Wedge " + wedgeNum.str() +
": Between Threshold 1 & 2 - Set 2",
234 "HF- Wedge " + wedgeNum.str() +
": Above Threshold 2 - Set 2",
NBINS,
237 "ETSum",
"HF- Wedge " + wedgeNum.str() +
": Transverse Energy",
NBINS,
246 for (
unsigned int iWedge = 0; iWedge <
NUM_HLX; ++iWedge) {
262 }
else if (
Style ==
"Distribution") {
269 for (
unsigned int iWedge = 0; iWedge <
NUM_HLX; ++iWedge) {
291 std::string CompEtSumYTitle =
"E_{T} Sum per active tower";
292 std::string CompOccYTitle =
"Occupancy per active tower";
295 iBooker.
book1D(
"HFCompareEtSum",
"E_{T} Sum", NUM_HLX, 0, NUM_HLX);
300 "Occupancy Below Threshold 1 - Set 1",
301 NUM_HLX, 0, NUM_HLX);
306 "HFCompareOccBetweenSet1",
"Occupancy Between Threshold 1 & 2 - Set 1",
307 NUM_HLX, 0, NUM_HLX);
312 "Occupancy Above Threshold 2 - Set 1",
313 NUM_HLX, 0, NUM_HLX);
318 "Occupancy Below Threshold 1 - Set 2",
319 NUM_HLX, 0, NUM_HLX);
324 "HFCompareOccBetweenSet2",
"Occupancy Between Threshold 1 & 2 - Set 2",
325 NUM_HLX, 0, NUM_HLX);
330 "Occupancy Above Threshold 2 - Set 2",
331 NUM_HLX, 0, NUM_HLX);
343 int EtSumBins = 10000;
353 std::string AvgOccYTitle =
"Average Tower Occupancy";
356 NUM_HLX, EtSumBins, EtSumMin, EtSumMax);
361 "AvgOccBelowSet1",
"Average Occupancy Below Threshold 1 - Set1", NUM_HLX,
362 0, NUM_HLX, OccBins, OccMin, OccMax, errorOpt.c_str());
367 "AvgOccBetweenSet1",
"Average Occupancy Between Threhold 1 & 2 - Set1",
368 NUM_HLX, 0, NUM_HLX, OccBins, OccMin, OccMax, errorOpt.c_str());
373 "AvgOccAboveSet1",
"Average Occupancy Above Threshold 2 - Set1", NUM_HLX,
374 0, NUM_HLX, OccBins, OccMin, OccMax, errorOpt.c_str());
379 "AvgOccBelowSet2",
"Average Occupancy Below Threshold 1 - Set2", NUM_HLX,
380 0, NUM_HLX, OccBins, OccMin, OccMax, errorOpt.c_str());
385 "AvgOccBetweenSet2",
"Average Occupancy Between Threshold 1 & 2 - Set2",
386 NUM_HLX, 0, NUM_HLX, OccBins, OccMin, OccMax, errorOpt.c_str());
391 "AvgOccAboveSet2",
"Average Occupancy Above Threshold 2 - Set2", NUM_HLX,
392 0, NUM_HLX, OccBins, OccMin, OccMax, errorOpt.c_str());
400 std::string LumiEtSumYTitle =
"Luminosity: E_{T} Sum";
401 std::string LumiOccYTitle =
"Luminosity: Occupancy";
410 "LumiAvgOccSet1",
"Average Luminosity - Set 1",
int(
XMAX -
XMIN),
XMIN,
411 XMAX, OccBins, OccMax, OccMin);
416 "LumiAvgOccSet2",
"Average Luminosity - Set 2",
int(
XMAX -
XMIN),
XMIN,
417 XMAX, OccBins, OccMax, OccMin);
422 iBooker.
book1D(
"LumiInstantEtSum",
"Instantaneous Luminosity ",
428 iBooker.
book1D(
"LumiInstantOccSet1",
"Instantaneous Luminosity - Set 1",
434 iBooker.
book1D(
"LumiInstantOccSet2",
"Instantaneous Luminosity - Set 2",
440 iBooker.
book1D(
"LumiIntegratedEtSum",
"Integrated Luminosity ",
446 iBooker.
book1D(
"LumiIntegratedOccSet1",
"Integrated Luminosity - Set 1",
452 iBooker.
book1D(
"LumiIntegratedOccSet2",
"Integrated Luminosity - Set 2",
461 std::string sumYTitle =
"Occupancy Sum (Below+Above+Between)";
464 iBooker.
bookProfile(
"SumAllOccSet1",
"Occupancy Check - Set 1", NUM_HLX,
465 0, NUM_HLX, OccBins, OccMax, OccMin);
470 iBooker.
bookProfile(
"SumAllOccSet2",
"Occupancy Check - Set 2", NUM_HLX,
471 0, NUM_HLX, OccBins, OccMax, OccMin);
476 iBooker.
book1D(
"MissingDQMDataCheck",
"Missing Data Count", 1, 0, 1);
484 iBooker.
book1D(
"MaxInstLumiBX1",
"Max Instantaneous Luminosity BX: 1st",
489 iBooker.
book1D(
"MaxInstLumiBX2",
"Max Instantaneous Luminosity BX: 2nd",
494 iBooker.
book1D(
"MaxInstLumiBX3",
"Max Instantaneous Luminosity BX: 3rd",
499 iBooker.
book1D(
"MaxInstLumiBX4",
"Max Instantaneous Luminosity BX: 4th",
505 "BX Number of Max: 1st", 3564, 0, 3564);
509 "BX Number of Max: 2nd", 3564, 0, 3564);
513 "BX Number of Max: 3rd", 3564, 0, 3564);
517 "BX Number of Max: 4th", 3564, 0, 3564);
529 std::string HistLumiErrorYTitle =
"Luminosity Error (%)";
536 (
double)
MAX_LS + 0.5, EtSumBins, EtSumMin, EtSumMax);
542 (
double)
MAX_LS + 0.5, EtSumBins, EtSumMin, EtSumMax);
548 "HistAvgOccBelowSet1HFP",
"Average Occ Set1Below: HF+",
MAX_LS, 0.5,
549 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
554 "HistAvgOccBelowSet1HFM",
"Average Occ Set1Below: HF-",
MAX_LS, 0.5,
555 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
560 "HistAvgOccBetweenSet1HFP",
"Average Occ Set1Between: HF+",
MAX_LS, 0.5,
561 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
566 "HistAvgOccBetweenSet1HFM",
"Average Occ Set1Between: HF-",
MAX_LS, 0.5,
567 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
572 "HistAvgOccAboveSet1HFP",
"Average Occ Set1Above: HF+",
MAX_LS, 0.5,
573 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
578 "HistAvgOccAboveSet1HFM",
"Average Occ Set1Above: HF-",
MAX_LS, 0.5,
579 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
584 "HistAvgOccBelowSet2HFP",
"Average Occ Set2Below: HF+",
MAX_LS, 0.5,
585 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
590 "HistAvgOccBelowSet2HFM",
"Average Occ Set2Below: HF-",
MAX_LS, 0.5,
591 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
596 "HistAvgOccBetweenSet2HFP",
"Average Occ Set2Between: HF+",
MAX_LS, 0.5,
597 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
602 "HistAvgOccBetweenSet2HFM",
"Average Occ Set2Between: HF-",
MAX_LS, 0.5,
603 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
608 "HistAvgOccAboveSet2HFP",
"Average Occ Set2Above: HF+",
MAX_LS, 0.5,
609 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
614 "HistAvgOccAboveSet2HFM",
"Average Occ Set2Above: HF-",
MAX_LS, 0.5,
615 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
621 iBooker.
book2D(
"BXvsTimeAvgEtSumHFP",
"Average Et Sum: HF+",
MAX_LS, 0.5,
627 iBooker.
book2D(
"BXvsTimeAvgEtSumHFM",
"Average Et Sum: HF-",
MAX_LS, 0.5,
628 (
double)
MAX_LS + 0.5,
NBINS, (
double)XMIN, (
double)XMAX);
636 "HistAvgLumiEtSum",
"Average Instant Luminosity: Et Sum",
MAX_LS, 0.5,
637 (
double)
MAX_LS + 0.5, EtSumBins, EtSumMin, EtSumMax);
642 "HistAvgLumiOccSet1",
"Average Instant Luminosity: Occ Set1",
MAX_LS, 0.5,
643 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
648 "HistAvgLumiOccSet2",
"Average Instant Luminosity: Occ Set2",
MAX_LS, 0.5,
649 (
double)
MAX_LS + 0.5, OccBins, OccMin, OccMax);
654 iBooker.
book1D(
"HistInstantLumiEtSum",
"Instant Luminosity: Et Sum",
660 iBooker.
book1D(
"HistInstantLumiOccSet1",
"Instant Luminosity: Occ Set1",
666 iBooker.
book1D(
"HistInstantLumiOccSet2",
"Instant Luminosity: Occ Set2",
672 iBooker.
book1D(
"HistInstantLumiEtSumError",
"Luminosity Error: Et Sum",
678 "HistInstantLumiOccSet1Error",
"Luminosity Error: Occ Set1",
MAX_LS, 0.5,
684 "HistInstantLumiOccSet2Error",
"Luminosity Error: Occ Set2",
MAX_LS, 0.5,
690 iBooker.
book1D(
"HistIntegratedLumiEtSum",
"Integrated Luminosity: Et Sum",
696 "Integrated Luminosity: Occ Set1",
702 "Integrated Luminosity: Occ Set2",
711 iBooker.
book1D(
"RecentInstantLumiEtSum",
"Instant Luminosity: Et Sum",
712 128, 0.5, (
double)128 + 0.5);
717 iBooker.
book1D(
"RecentInstantLumiOccSet1",
"Instant Luminosity: Occ Set1",
718 128, 0.5, (
double)128 + 0.5);
723 iBooker.
book1D(
"RecentInstantLumiOccSet2",
"Instant Luminosity: Occ Set2",
724 128, 0.5, (
double)128 + 0.5);
729 "Integrated Luminosity: Et Sum",
730 128, 0.5, (
double)128 + 0.5);
735 "RecentIntegratedLumiOccSet1",
"Integrated Luminosity: Occ Set1", 128,
736 0.5, (
double)128 + 0.5);
741 "RecentIntegratedLumiOccSet2",
"Integrated Luminosity: Occ Set2", 128,
742 0.5, (
double)128 + 0.5);
800 0., 18., 2, -1.5, 1.5);
806 summaryHist->GetYaxis()->SetBinLabel(1,
"HF-");
807 summaryHist->GetYaxis()->SetBinLabel(2,
"HF+");
808 summaryHist->GetXaxis()->SetTitle(
"Wedge #");
814 for (
unsigned int iHLX = 0; iHLX <
NUM_HLX; ++iHLX) {
815 unsigned int iWedge =
HLXHFMap[iHLX] + 1;
816 unsigned int iEta = 2;
844 std::cout <<
"Successfully connected." << std::endl;
856 timeval startruntime;
857 gettimeofday(&startruntime,
nullptr);
886 std::cout <<
"** Here in end run **" << std::endl;
921 for (
int iBin = 1; iBin < 128; ++iBin) {
951 double recentOldBinContent =
953 if (fillBin == 1) recentOldBinContent = 0;
954 double recentNewBinContent =
958 if (fillBin == 1) recentOldBinContent = 0;
959 recentNewBinContent =
963 if (fillBin == 1) recentOldBinContent = 0;
964 recentNewBinContent =
968 double recentOldBinError =
970 if (fillBin == 1) recentOldBinError = 0;
971 double recentNewBinError =
sqrt(recentOldBinError * recentOldBinError +
976 if (fillBin == 1) recentOldBinError = 0;
977 recentNewBinError =
sqrt(recentOldBinError * recentOldBinError +
982 if (fillBin == 1) recentOldBinError = 0;
983 recentNewBinError =
sqrt(recentOldBinError * recentOldBinError +
997 if (etDenom < 1
e-10) etDenom = 1
e-10;
999 if (occ1Denom < 1
e-10) occ1Denom = 1
e-10;
1001 if (occ2Denom < 1
e-10) occ2Denom = 1
e-10;
1010 if (
lsBinOld == 0) histOldBinContent = 0;
1014 if (
lsBinOld == 0) histOldBinContent = 0;
1018 if (
lsBinOld == 0) histOldBinContent = 0;
1023 if (
lsBinOld == 0) histOldBinError = 0;
1024 double histNewBinError =
1028 if (
lsBinOld == 0) histOldBinError = 0;
1033 if (
lsBinOld == 0) histOldBinError = 0;
1038 sectionInstantSumEt = 0;
1040 sectionInstantSumOcc1 = 0;
1042 sectionInstantSumOcc2 = 0;
1063 for (
int iHLX = 0; iHLX < (
int)
NUM_HLX; ++iHLX) {
1064 unsigned int utotal1 = 0;
1065 unsigned int utotal2 = 0;
1066 unsigned int iWedge =
HLXHFMap[iHLX];
1069 for (
unsigned int iBX = 0; iBX <
NUM_BUNCHES; ++iBX) {
1071 unsigned int norm[2] = {0, 0};
1075 if (norm[0] == 0) norm[0] = 1;
1079 if (norm[1] == 0) norm[1] = 1;
1082 section.
etSum[iHLX].
data[iBX] / (double)(norm[0] + norm[1]);
1083 double normOccSet1Below =
1086 double normOccSet1Between =
1089 double normOccSet1Above =
1092 double normOccSet2Below =
1095 double normOccSet2Between =
1098 double normOccSet2Above =
1103 if (iBX < NUM_BUNCHES - 100) {
1123 if (iBX >= (
XMIN - 1) && iBX <= (
XMAX - 1))
1135 if (iBX >= (
XMIN - 1) && iBX <= (
XMAX - 1))
1149 if (
Style ==
"BX") {
1152 int iBin = Set1BelowHist->FindBin((
float)iBX);
1157 double oldNormOccSet1Below =
1160 normOccSet1Below += oldNormOccSet1Below;
1162 double oldNormOccSet2Below =
1165 normOccSet2Below += oldNormOccSet2Below;
1168 double oldNormOccSet1Between =
1171 normOccSet1Between += oldNormOccSet1Between;
1173 double oldNormOccSet2Between =
1176 normOccSet2Between += oldNormOccSet2Between;
1179 double oldNormOccSet1Above =
1182 normOccSet1Above += oldNormOccSet1Above;
1184 double oldNormOccSet2Above =
1187 normOccSet2Above += oldNormOccSet2Above;
1192 normEt += oldNormEt;
1202 }
else if (
Style ==
"Dist") {
1216 if ((NUM_BUNCHES - 100) > 0) {
1217 total1 = (double)utotal1 / (
double)(NUM_BUNCHES - 100);
1218 total2 = (double)utotal2 / (
double)(NUM_BUNCHES - 100);
1230 double max[4] = {-1000.0, -1000.0, -1000.0, -1000.0};
1231 int bxmax[4] = {-1, -1, -1, -1};
1232 for (
unsigned int iBX = 0; iBX <
NUM_BUNCHES; ++iBX) {
1239 bxmax[3] = bxmax[2];
1241 bxmax[2] = bxmax[1];
1243 bxmax[1] = bxmax[0];
1248 bxmax[3] = bxmax[2];
1250 bxmax[2] = bxmax[1];
1255 bxmax[3] = bxmax[2];
1263 int iBin = iBX - (
int)
XMIN + 1;
1264 if (iBin <=
int(
XMAX -
XMIN) && iBin >= 1) {
1291 double newBinError =
sqrt(oldBinError * oldBinError +
1297 newBinError =
sqrt(oldBinError * oldBinError +
1303 newBinError =
sqrt(oldBinError * oldBinError +
1314 for (
int iM = 0; (iM < 4) && flag; ++iM) {
1316 for (
int iN = 0; iN < 3; ++iN) {
1317 if (bxmax[iN + 1] < bxmax[iN]) {
1318 int tmp = bxmax[iN];
1319 bxmax[iN] = bxmax[iN + 1];
1320 bxmax[iN + 1] =
tmp;
1322 double tmp2 = max[iN];
1323 max[iN] = max[iN + 1];
1341 double minX = tmpHist->GetBinLowEdge(1);
1342 double maxX = tmpHist->GetBinLowEdge(tmpHist->GetNbinsX() + 1);
1348 if (rms1 > 0 && mean1 - 5 * rms1 > minX && mean1 + 5 * rms1 < maxX)
1353 if (rms2 > 0 && mean2 - 5 * rms2 > minX && mean2 + 5 * rms2 < maxX)
1358 if (rms3 > 0 && mean3 - 5 * rms3 > minX && mean3 + 5 * rms3 < maxX)
1363 if (rms4 > 0 && mean4 - 5 * rms4 > minX && mean4 + 5 * rms4 < maxX)
1372 for (
unsigned int iHLX = 0; iHLX <
NUM_HLX; ++iHLX) {
1373 unsigned int iWedge =
HLXHFMap[iHLX];
1376 float nActvTwrsSet1 =
1381 float nActvTwrsSet2 =
1386 float total = nActvTwrsSet1 + nActvTwrsSet2;
1394 if (nActvTwrsSet1 > 0) {
1411 if (nActvTwrsSet2 > 0) {
1442 for (
unsigned int iHLX = 0; iHLX <
NUM_HLX; ++iHLX) {
1443 unsigned int iWedge =
HLXHFMap[iHLX] + 1;
1470 float overall = 0.0;
1471 for (
unsigned int iHLX = 0; iHLX <
NUM_HLX; ++iHLX) {
1472 unsigned int iWedge =
HLXHFMap[iHLX] + 1;
1473 unsigned int iEta = 2;
1485 overall /= (
float)NUM_HLX;
1486 if (overall > 1.0) overall = 0.0;
1492 for (
unsigned int iHLX = 0; iHLX <
NUM_HLX; ++iHLX) {
1589 double deltaT = (*a).tv_sec * 1000.0 + (*a).tv_usec / 1000.0;
1590 if (b !=
nullptr) deltaT = (*b).tv_sec * 1000.0 + (*b).tv_usec / 1000.0 - deltaT;
1591 return deltaT / 1000.0;
double sectionInstantSumEt
MonitorElement * HistAvgOccBetweenSet1HFP
MonitorElement * HFCompareOccAboveSet1
EventNumber_t event() const
MonitorElement * Set2Between[36]
MonitorElement * processLatency_
The UTC time of the last event.
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * HistInstantLumiOccSet1
MonitorElement * HFCompareOccAboveSet2
MonitorElement * RecentIntegratedLumiOccSet2
MonitorElement * MaxInstLumiBX4
unsigned int totalNibbles_[36]
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
float InstantOccLumiErr[2]
void SetupHists(DQMStore::IBooker &)
void setBinContent(int binx, double content)
set content of bin (1-D)
unsigned int HLXHFMap[36]
int SetPort(unsigned short int)
MonitorElement * HistAvgLumiOccSet2
unsigned int secNumLength
MonitorElement * HistAvgOccBelowSet2HFM
MonitorElement * RecentIntegratedLumiEtSum
MonitorElement * LumiIntegratedEtSum
MonitorElement * SumAllOccSet1
MonitorElement * LumiInstantOccSet2
MonitorElement * AvgOccBetweenSet2
void setAxisRange(double xmin, double xmax, int axis=1)
set x-, y- or z-axis range (axis=1, 2, 3 respectively)
MonitorElement * AvgOccBelowSet1
MonitorElement * HistAvgEtSumHFM
MonitorElement * bookProfile(Args &&...args)
MonitorElement * AvgOccAboveSet2
MonitorElement * HistAvgEtSumHFP
MonitorElement * HistAvgOccAboveSet1HFP
MonitorElement * LumiInstantEtSum
#define DEFINE_FWK_MODULE(type)
std::string OccYAxisTitle
MonitorElement * LumiAvgOccSet2
MonitorElement * cmsswVer_
Current working directory of the job.
MonitorElement * HistInstantLumiOccSet2Error
MonitorElement * processEventRate_
Time elapsed since the last event.
MonitorElement * bookInt(Args &&...args)
MonitorElement * bookString(Args &&...args)
MonitorElement * MissingDQMDataCheck
LUMI_SECTION_SUB_HEADER hdr
MonitorElement * HistInstantLumiOccSet2
MonitorElement * LumiInstantOccSet1
MonitorElement * HistAvgOccAboveSet1HFM
std::string OutputFilePrefix
MonitorElement * LumiIntegratedOccSet1
double getMean(int axis=1) const
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
double sectionInstantErrSumEt
double sectionInstantErrSumOcc2
unsigned int set2AboveIndex
MonitorElement * Set1Below[36]
void SetIP(std::string IP)
std::string eventInfoFolderHLX_
MonitorElement * HistInstantLumiEtSumError
MonitorElement * eventId_
UTC time of the run start.
MonitorElement * processId_
Number of collector updates (TBD)
MonitorElement * MaxInstLumiBX1
MonitorElement * reportSummaryMap_
MonitorElement * HistAvgOccBelowSet1HFP
MonitorElement * HFCompareEtSum
double getUTCtime(timeval *a, timeval *b=0)
MonitorElement * runStartTimeStamp_
MonitorElement * Set1Between[36]
unsigned int set2BetweenIndex
double sectionInstantSumOcc1
unsigned int set2BelowIndex
double sectionInstantSumOcc2
MonitorElement * HistIntegratedLumiOccSet1
MonitorElement * RecentInstantLumiOccSet1
MonitorElement * HistIntegratedLumiOccSet2
MonitorElement * BXvsTimeAvgEtSumHFM
MonitorElement * HistAvgOccBetweenSet2HFM
MonitorElement * book1D(Args &&...args)
MonitorElement * AvgOccAboveSet1
MonitorElement * HistInstantLumiOccSet1Error
HCAL_HLX::LUMI_SECTION lumiSection
MonitorElement * hostName_
of event processed so far
MonitorElement * HFCompareOccBelowSet1
MonitorElement * ETSum[36]
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
MonitorElement * Set2Below[36]
MonitorElement * MaxInstLumiBXNum2
float OccLumiErr[2][4096]
MonitorElement * MaxInstLumiBX2
MonitorElement * SumAllOccSet2
MonitorElement * AvgEtSum
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * HistAvgOccAboveSet2HFM
OCCUPANCY_SECTION occupancy[36]
MonitorElement * LumiAvgEtSum
MonitorElement * eventTimeStamp_
MonitorElement * BXvsTimeAvgEtSumHFP
MonitorElement * HistAvgOccBetweenSet1HFM
MonitorElement * RecentIntegratedLumiOccSet1
MonitorElement * MaxInstLumiBXNum4
std::string getReleaseVersion()
MonitorElement * HistAvgLumiOccSet1
MonitorElement * HistAvgOccAboveSet2HFP
unsigned int MinLSBeforeSave
MonitorElement * HistAvgOccBelowSet1HFM
MonitorElement * RecentInstantLumiOccSet2
MonitorElement * Set2Above[36]
MonitorElement * HistAvgLumiEtSum
MonitorElement * HistIntegratedLumiEtSum
void setCurrentFolder(const std::string &fullpath)
void tagContents(const std::string &, unsigned int)
MonitorElement * book2D(Args &&...args)
double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
MonitorElement * HistAvgOccBelowSet2HFP
MonitorElement * processEvents_
double sectionInstantNorm
MonitorElement * MaxInstLumiBXNum3
MonitorElement * MaxInstLumiBX3
TH1F * getTH1F(void) const
double sectionInstantErrSumOcc1
unsigned int previousSection
std::string subSystemName_
MonitorElement * processName_
Hostname of the local machine.
void FillEventInfo(const LUMI_SECTION &, const edm::Event &e)
unsigned int runNumLength
int ReceiveLumiSection(HCAL_HLX::LUMI_SECTION &localSection)
MonitorElement * Set1Above[36]
MonitorElement * processStartTimeStamp_
The PID associated with this job.
unsigned int expectedNibbles_
std::vector< std::vector< double > > tmp
int SetMode(unsigned char)
MonitorElement * MaxInstLumiBXNum1
MonitorElement * AvgOccBelowSet2
double getBinContent(int binx) const
get content of bin (1-D)
HLXMonitor(const edm::ParameterSet &)
double getRMS(int axis=1) const
get RMS of histogram along x, y or z axis (axis=1, 2, 3 respectively)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::string OccXAxisTitle
MonitorElement * HistInstantLumiEtSum
MonitorElement * HFCompareOccBetweenSet2
unsigned int set1BelowIndex
unsigned int lumiSectionCount
std::string eventInfoFolder_
MonitorElement * LumiIntegratedOccSet2
MonitorElement * HFCompareOccBelowSet2
MonitorElement * HFCompareOccBetweenSet1
void FillHistograms(const LUMI_SECTION &)
MonitorElement * bookFloat(Args &&...args)
MonitorElement * LumiAvgOccSet1
TH2F * getTH2F(void) const
MonitorElement * workingDir_
DQM "name" of the job (eg, Hcal or DT)
MonitorElement * AvgOccBetweenSet1
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * RecentInstantLumiEtSum
TimeValue_t value() const
edm::Timestamp time() const
MonitorElement * reportSummary_
MonitorElement * HistAvgOccBetweenSet2HFP
unsigned int set1AboveIndex
MonitorElement * lumisecId_
void SetupEventInfo(DQMStore::IBooker &)
unsigned int set1BetweenIndex
void FillHistoHFCompare(const LUMI_SECTION &)