587 string histoName =
"MeanSummaryRes_testFailedByAtLeastBadSL_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3");
591 wheelMeanHistos[3]->setBinLabel(1,
"Sector1",1);
592 wheelMeanHistos[3]->setBinLabel(2,
"Sector2",1);
593 wheelMeanHistos[3]->setBinLabel(3,
"Sector3",1);
594 wheelMeanHistos[3]->setBinLabel(4,
"Sector4",1);
595 wheelMeanHistos[3]->setBinLabel(5,
"Sector5",1);
596 wheelMeanHistos[3]->setBinLabel(6,
"Sector6",1);
597 wheelMeanHistos[3]->setBinLabel(7,
"Sector7",1);
598 wheelMeanHistos[3]->setBinLabel(8,
"Sector8",1);
599 wheelMeanHistos[3]->setBinLabel(9,
"Sector9",1);
600 wheelMeanHistos[3]->setBinLabel(10,
"Sector10",1);
601 wheelMeanHistos[3]->setBinLabel(11,
"Sector11",1);
602 wheelMeanHistos[3]->setBinLabel(12,
"Sector12",1);
603 wheelMeanHistos[3]->setBinLabel(13,
"Sector13",1);
604 wheelMeanHistos[3]->setBinLabel(14,
"Sector14",1);
605 wheelMeanHistos[3]->setBinLabel(1,
"Wheel-2",2);
606 wheelMeanHistos[3]->setBinLabel(2,
"Wheel-1",2);
607 wheelMeanHistos[3]->setBinLabel(3,
"Wheel0",2);
608 wheelMeanHistos[3]->setBinLabel(4,
"Wheel+1",2);
609 wheelMeanHistos[3]->setBinLabel(5,
"Wheel+2",2);
612 if(
parameters.getUntrackedParameter<
bool>(
"sigmaTest")){
614 string histoName =
"SigmaSummaryRes_testFailedByAtLeastBadSL_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3");
618 wheelSigmaHistos[3]->setBinLabel(1,
"Sector1",1);
619 wheelSigmaHistos[3]->setBinLabel(2,
"Sector2",1);
620 wheelSigmaHistos[3]->setBinLabel(3,
"Sector3",1);
621 wheelSigmaHistos[3]->setBinLabel(4,
"Sector4",1);
622 wheelSigmaHistos[3]->setBinLabel(5,
"Sector5",1);
623 wheelSigmaHistos[3]->setBinLabel(6,
"Sector6",1);
624 wheelSigmaHistos[3]->setBinLabel(7,
"Sector7",1);
625 wheelSigmaHistos[3]->setBinLabel(8,
"Sector8",1);
626 wheelSigmaHistos[3]->setBinLabel(9,
"Sector9",1);
627 wheelSigmaHistos[3]->setBinLabel(10,
"Sector10",1);
628 wheelSigmaHistos[3]->setBinLabel(11,
"Sector11",1);
629 wheelSigmaHistos[3]->setBinLabel(12,
"Sector12",1);
630 wheelSigmaHistos[3]->setBinLabel(13,
"Sector13",1);
631 wheelSigmaHistos[3]->setBinLabel(14,
"Sector14",1);
632 wheelSigmaHistos[3]->setBinLabel(1,
"Wheel-2",2);
633 wheelSigmaHistos[3]->setBinLabel(2,
"Wheel-1",2);
634 wheelSigmaHistos[3]->setBinLabel(3,
"Wheel0",2);
635 wheelSigmaHistos[3]->setBinLabel(4,
"Wheel+1",2);
636 wheelSigmaHistos[3]->setBinLabel(5,
"Wheel+2",2);
640 if(
parameters.getUntrackedParameter<
bool>(
"slopeTest")){
642 string histoName =
"SlopeSummaryRes_testFailedByAtLeastBadSL_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3");
646 wheelSlopeHistos[3]->setBinLabel(1,
"Sector1",1);
647 wheelSlopeHistos[3]->setBinLabel(2,
"Sector2",1);
648 wheelSlopeHistos[3]->setBinLabel(3,
"Sector3",1);
649 wheelSlopeHistos[3]->setBinLabel(4,
"Sector4",1);
650 wheelSlopeHistos[3]->setBinLabel(5,
"Sector5",1);
651 wheelSlopeHistos[3]->setBinLabel(6,
"Sector6",1);
652 wheelSlopeHistos[3]->setBinLabel(7,
"Sector7",1);
653 wheelSlopeHistos[3]->setBinLabel(8,
"Sector8",1);
654 wheelSlopeHistos[3]->setBinLabel(9,
"Sector9",1);
655 wheelSlopeHistos[3]->setBinLabel(10,
"Sector10",1);
656 wheelSlopeHistos[3]->setBinLabel(11,
"Sector11",1);
657 wheelSlopeHistos[3]->setBinLabel(12,
"Sector12",1);
658 wheelSlopeHistos[3]->setBinLabel(13,
"Sector13",1);
659 wheelSlopeHistos[3]->setBinLabel(14,
"Sector14",1);
660 wheelSlopeHistos[3]->setBinLabel(1,
"Wheel-2",2);
661 wheelSlopeHistos[3]->setBinLabel(2,
"Wheel-1",2);
662 wheelSlopeHistos[3]->setBinLabel(3,
"Wheel0",2);
663 wheelSlopeHistos[3]->setBinLabel(4,
"Wheel+1",2);
664 wheelSlopeHistos[3]->setBinLabel(5,
"Wheel+2",2);
668 stringstream
wheel; wheel <<wh;
670 if(wheelMeanHistos.find(wh) == wheelMeanHistos.end()){
671 string histoName =
"MeanSummaryRes_testFailed_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3")
672 +
"_W" + wheel.str();
674 wheelMeanHistos[wh] = ibooker.
book2D(histoName.c_str(),histoName.c_str(),14,0,14,11,0,11);
676 wheelMeanHistos[wh]->setBinLabel(2,
"Sector2",1);
677 wheelMeanHistos[wh]->setBinLabel(3,
"Sector3",1);
678 wheelMeanHistos[wh]->setBinLabel(4,
"Sector4",1);
679 wheelMeanHistos[wh]->setBinLabel(5,
"Sector5",1);
680 wheelMeanHistos[wh]->setBinLabel(6,
"Sector6",1);
681 wheelMeanHistos[wh]->setBinLabel(7,
"Sector7",1);
682 wheelMeanHistos[wh]->setBinLabel(8,
"Sector8",1);
683 wheelMeanHistos[wh]->setBinLabel(9,
"Sector9",1);
684 wheelMeanHistos[wh]->setBinLabel(10,
"Sector10",1);
685 wheelMeanHistos[wh]->setBinLabel(11,
"Sector11",1);
686 wheelMeanHistos[wh]->setBinLabel(12,
"Sector12",1);
687 wheelMeanHistos[wh]->setBinLabel(13,
"Sector13",1);
688 wheelMeanHistos[wh]->setBinLabel(14,
"Sector14",1);
689 wheelMeanHistos[wh]->setBinLabel(1,
"MB1_SL1",2);
690 wheelMeanHistos[wh]->setBinLabel(2,
"MB1_SL2",2);
691 wheelMeanHistos[wh]->setBinLabel(3,
"MB1_SL3",2);
692 wheelMeanHistos[wh]->setBinLabel(4,
"MB2_SL1",2);
693 wheelMeanHistos[wh]->setBinLabel(5,
"MB2_SL2",2);
694 wheelMeanHistos[wh]->setBinLabel(6,
"MB2_SL3",2);
695 wheelMeanHistos[wh]->setBinLabel(7,
"MB3_SL1",2);
696 wheelMeanHistos[wh]->setBinLabel(8,
"MB3_SL2",2);
697 wheelMeanHistos[wh]->setBinLabel(9,
"MB3_SL3",2);
698 wheelMeanHistos[wh]->setBinLabel(10,
"MB4_SL1",2);
699 wheelMeanHistos[wh]->setBinLabel(11,
"MB4_SL3",2);
702 if(
parameters.getUntrackedParameter<
bool>(
"sigmaTest")){
703 if(wheelSigmaHistos.find(wh) == wheelSigmaHistos.end()){
704 string histoName =
"SigmaSummaryRes_testFailed_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3")
705 +
"_W" + wheel.str();
707 wheelSigmaHistos[wh] = ibooker.
book2D(histoName.c_str(),histoName.c_str(),14,0,14,11,0,11);
709 wheelSigmaHistos[wh]->setBinLabel(2,
"Sector2",1);
710 wheelSigmaHistos[wh]->setBinLabel(3,
"Sector3",1);
711 wheelSigmaHistos[wh]->setBinLabel(4,
"Sector4",1);
712 wheelSigmaHistos[wh]->setBinLabel(5,
"Sector5",1);
713 wheelSigmaHistos[wh]->setBinLabel(6,
"Sector6",1);
714 wheelSigmaHistos[wh]->setBinLabel(7,
"Sector7",1);
715 wheelSigmaHistos[wh]->setBinLabel(8,
"Sector8",1);
716 wheelSigmaHistos[wh]->setBinLabel(9,
"Sector9",1);
717 wheelSigmaHistos[wh]->setBinLabel(10,
"Sector10",1);
718 wheelSigmaHistos[wh]->setBinLabel(11,
"Sector11",1);
719 wheelSigmaHistos[wh]->setBinLabel(12,
"Sector12",1);
720 wheelSigmaHistos[wh]->setBinLabel(13,
"Sector13",1);
721 wheelSigmaHistos[wh]->setBinLabel(14,
"Sector14",1);
722 wheelSigmaHistos[wh]->setBinLabel(1,
"MB1_SL1",2);
723 wheelSigmaHistos[wh]->setBinLabel(2,
"MB1_SL2",2);
724 wheelSigmaHistos[wh]->setBinLabel(3,
"MB1_SL3",2);
725 wheelSigmaHistos[wh]->setBinLabel(4,
"MB2_SL1",2);
726 wheelSigmaHistos[wh]->setBinLabel(5,
"MB2_SL2",2);
727 wheelSigmaHistos[wh]->setBinLabel(6,
"MB2_SL3",2);
728 wheelSigmaHistos[wh]->setBinLabel(7,
"MB3_SL1",2);
729 wheelSigmaHistos[wh]->setBinLabel(8,
"MB3_SL2",2);
730 wheelSigmaHistos[wh]->setBinLabel(9,
"MB3_SL3",2);
731 wheelSigmaHistos[wh]->setBinLabel(10,
"MB4_SL1",2);
732 wheelSigmaHistos[wh]->setBinLabel(11,
"MB4_SL3",2);
736 if(
parameters.getUntrackedParameter<
bool>(
"slopeTest")){
737 if(wheelSlopeHistos.find(wh) == wheelSlopeHistos.end()){
738 string histoName =
"SlopeSummaryRes_testFailed_" +
parameters.getUntrackedParameter<
string>(
"STEP",
"STEP3")
739 +
"_W" + wheel.str();
741 wheelSlopeHistos[wh] = ibooker.
book2D(histoName.c_str(),histoName.c_str(),14,0,14,11,0,11);
743 wheelSlopeHistos[wh]->setBinLabel(2,
"Sector2",1);
744 wheelSlopeHistos[wh]->setBinLabel(3,
"Sector3",1);
745 wheelSlopeHistos[wh]->setBinLabel(4,
"Sector4",1);
746 wheelSlopeHistos[wh]->setBinLabel(5,
"Sector5",1);
747 wheelSlopeHistos[wh]->setBinLabel(6,
"Sector6",1);
748 wheelSlopeHistos[wh]->setBinLabel(7,
"Sector7",1);
749 wheelSlopeHistos[wh]->setBinLabel(8,
"Sector8",1);
750 wheelSlopeHistos[wh]->setBinLabel(9,
"Sector9",1);
751 wheelSlopeHistos[wh]->setBinLabel(10,
"Sector10",1);
752 wheelSlopeHistos[wh]->setBinLabel(11,
"Sector11",1);
753 wheelSlopeHistos[wh]->setBinLabel(12,
"Sector12",1);
754 wheelSlopeHistos[wh]->setBinLabel(13,
"Sector13",1);
755 wheelSlopeHistos[wh]->setBinLabel(14,
"Sector14",1);
756 wheelSlopeHistos[wh]->setBinLabel(1,
"MB1_SL1",2);
757 wheelSlopeHistos[wh]->setBinLabel(2,
"MB1_SL2",2);
758 wheelSlopeHistos[wh]->setBinLabel(3,
"MB1_SL3",2);
759 wheelSlopeHistos[wh]->setBinLabel(4,
"MB2_SL1",2);
760 wheelSlopeHistos[wh]->setBinLabel(5,
"MB2_SL2",2);
761 wheelSlopeHistos[wh]->setBinLabel(6,
"MB2_SL3",2);
762 wheelSlopeHistos[wh]->setBinLabel(7,
"MB3_SL1",2);
763 wheelSlopeHistos[wh]->setBinLabel(8,
"MB3_SL2",2);
764 wheelSlopeHistos[wh]->setBinLabel(9,
"MB3_SL3",2);
765 wheelSlopeHistos[wh]->setBinLabel(10,
"MB4_SL1",2);
766 wheelSlopeHistos[wh]->setBinLabel(11,
"MB4_SL3",2);
std::map< int, MonitorElement * > wheelSlopeHistos
std::map< int, MonitorElement * > wheelMeanHistos
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
std::map< int, MonitorElement * > wheelSigmaHistos
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)