507 if (region == 0 || region == 1) {
510 h->SetBins(834, 1, 2502, 122, 0, 122);
511 h->GetYaxis()->SetBinLabel(1,
"BI1");
512 h->GetYaxis()->SetBinLabel(19,
"BI2");
513 h->GetYaxis()->SetBinLabel(37,
"BI3");
514 h->GetYaxis()->SetBinLabel(55,
"BI4");
515 h->GetYaxis()->SetBinLabel(73,
"BI5");
516 h->GetYaxis()->SetBinLabel(91,
"BI6");
517 h->GetYaxis()->SetBinLabel(107,
"BI7");
518 h->GetYaxis()->SetBinLabel(115,
"BI8");
520 h->GetYaxis()->SetTickLength(0);
521 for (
int i = 0; i < 6; i++) {
522 TLine* l =
new TLine(1, 18 * i, 50, 18 * i);
523 h->GetListOfFunctions()->Add(l);
525 TLine* l2 =
new TLine(1, 106, 50, 106);
526 h->GetListOfFunctions()->Add(l2);
527 TLine* l3 =
new TLine(1, 114, 50, 114);
528 h->GetListOfFunctions()->Add(l3);
529 for (
int i = 1; i < 122; i++) {
530 if (i < 90 && (i % 18 == 11 || i % 18 == 16)) {
531 TLine* l =
new TLine(1, i, 10, i);
532 h->GetListOfFunctions()->Add(l);
534 TLine* l =
new TLine(1, i, 20, i);
535 h->GetListOfFunctions()->Add(l);
540 else if (layer == 1) {
541 h->SetBins(834, 1, 2502, 95, 0, 95);
545 h->GetYaxis()->SetBinLabel(1,
"BM1");
546 h->GetYaxis()->SetBinLabel(17,
"BM2");
547 h->GetYaxis()->SetBinLabel(33,
"BM3");
548 h->GetYaxis()->SetBinLabel(49,
"BM4");
549 h->GetYaxis()->SetBinLabel(65,
"BM5");
550 h->GetYaxis()->SetBinLabel(81,
"BM6");
552 h->GetYaxis()->SetTickLength(0);
553 for (
int i = 1; i < 95; i++) {
554 TLine* l =
new TLine(1, i, 20, i);
555 h->GetListOfFunctions()->Add(l);
557 TLine* l1 =
new TLine(1, 16, 50, 16);
558 h->GetListOfFunctions()->Add(l1);
559 TLine* l2 =
new TLine(1, 32, 50, 32);
560 h->GetListOfFunctions()->Add(l2);
561 TLine* l3 =
new TLine(1, 48, 50, 48);
562 h->GetListOfFunctions()->Add(l3);
563 TLine* l4 =
new TLine(1, 64, 50, 64);
564 h->GetListOfFunctions()->Add(l4);
565 TLine* l5 =
new TLine(1, 80, 50, 80);
566 h->GetListOfFunctions()->Add(l5);
569 else if (layer == 2 && region == 0) {
570 h->SetBins(834, 1, 2502, 118, 0, 118);
572 h->GetYaxis()->SetBinLabel(1,
"BO0");
573 h->GetYaxis()->SetBinLabel(4,
"BO1");
574 h->GetYaxis()->SetBinLabel(19,
"BO2");
575 h->GetYaxis()->SetBinLabel(35,
"BO3");
576 h->GetYaxis()->SetBinLabel(51,
"BO4");
577 h->GetYaxis()->SetBinLabel(67,
"BO5");
578 h->GetYaxis()->SetBinLabel(83,
"BO6");
579 h->GetYaxis()->SetBinLabel(99,
"BO7,8");
581 h->GetYaxis()->SetBinLabel(103,
"BE1");
582 h->GetYaxis()->SetBinLabel(111,
"BE2");
584 h->GetYaxis()->SetTickLength(0);
585 for (
int i = 1; i < 118; i++) {
586 TLine* l =
new TLine(1, i, 20, i);
587 h->GetListOfFunctions()->Add(l);
589 TLine* l1 =
new TLine(1, 2, 50, 2);
590 h->GetListOfFunctions()->Add(l1);
591 TLine* l2 =
new TLine(1, 18, 50, 18);
592 h->GetListOfFunctions()->Add(l2);
593 TLine* l3 =
new TLine(1, 34, 50, 34);
594 h->GetListOfFunctions()->Add(l3);
595 TLine* l4 =
new TLine(1, 50, 50, 50);
596 h->GetListOfFunctions()->Add(l4);
597 TLine* l5 =
new TLine(1, 66, 50, 66);
598 h->GetListOfFunctions()->Add(l5);
599 TLine* l6 =
new TLine(1, 82, 50, 82);
600 h->GetListOfFunctions()->Add(l6);
601 TLine* l7 =
new TLine(1, 98, 50, 98);
602 h->GetListOfFunctions()->Add(l7);
603 TLine* l8 =
new TLine(1, 100, 50, 100);
604 h->GetListOfFunctions()->Add(l8);
605 TLine* l9 =
new TLine(1, 102, 50, 102);
606 h->GetListOfFunctions()->Add(l9);
607 TLine* l10 =
new TLine(1, 110, 50, 110);
608 h->GetListOfFunctions()->Add(l10);
611 else if (layer == 2 && region == 1) {
612 h->SetBins(834, 1, 2502, 116, 0, 116);
614 h->GetYaxis()->SetBinLabel(1,
"BO1");
615 h->GetYaxis()->SetBinLabel(17,
"BO2");
616 h->GetYaxis()->SetBinLabel(33,
"BO3");
617 h->GetYaxis()->SetBinLabel(49,
"BO4");
618 h->GetYaxis()->SetBinLabel(65,
"BO5");
619 h->GetYaxis()->SetBinLabel(81,
"BO6");
620 h->GetYaxis()->SetBinLabel(97,
"BO7,8");
622 h->GetYaxis()->SetBinLabel(101,
"BE1");
623 h->GetYaxis()->SetBinLabel(109,
"BE2");
625 h->GetYaxis()->SetTickLength(0);
626 for (
int i = 1; i < 116; i++) {
627 TLine* l =
new TLine(1, i, 20, i);
628 h->GetListOfFunctions()->Add(l);
630 TLine* l1 =
new TLine(1, 16, 50, 16);
631 h->GetListOfFunctions()->Add(l1);
632 TLine* l2 =
new TLine(1, 32, 50, 32);
633 h->GetListOfFunctions()->Add(l2);
634 TLine* l3 =
new TLine(1, 48, 50, 48);
635 h->GetListOfFunctions()->Add(l3);
636 TLine* l4 =
new TLine(1, 64, 50, 64);
637 h->GetListOfFunctions()->Add(l4);
638 TLine* l5 =
new TLine(1, 80, 50, 80);
639 h->GetListOfFunctions()->Add(l5);
640 TLine* l6 =
new TLine(1, 96, 50, 96);
641 h->GetListOfFunctions()->Add(l6);
642 TLine* l7 =
new TLine(1, 98, 50, 98);
643 h->GetListOfFunctions()->Add(l7);
644 TLine* l8 =
new TLine(1, 100, 50, 100);
645 h->GetListOfFunctions()->Add(l8);
646 TLine* l9 =
new TLine(1, 108, 50, 108);
647 h->GetListOfFunctions()->Add(l9);
653 h->SetBins(834, 1, 2502, 50, 0, 50);
655 h->GetYaxis()->SetBinLabel(1,
"EI1");
656 h->GetYaxis()->SetBinLabel(17,
"EI2");
657 h->GetYaxis()->SetBinLabel(33,
"EI3");
658 h->GetYaxis()->SetBinLabel(41,
"EI4");
659 h->GetYaxis()->SetBinLabel(49,
"EI5");
661 h->GetYaxis()->SetTickLength(0);
662 for (
int i = 1; i < 50; i++) {
663 TLine* l =
new TLine(1, i, 20, i);
664 h->GetListOfFunctions()->Add(l);
666 TLine* l1 =
new TLine(1, 16, 50, 16);
667 h->GetListOfFunctions()->Add(l1);
668 TLine* l2 =
new TLine(1, 32, 50, 32);
669 h->GetListOfFunctions()->Add(l2);
670 TLine* l3 =
new TLine(1, 40, 50, 40);
671 h->GetListOfFunctions()->Add(l3);
672 TLine* l4 =
new TLine(1, 48, 50, 48);
673 h->GetListOfFunctions()->Add(l4);
676 else if (layer == 1) {
677 h->SetBins(834, 1, 2502, 80, 0, 80);
679 h->GetYaxis()->SetBinLabel(1,
"EM1");
680 h->GetYaxis()->SetBinLabel(17,
"EM2");
681 h->GetYaxis()->SetBinLabel(33,
"EM3");
682 h->GetYaxis()->SetBinLabel(49,
"EM4");
683 h->GetYaxis()->SetBinLabel(65,
"EM5");
685 h->GetYaxis()->SetTickLength(0);
686 for (
int i = 1; i < 80; i++) {
687 TLine* l =
new TLine(1, i, 20, i);
688 h->GetListOfFunctions()->Add(l);
690 TLine* l1 =
new TLine(1, 16, 50, 16);
691 h->GetListOfFunctions()->Add(l1);
692 TLine* l2 =
new TLine(1, 32, 50, 32);
693 h->GetListOfFunctions()->Add(l2);
694 TLine* l3 =
new TLine(1, 48, 50, 48);
695 h->GetListOfFunctions()->Add(l3);
696 TLine* l4 =
new TLine(1, 64, 50, 64);
697 h->GetListOfFunctions()->Add(l4);
700 else if (layer == 2) {
703 h->SetBins(834, 1, 2502, 103, 0, 103);
705 h->GetYaxis()->SetBinLabel(1,
"EO1");
706 h->GetYaxis()->SetBinLabel(17,
"EO2");
707 h->GetYaxis()->SetBinLabel(33,
"EO3");
708 h->GetYaxis()->SetBinLabel(49,
"EO4");
709 h->GetYaxis()->SetBinLabel(65,
"EO5");
710 h->GetYaxis()->SetBinLabel(81,
"EO6");
711 h->GetYaxis()->SetBinLabel(97,
"EE1,2");
713 h->GetYaxis()->SetTickLength(0);
714 for (
int i = 1; i < 103; i++) {
715 TLine* l =
new TLine(1, i, 20, i);
716 h->GetListOfFunctions()->Add(l);
718 TLine* l1 =
new TLine(1, 16, 50, 16);
719 h->GetListOfFunctions()->Add(l1);
720 TLine* l2 =
new TLine(1, 32, 50, 32);
721 h->GetListOfFunctions()->Add(l2);
722 TLine* l3 =
new TLine(1, 48, 50, 48);
723 h->GetListOfFunctions()->Add(l3);
724 TLine* l4 =
new TLine(1, 64, 50, 64);
725 h->GetListOfFunctions()->Add(l4);
726 TLine* l5 =
new TLine(1, 80, 50, 80);
727 h->GetListOfFunctions()->Add(l5);
728 TLine* l6 =
new TLine(1, 96, 50, 96);
729 h->GetListOfFunctions()->Add(l6);
730 TLine* l7 =
new TLine(1, 100, 50, 100);
731 h->GetListOfFunctions()->Add(l7);
732 }
else if (region == 3) {
733 h->SetBins(834, 1, 2502, 127, 0, 127);
735 h->GetYaxis()->SetBinLabel(1,
"EO1");
736 h->GetYaxis()->SetBinLabel(17,
"EO2");
737 h->GetYaxis()->SetBinLabel(33,
"EO3");
738 h->GetYaxis()->SetBinLabel(49,
"EO4");
739 h->GetYaxis()->SetBinLabel(65,
"EO5");
740 h->GetYaxis()->SetBinLabel(81,
"EO6");
741 h->GetYaxis()->SetBinLabel(97,
"EE1");
742 h->GetYaxis()->SetBinLabel(113,
"EE2");
744 h->GetYaxis()->SetTickLength(0);
745 for (
int i = 1; i < 127; i++) {
746 TLine* l =
new TLine(1, i, 20, i);
747 h->GetListOfFunctions()->Add(l);
749 TLine* l1 =
new TLine(1, 16, 50, 16);
750 h->GetListOfFunctions()->Add(l1);
751 TLine* l2 =
new TLine(1, 32, 50, 32);
752 h->GetListOfFunctions()->Add(l2);
753 TLine* l3 =
new TLine(1, 48, 50, 48);
754 h->GetListOfFunctions()->Add(l3);
755 TLine* l4 =
new TLine(1, 64, 50, 64);
756 h->GetListOfFunctions()->Add(l4);
757 TLine* l5 =
new TLine(1, 80, 50, 80);
758 h->GetListOfFunctions()->Add(l5);
759 TLine* l6 =
new TLine(1, 96, 50, 96);
760 h->GetListOfFunctions()->Add(l6);
761 TLine* l7 =
new TLine(1, 112, 50, 112);
762 h->GetListOfFunctions()->Add(l7);
767 return StatusCode::SUCCESS;
771 if (region == 0 || region == 1) {
774 h->SetBins(834, 1, 2502, 73, 0, 73);
775 h->GetYaxis()->SetBinLabel(1,
"BIL");
776 h->GetYaxis()->SetBinLabel(13,
"BIS");
777 h->GetYaxis()->SetBinLabel(25,
"BME");
778 h->GetYaxis()->SetBinLabel(26,
"BML");
779 h->GetYaxis()->SetBinLabel(38,
"BMS");
780 h->GetYaxis()->SetBinLabel(50,
"BOL");
781 h->GetYaxis()->SetBinLabel(62,
"BOS");
783 h->GetYaxis()->SetTickLength(0);
784 for (
int i = 0; i < 73; i++) {
785 TLine* l =
new TLine(1, i, 20, i);
786 h->GetListOfFunctions()->Add(l);
788 TLine* l2 =
new TLine(1, 0, 50, 0);
789 h->GetListOfFunctions()->Add(l2);
790 TLine* l3 =
new TLine(1, 12, 50, 12);
791 h->GetListOfFunctions()->Add(l3);
792 TLine* l4 =
new TLine(1, 24, 50, 24);
793 h->GetListOfFunctions()->Add(l4);
794 TLine* l5 =
new TLine(1, 25, 50, 25);
795 h->GetListOfFunctions()->Add(l5);
796 TLine* l6 =
new TLine(1, 37, 50, 37);
797 h->GetListOfFunctions()->Add(l6);
798 TLine* l8 =
new TLine(1, 49, 50, 49);
799 h->GetListOfFunctions()->Add(l8);
800 TLine* l9 =
new TLine(1, 61, 50, 61);
801 h->GetListOfFunctions()->Add(l9);
804 else if (crate == 1) {
805 h->SetBins(834, 1, 2502, 73, 0, 73);
807 h->GetYaxis()->SetBinLabel(1,
"BIL");
808 h->GetYaxis()->SetBinLabel(13,
"BIS");
809 h->GetYaxis()->SetBinLabel(25,
"BME");
810 h->GetYaxis()->SetBinLabel(37,
"BMS");
811 h->GetYaxis()->SetBinLabel(49,
"BOL");
812 h->GetYaxis()->SetBinLabel(61,
"BOS");
814 h->GetYaxis()->SetTickLength(0);
815 for (
int i = 1; i < 73; i++) {
816 TLine* l =
new TLine(1, i, 20, i);
817 h->GetListOfFunctions()->Add(l);
819 TLine* l1 =
new TLine(1, 12, 50, 12);
820 h->GetListOfFunctions()->Add(l1);
821 TLine* l2 =
new TLine(1, 24, 50, 24);
822 h->GetListOfFunctions()->Add(l2);
823 TLine* l3 =
new TLine(1, 36, 50, 36);
824 h->GetListOfFunctions()->Add(l3);
825 TLine* l4 =
new TLine(1, 48, 50, 48);
826 h->GetListOfFunctions()->Add(l4);
827 TLine* l6 =
new TLine(1, 60, 50, 60);
828 h->GetListOfFunctions()->Add(l6);
830 }
else if (crate == 2) {
832 h->SetBins(834, 1, 2502, 80, 0, 80);
833 h->GetYaxis()->SetBinLabel(1,
"BIL");
834 h->GetYaxis()->SetBinLabel(7,
"BIM");
835 h->GetYaxis()->SetBinLabel(12,
"BIR");
836 h->GetYaxis()->SetBinLabel(18,
"BIS");
837 h->GetYaxis()->SetBinLabel(30,
"BMF");
838 h->GetYaxis()->SetBinLabel(33,
"BMG");
839 h->GetYaxis()->SetBinLabel(36,
"BML");
840 h->GetYaxis()->SetBinLabel(48,
"BMS");
841 h->GetYaxis()->SetBinLabel(54,
"BOF");
842 h->GetYaxis()->SetBinLabel(58,
"BOG");
844 h->GetYaxis()->SetBinLabel(63,
"BOL");
845 h->GetYaxis()->SetBinLabel(75,
"BOS");
846 }
else if (region == 1) {
847 h->GetYaxis()->SetBinLabel(62,
"BOL");
848 h->GetYaxis()->SetBinLabel(74,
"BOS");
851 h->GetYaxis()->SetTickLength(0);
852 for (
int i = 0; i < 80; i++) {
853 TLine* l =
new TLine(1, i, 20, i);
854 h->GetListOfFunctions()->Add(l);
856 TLine* l2 =
new TLine(1, 6, 50, 6);
857 h->GetListOfFunctions()->Add(l2);
858 TLine* l3 =
new TLine(1, 11, 50, 11);
859 h->GetListOfFunctions()->Add(l3);
860 TLine* l3b =
new TLine(1, 17, 50, 17);
861 h->GetListOfFunctions()->Add(l3b);
864 TLine* l5 =
new TLine(1, 29, 50, 29);
865 h->GetListOfFunctions()->Add(l5);
866 TLine* l6 =
new TLine(1, 32, 50, 32);
867 h->GetListOfFunctions()->Add(l6);
868 TLine* l7 =
new TLine(1, 35, 50, 35);
869 h->GetListOfFunctions()->Add(l7);
870 TLine* l8 =
new TLine(1, 47, 50, 47);
871 h->GetListOfFunctions()->Add(l8);
872 TLine* l9 =
new TLine(1, 53, 50, 53);
873 h->GetListOfFunctions()->Add(l9);
874 TLine* l9b =
new TLine(1, 57, 50, 57);
875 h->GetListOfFunctions()->Add(l9b);
877 TLine* l10 =
new TLine(1, 62, 50, 62);
878 h->GetListOfFunctions()->Add(l10);
879 TLine* l11 =
new TLine(1, 74, 50, 74);
880 h->GetListOfFunctions()->Add(l11);
881 }
else if (region == 1) {
882 TLine* l10 =
new TLine(1, 61, 50, 61);
883 h->GetListOfFunctions()->Add(l10);
884 TLine* l11 =
new TLine(1, 73, 50, 73);
885 h->GetListOfFunctions()->Add(l11);
889 else if (crate == 3) {
891 h->SetBins(834, 1, 2502, 79, 0, 79);
892 h->GetYaxis()->SetBinLabel(1,
"BIL");
893 h->GetYaxis()->SetBinLabel(7,
"BIM");
894 h->GetYaxis()->SetBinLabel(12,
"BIR");
895 h->GetYaxis()->SetBinLabel(18,
"BIS");
896 h->GetYaxis()->SetBinLabel(30,
"BMF");
897 h->GetYaxis()->SetBinLabel(33,
"BMG");
898 h->GetYaxis()->SetBinLabel(36,
"BML");
899 h->GetYaxis()->SetBinLabel(47,
"BMS");
900 h->GetYaxis()->SetBinLabel(53,
"BOF");
901 h->GetYaxis()->SetBinLabel(57,
"BOG");
903 h->GetYaxis()->SetBinLabel(62,
"BOL");
904 h->GetYaxis()->SetBinLabel(75,
"BOS");
905 }
else if (region == 1) {
906 h->GetYaxis()->SetBinLabel(61,
"BOL");
907 h->GetYaxis()->SetBinLabel(74,
"BOS");
911 h->GetYaxis()->SetTickLength(0);
912 for (
int i = 0; i < 79; i++) {
913 TLine* l =
new TLine(1, i, 20, i);
914 h->GetListOfFunctions()->Add(l);
916 TLine* l2 =
new TLine(1, 6, 50, 6);
917 h->GetListOfFunctions()->Add(l2);
918 TLine* l3 =
new TLine(1, 11, 50, 11);
919 h->GetListOfFunctions()->Add(l3);
920 TLine* l3b =
new TLine(1, 17, 50, 17);
921 h->GetListOfFunctions()->Add(l3b);
924 TLine* l5 =
new TLine(1, 29, 50, 29);
925 h->GetListOfFunctions()->Add(l5);
926 TLine* l6 =
new TLine(1, 32, 50, 32);
927 h->GetListOfFunctions()->Add(l6);
928 TLine* l7 =
new TLine(1, 35, 50, 35);
929 h->GetListOfFunctions()->Add(l7);
930 TLine* l8 =
new TLine(1, 46, 50, 46);
931 h->GetListOfFunctions()->Add(l8);
932 TLine* l9 =
new TLine(1, 52, 50, 52);
933 h->GetListOfFunctions()->Add(l9);
934 TLine* l9b =
new TLine(1, 56, 50, 56);
935 h->GetListOfFunctions()->Add(l9b);
937 TLine* l10 =
new TLine(1, 61, 50, 61);
938 h->GetListOfFunctions()->Add(l10);
939 TLine* l11 =
new TLine(1, 74, 50, 74);
940 h->GetListOfFunctions()->Add(l11);
941 }
else if (region == 1) {
942 TLine* l10 =
new TLine(1, 60, 50, 60);
943 h->GetListOfFunctions()->Add(l10);
944 TLine* l11 =
new TLine(1, 73, 50, 73);
945 h->GetListOfFunctions()->Add(l11);
951 if (crate == 0 || crate == 2) {
952 h->SetBins(834, 1, 2502, 73, 0, 73);
954 h->GetYaxis()->SetBinLabel(1,
"BEE");
955 h->GetYaxis()->SetBinLabel(5,
"BIS");
956 h->GetYaxis()->SetBinLabel(9,
"EEL");
957 h->GetYaxis()->SetBinLabel(13,
"EES");
958 h->GetYaxis()->SetBinLabel(17,
"EIL");
959 h->GetYaxis()->SetBinLabel(26,
"EIS");
960 h->GetYaxis()->SetBinLabel(30,
"EML");
961 h->GetYaxis()->SetBinLabel(40,
"EMS");
962 h->GetYaxis()->SetBinLabel(50,
"EOL");
963 h->GetYaxis()->SetBinLabel(62,
"EOS");
965 h->GetYaxis()->SetTickLength(0);
966 for (
int i = 1; i < 73; i++) {
967 TLine* l =
new TLine(1, i, 20, i);
968 h->GetListOfFunctions()->Add(l);
970 TLine* l2 =
new TLine(1, 4, 50, 4);
971 h->GetListOfFunctions()->Add(l2);
972 TLine* l3 =
new TLine(1, 8, 50, 8);
973 h->GetListOfFunctions()->Add(l3);
974 TLine* l4 =
new TLine(1, 12, 50, 12);
975 h->GetListOfFunctions()->Add(l4);
976 TLine* l5 =
new TLine(1, 16, 50, 16);
977 h->GetListOfFunctions()->Add(l5);
978 TLine* l6 =
new TLine(1, 25, 50, 25);
979 h->GetListOfFunctions()->Add(l6);
980 TLine* l7 =
new TLine(1, 29, 50, 29);
981 h->GetListOfFunctions()->Add(l7);
982 TLine* l8 =
new TLine(1, 39, 50, 39);
983 h->GetListOfFunctions()->Add(l8);
984 TLine* l9 =
new TLine(1, 49, 50, 49);
985 h->GetListOfFunctions()->Add(l9);
986 TLine* l10 =
new TLine(1, 61, 50, 61);
987 h->GetListOfFunctions()->Add(l10);
988 }
else if (crate == 1) {
989 h->SetBins(834, 1, 2502, 71, 0, 71);
991 h->GetYaxis()->SetBinLabel(1,
"BEE");
992 h->GetYaxis()->SetBinLabel(5,
"BIS");
993 h->GetYaxis()->SetBinLabel(9,
"EEL");
994 h->GetYaxis()->SetBinLabel(12,
"EES");
995 h->GetYaxis()->SetBinLabel(16,
"EIL");
996 h->GetYaxis()->SetBinLabel(24,
"EIS");
997 h->GetYaxis()->SetBinLabel(28,
"EML");
998 h->GetYaxis()->SetBinLabel(38,
"EMS");
999 h->GetYaxis()->SetBinLabel(48,
"EOL");
1000 h->GetYaxis()->SetBinLabel(60,
"EOS");
1002 h->GetYaxis()->SetTickLength(0);
1003 for (
int i = 1; i < 71; i++) {
1004 TLine* l =
new TLine(1, i, 20, i);
1005 h->GetListOfFunctions()->Add(l);
1007 TLine* l2 =
new TLine(1, 4, 50, 4);
1008 h->GetListOfFunctions()->Add(l2);
1009 TLine* l3 =
new TLine(1, 8, 50, 8);
1010 h->GetListOfFunctions()->Add(l3);
1011 TLine* l4 =
new TLine(1, 11, 50, 11);
1012 h->GetListOfFunctions()->Add(l4);
1013 TLine* l5 =
new TLine(1, 15, 50, 15);
1014 h->GetListOfFunctions()->Add(l5);
1015 TLine* l6 =
new TLine(1, 23, 50, 23);
1016 h->GetListOfFunctions()->Add(l6);
1017 TLine* l7 =
new TLine(1, 27, 50, 27);
1018 h->GetListOfFunctions()->Add(l7);
1019 TLine* l8 =
new TLine(1, 37, 50, 37);
1020 h->GetListOfFunctions()->Add(l8);
1021 TLine* l9 =
new TLine(1, 47, 50, 47);
1022 h->GetListOfFunctions()->Add(l9);
1023 TLine* l10 =
new TLine(1, 59, 50, 59);
1024 h->GetListOfFunctions()->Add(l10);
1025 }
else if (crate == 3) {
1026 h->SetBins(834, 1, 2502, 72, 0, 72);
1028 h->GetYaxis()->SetBinLabel(1,
"BEE");
1029 h->GetYaxis()->SetBinLabel(5,
"BIS");
1030 h->GetYaxis()->SetBinLabel(9,
"EEL");
1031 h->GetYaxis()->SetBinLabel(13,
"EES");
1032 h->GetYaxis()->SetBinLabel(17,
"EIL");
1033 h->GetYaxis()->SetBinLabel(25,
"EIS");
1034 h->GetYaxis()->SetBinLabel(29,
"EML");
1035 h->GetYaxis()->SetBinLabel(39,
"EMS");
1036 h->GetYaxis()->SetBinLabel(49,
"EOL");
1037 h->GetYaxis()->SetBinLabel(61,
"EOS");
1039 h->GetYaxis()->SetTickLength(0);
1040 for (
int i = 1; i < 72; i++) {
1041 TLine* l =
new TLine(1, i, 20, i);
1042 h->GetListOfFunctions()->Add(l);
1044 TLine* l2 =
new TLine(1, 4, 50, 4);
1045 h->GetListOfFunctions()->Add(l2);
1046 TLine* l3 =
new TLine(1, 8, 50, 8);
1047 h->GetListOfFunctions()->Add(l3);
1048 TLine* l4 =
new TLine(1, 12, 50, 12);
1049 h->GetListOfFunctions()->Add(l4);
1050 TLine* l5 =
new TLine(1, 16, 50, 16);
1051 h->GetListOfFunctions()->Add(l5);
1052 TLine* l6 =
new TLine(1, 24, 50, 24);
1053 h->GetListOfFunctions()->Add(l6);
1054 TLine* l7 =
new TLine(1, 28, 50, 28);
1055 h->GetListOfFunctions()->Add(l7);
1056 TLine* l8 =
new TLine(1, 38, 50, 38);
1057 h->GetListOfFunctions()->Add(l8);
1058 TLine* l9 =
new TLine(1, 48, 50, 48);
1059 h->GetListOfFunctions()->Add(l9);
1060 TLine* l10 =
new TLine(1, 60, 50, 60);
1061 h->GetListOfFunctions()->Add(l10);
1065 return StatusCode::SUCCESS;