561 ibooker.setCurrentFolder(
"DT/CalibrationSummary");
565 "MeanSummaryRes_testFailedByAtLeastBadSL_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3");
567 wheelMeanHistos[3] = ibooker.book2D(histoName.c_str(), histoName.c_str(), 14, 0, 14, 5, -2, 3);
568 wheelMeanHistos[3]->setBinLabel(1,
"Sector1", 1);
569 wheelMeanHistos[3]->setBinLabel(1,
"Sector1", 1);
570 wheelMeanHistos[3]->setBinLabel(2,
"Sector2", 1);
571 wheelMeanHistos[3]->setBinLabel(3,
"Sector3", 1);
572 wheelMeanHistos[3]->setBinLabel(4,
"Sector4", 1);
573 wheelMeanHistos[3]->setBinLabel(5,
"Sector5", 1);
574 wheelMeanHistos[3]->setBinLabel(6,
"Sector6", 1);
575 wheelMeanHistos[3]->setBinLabel(7,
"Sector7", 1);
576 wheelMeanHistos[3]->setBinLabel(8,
"Sector8", 1);
577 wheelMeanHistos[3]->setBinLabel(9,
"Sector9", 1);
578 wheelMeanHistos[3]->setBinLabel(10,
"Sector10", 1);
579 wheelMeanHistos[3]->setBinLabel(11,
"Sector11", 1);
580 wheelMeanHistos[3]->setBinLabel(12,
"Sector12", 1);
581 wheelMeanHistos[3]->setBinLabel(13,
"Sector13", 1);
582 wheelMeanHistos[3]->setBinLabel(14,
"Sector14", 1);
583 wheelMeanHistos[3]->setBinLabel(1,
"Wheel-2", 2);
584 wheelMeanHistos[3]->setBinLabel(2,
"Wheel-1", 2);
585 wheelMeanHistos[3]->setBinLabel(3,
"Wheel0", 2);
586 wheelMeanHistos[3]->setBinLabel(4,
"Wheel+1", 2);
587 wheelMeanHistos[3]->setBinLabel(5,
"Wheel+2", 2);
590 if (
parameters.getUntrackedParameter<
bool>(
"sigmaTest")) {
593 "SigmaSummaryRes_testFailedByAtLeastBadSL_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3");
595 wheelSigmaHistos[3] = ibooker.book2D(histoName.c_str(), histoName.c_str(), 14, 0, 14, 5, -2, 3);
596 wheelSigmaHistos[3]->setBinLabel(1,
"Sector1", 1);
597 wheelSigmaHistos[3]->setBinLabel(1,
"Sector1", 1);
598 wheelSigmaHistos[3]->setBinLabel(2,
"Sector2", 1);
599 wheelSigmaHistos[3]->setBinLabel(3,
"Sector3", 1);
600 wheelSigmaHistos[3]->setBinLabel(4,
"Sector4", 1);
601 wheelSigmaHistos[3]->setBinLabel(5,
"Sector5", 1);
602 wheelSigmaHistos[3]->setBinLabel(6,
"Sector6", 1);
603 wheelSigmaHistos[3]->setBinLabel(7,
"Sector7", 1);
604 wheelSigmaHistos[3]->setBinLabel(8,
"Sector8", 1);
605 wheelSigmaHistos[3]->setBinLabel(9,
"Sector9", 1);
606 wheelSigmaHistos[3]->setBinLabel(10,
"Sector10", 1);
607 wheelSigmaHistos[3]->setBinLabel(11,
"Sector11", 1);
608 wheelSigmaHistos[3]->setBinLabel(12,
"Sector12", 1);
609 wheelSigmaHistos[3]->setBinLabel(13,
"Sector13", 1);
610 wheelSigmaHistos[3]->setBinLabel(14,
"Sector14", 1);
611 wheelSigmaHistos[3]->setBinLabel(1,
"Wheel-2", 2);
612 wheelSigmaHistos[3]->setBinLabel(2,
"Wheel-1", 2);
613 wheelSigmaHistos[3]->setBinLabel(3,
"Wheel0", 2);
614 wheelSigmaHistos[3]->setBinLabel(4,
"Wheel+1", 2);
615 wheelSigmaHistos[3]->setBinLabel(5,
"Wheel+2", 2);
619 if (
parameters.getUntrackedParameter<
bool>(
"slopeTest")) {
622 "SlopeSummaryRes_testFailedByAtLeastBadSL_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3");
624 wheelSlopeHistos[3] = ibooker.book2D(histoName.c_str(), histoName.c_str(), 14, 0, 14, 5, -2, 3);
625 wheelSlopeHistos[3]->setBinLabel(1,
"Sector1", 1);
626 wheelSlopeHistos[3]->setBinLabel(1,
"Sector1", 1);
627 wheelSlopeHistos[3]->setBinLabel(2,
"Sector2", 1);
628 wheelSlopeHistos[3]->setBinLabel(3,
"Sector3", 1);
629 wheelSlopeHistos[3]->setBinLabel(4,
"Sector4", 1);
630 wheelSlopeHistos[3]->setBinLabel(5,
"Sector5", 1);
631 wheelSlopeHistos[3]->setBinLabel(6,
"Sector6", 1);
632 wheelSlopeHistos[3]->setBinLabel(7,
"Sector7", 1);
633 wheelSlopeHistos[3]->setBinLabel(8,
"Sector8", 1);
634 wheelSlopeHistos[3]->setBinLabel(9,
"Sector9", 1);
635 wheelSlopeHistos[3]->setBinLabel(10,
"Sector10", 1);
636 wheelSlopeHistos[3]->setBinLabel(11,
"Sector11", 1);
637 wheelSlopeHistos[3]->setBinLabel(12,
"Sector12", 1);
638 wheelSlopeHistos[3]->setBinLabel(13,
"Sector13", 1);
639 wheelSlopeHistos[3]->setBinLabel(14,
"Sector14", 1);
640 wheelSlopeHistos[3]->setBinLabel(1,
"Wheel-2", 2);
641 wheelSlopeHistos[3]->setBinLabel(2,
"Wheel-1", 2);
642 wheelSlopeHistos[3]->setBinLabel(3,
"Wheel0", 2);
643 wheelSlopeHistos[3]->setBinLabel(4,
"Wheel+1", 2);
644 wheelSlopeHistos[3]->setBinLabel(5,
"Wheel+2", 2);
651 if (wheelMeanHistos.find(wh) == wheelMeanHistos.end()) {
653 "MeanSummaryRes_testFailed_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3") +
"_W" + wheel.str();
655 wheelMeanHistos[wh] = ibooker.book2D(histoName.c_str(), histoName.c_str(), 14, 0, 14, 11, 0, 11);
656 wheelMeanHistos[wh]->setBinLabel(1,
"Sector1", 1);
657 wheelMeanHistos[wh]->setBinLabel(2,
"Sector2", 1);
658 wheelMeanHistos[wh]->setBinLabel(3,
"Sector3", 1);
659 wheelMeanHistos[wh]->setBinLabel(4,
"Sector4", 1);
660 wheelMeanHistos[wh]->setBinLabel(5,
"Sector5", 1);
661 wheelMeanHistos[wh]->setBinLabel(6,
"Sector6", 1);
662 wheelMeanHistos[wh]->setBinLabel(7,
"Sector7", 1);
663 wheelMeanHistos[wh]->setBinLabel(8,
"Sector8", 1);
664 wheelMeanHistos[wh]->setBinLabel(9,
"Sector9", 1);
665 wheelMeanHistos[wh]->setBinLabel(10,
"Sector10", 1);
666 wheelMeanHistos[wh]->setBinLabel(11,
"Sector11", 1);
667 wheelMeanHistos[wh]->setBinLabel(12,
"Sector12", 1);
668 wheelMeanHistos[wh]->setBinLabel(13,
"Sector13", 1);
669 wheelMeanHistos[wh]->setBinLabel(14,
"Sector14", 1);
670 wheelMeanHistos[wh]->setBinLabel(1,
"MB1_SL1", 2);
671 wheelMeanHistos[wh]->setBinLabel(2,
"MB1_SL2", 2);
672 wheelMeanHistos[wh]->setBinLabel(3,
"MB1_SL3", 2);
673 wheelMeanHistos[wh]->setBinLabel(4,
"MB2_SL1", 2);
674 wheelMeanHistos[wh]->setBinLabel(5,
"MB2_SL2", 2);
675 wheelMeanHistos[wh]->setBinLabel(6,
"MB2_SL3", 2);
676 wheelMeanHistos[wh]->setBinLabel(7,
"MB3_SL1", 2);
677 wheelMeanHistos[wh]->setBinLabel(8,
"MB3_SL2", 2);
678 wheelMeanHistos[wh]->setBinLabel(9,
"MB3_SL3", 2);
679 wheelMeanHistos[wh]->setBinLabel(10,
"MB4_SL1", 2);
680 wheelMeanHistos[wh]->setBinLabel(11,
"MB4_SL3", 2);
683 if (
parameters.getUntrackedParameter<
bool>(
"sigmaTest")) {
684 if (wheelSigmaHistos.find(wh) == wheelSigmaHistos.end()) {
685 string histoName =
"SigmaSummaryRes_testFailed_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3") +
688 wheelSigmaHistos[wh] = ibooker.book2D(histoName.c_str(), histoName.c_str(), 14, 0, 14, 11, 0, 11);
689 wheelSigmaHistos[wh]->setBinLabel(1,
"Sector1", 1);
690 wheelSigmaHistos[wh]->setBinLabel(2,
"Sector2", 1);
691 wheelSigmaHistos[wh]->setBinLabel(3,
"Sector3", 1);
692 wheelSigmaHistos[wh]->setBinLabel(4,
"Sector4", 1);
693 wheelSigmaHistos[wh]->setBinLabel(5,
"Sector5", 1);
694 wheelSigmaHistos[wh]->setBinLabel(6,
"Sector6", 1);
695 wheelSigmaHistos[wh]->setBinLabel(7,
"Sector7", 1);
696 wheelSigmaHistos[wh]->setBinLabel(8,
"Sector8", 1);
697 wheelSigmaHistos[wh]->setBinLabel(9,
"Sector9", 1);
698 wheelSigmaHistos[wh]->setBinLabel(10,
"Sector10", 1);
699 wheelSigmaHistos[wh]->setBinLabel(11,
"Sector11", 1);
700 wheelSigmaHistos[wh]->setBinLabel(12,
"Sector12", 1);
701 wheelSigmaHistos[wh]->setBinLabel(13,
"Sector13", 1);
702 wheelSigmaHistos[wh]->setBinLabel(14,
"Sector14", 1);
703 wheelSigmaHistos[wh]->setBinLabel(1,
"MB1_SL1", 2);
704 wheelSigmaHistos[wh]->setBinLabel(2,
"MB1_SL2", 2);
705 wheelSigmaHistos[wh]->setBinLabel(3,
"MB1_SL3", 2);
706 wheelSigmaHistos[wh]->setBinLabel(4,
"MB2_SL1", 2);
707 wheelSigmaHistos[wh]->setBinLabel(5,
"MB2_SL2", 2);
708 wheelSigmaHistos[wh]->setBinLabel(6,
"MB2_SL3", 2);
709 wheelSigmaHistos[wh]->setBinLabel(7,
"MB3_SL1", 2);
710 wheelSigmaHistos[wh]->setBinLabel(8,
"MB3_SL2", 2);
711 wheelSigmaHistos[wh]->setBinLabel(9,
"MB3_SL3", 2);
712 wheelSigmaHistos[wh]->setBinLabel(10,
"MB4_SL1", 2);
713 wheelSigmaHistos[wh]->setBinLabel(11,
"MB4_SL3", 2);
717 if (
parameters.getUntrackedParameter<
bool>(
"slopeTest")) {
718 if (wheelSlopeHistos.find(wh) == wheelSlopeHistos.end()) {
719 string histoName =
"SlopeSummaryRes_testFailed_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3") +
722 wheelSlopeHistos[wh] = ibooker.book2D(histoName.c_str(), histoName.c_str(), 14, 0, 14, 11, 0, 11);
723 wheelSlopeHistos[wh]->setBinLabel(1,
"Sector1", 1);
724 wheelSlopeHistos[wh]->setBinLabel(2,
"Sector2", 1);
725 wheelSlopeHistos[wh]->setBinLabel(3,
"Sector3", 1);
726 wheelSlopeHistos[wh]->setBinLabel(4,
"Sector4", 1);
727 wheelSlopeHistos[wh]->setBinLabel(5,
"Sector5", 1);
728 wheelSlopeHistos[wh]->setBinLabel(6,
"Sector6", 1);
729 wheelSlopeHistos[wh]->setBinLabel(7,
"Sector7", 1);
730 wheelSlopeHistos[wh]->setBinLabel(8,
"Sector8", 1);
731 wheelSlopeHistos[wh]->setBinLabel(9,
"Sector9", 1);
732 wheelSlopeHistos[wh]->setBinLabel(10,
"Sector10", 1);
733 wheelSlopeHistos[wh]->setBinLabel(11,
"Sector11", 1);
734 wheelSlopeHistos[wh]->setBinLabel(12,
"Sector12", 1);
735 wheelSlopeHistos[wh]->setBinLabel(13,
"Sector13", 1);
736 wheelSlopeHistos[wh]->setBinLabel(14,
"Sector14", 1);
737 wheelSlopeHistos[wh]->setBinLabel(1,
"MB1_SL1", 2);
738 wheelSlopeHistos[wh]->setBinLabel(2,
"MB1_SL2", 2);
739 wheelSlopeHistos[wh]->setBinLabel(3,
"MB1_SL3", 2);
740 wheelSlopeHistos[wh]->setBinLabel(4,
"MB2_SL1", 2);
741 wheelSlopeHistos[wh]->setBinLabel(5,
"MB2_SL2", 2);
742 wheelSlopeHistos[wh]->setBinLabel(6,
"MB2_SL3", 2);
743 wheelSlopeHistos[wh]->setBinLabel(7,
"MB3_SL1", 2);
744 wheelSlopeHistos[wh]->setBinLabel(8,
"MB3_SL2", 2);
745 wheelSlopeHistos[wh]->setBinLabel(9,
"MB3_SL3", 2);
746 wheelSlopeHistos[wh]->setBinLabel(10,
"MB4_SL1", 2);
747 wheelSlopeHistos[wh]->setBinLabel(11,
"MB4_SL3", 2);
std::map< int, MonitorElement * > wheelMeanHistos
std::map< int, MonitorElement * > wheelSigmaHistos
std::map< int, MonitorElement * > wheelSlopeHistos