39 ++itDigiProducersList) {
48 DSViter != theStripDigis->end();
50 DetId theDetUnitID(DSViter->id);
54 dynamic_cast<const StripGeomDetUnit *>(theTracker.
idToDet(theDetUnitID));
67 int theTOBStereoDet = 0;
107 if (thePart ==
"TIB" && theTIBLayer == 4) {
150 }
else if (thePart ==
"TOB" && theTOBLayer == 1) {
193 }
else if (thePart ==
"TEC+" || thePart ==
"TEC-") {
279 if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 0)) {
280 if (theTECWheel == 1) {
282 }
else if (theTECWheel == 2) {
284 }
else if (theTECWheel == 3) {
286 }
else if (theTECWheel == 4) {
288 }
else if (theTECWheel == 5) {
290 }
else if (theTECWheel == 6) {
292 }
else if (theTECWheel == 7) {
294 }
else if (theTECWheel == 8) {
296 }
else if (theTECWheel == 9) {
303 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 1)) {
304 if (theTECWheel == 1) {
306 }
else if (theTECWheel == 2) {
308 }
else if (theTECWheel == 3) {
310 }
else if (theTECWheel == 4) {
312 }
else if (theTECWheel == 5) {
314 }
else if (theTECWheel == 6) {
316 }
else if (theTECWheel == 7) {
318 }
else if (theTECWheel == 8) {
320 }
else if (theTECWheel == 9) {
325 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 21)) {
326 if (theTECWheel == 1) {
328 }
else if (theTECWheel == 2) {
330 }
else if (theTECWheel == 3) {
332 }
else if (theTECWheel == 4) {
334 }
else if (theTECWheel == 5) {
341 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 2)) {
342 if (theTECWheel == 1) {
344 }
else if (theTECWheel == 2) {
346 }
else if (theTECWheel == 3) {
348 }
else if (theTECWheel == 4) {
350 }
else if (theTECWheel == 5) {
352 }
else if (theTECWheel == 6) {
354 }
else if (theTECWheel == 7) {
356 }
else if (theTECWheel == 8) {
358 }
else if (theTECWheel == 9) {
364 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 22)) {
365 if (theTECWheel == 1) {
367 }
else if (theTECWheel == 2) {
369 }
else if (theTECWheel == 3) {
371 }
else if (theTECWheel == 4) {
373 }
else if (theTECWheel == 5) {
380 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 3)) {
381 if (theTECWheel == 1) {
383 }
else if (theTECWheel == 2) {
385 }
else if (theTECWheel == 3) {
387 }
else if (theTECWheel == 4) {
389 }
else if (theTECWheel == 5) {
391 }
else if (theTECWheel == 6) {
393 }
else if (theTECWheel == 7) {
395 }
else if (theTECWheel == 8) {
397 }
else if (theTECWheel == 9) {
404 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 4)) {
405 if (theTECWheel == 1) {
407 }
else if (theTECWheel == 2) {
409 }
else if (theTECWheel == 3) {
411 }
else if (theTECWheel == 4) {
413 }
else if (theTECWheel == 5) {
415 }
else if (theTECWheel == 6) {
417 }
else if (theTECWheel == 7) {
419 }
else if (theTECWheel == 8) {
421 }
else if (theTECWheel == 9) {
426 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 24)) {
427 if (theTECWheel == 1) {
429 }
else if (theTECWheel == 2) {
431 }
else if (theTECWheel == 3) {
433 }
else if (theTECWheel == 4) {
435 }
else if (theTECWheel == 5) {
442 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 5)) {
443 if (theTECWheel == 1) {
445 }
else if (theTECWheel == 2) {
447 }
else if (theTECWheel == 3) {
449 }
else if (theTECWheel == 4) {
451 }
else if (theTECWheel == 5) {
453 }
else if (theTECWheel == 6) {
455 }
else if (theTECWheel == 7) {
457 }
else if (theTECWheel == 8) {
459 }
else if (theTECWheel == 9) {
466 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 6)) {
467 if (theTECWheel == 1) {
469 }
else if (theTECWheel == 2) {
471 }
else if (theTECWheel == 3) {
473 }
else if (theTECWheel == 4) {
475 }
else if (theTECWheel == 5) {
477 }
else if (theTECWheel == 6) {
479 }
else if (theTECWheel == 7) {
481 }
else if (theTECWheel == 8) {
483 }
else if (theTECWheel == 9) {
488 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 26)) {
489 if (theTECWheel == 1) {
491 }
else if (theTECWheel == 2) {
493 }
else if (theTECWheel == 3) {
495 }
else if (theTECWheel == 4) {
497 }
else if (theTECWheel == 5) {
504 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 7)) {
505 if (theTECWheel == 1) {
507 }
else if (theTECWheel == 2) {
509 }
else if (theTECWheel == 3) {
511 }
else if (theTECWheel == 4) {
513 }
else if (theTECWheel == 5) {
515 }
else if (theTECWheel == 6) {
517 }
else if (theTECWheel == 7) {
519 }
else if (theTECWheel == 8) {
521 }
else if (theTECWheel == 9) {
526 else if ((thePart ==
"TEC+") && (theRing == 4) && (theBeam == 27)) {
527 if (theTECWheel == 1) {
529 }
else if (theTECWheel == 2) {
531 }
else if (theTECWheel == 3) {
533 }
else if (theTECWheel == 4) {
535 }
else if (theTECWheel == 5) {
542 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 0)) {
543 if (theTECWheel == 1) {
545 }
else if (theTECWheel == 2) {
547 }
else if (theTECWheel == 3) {
549 }
else if (theTECWheel == 4) {
551 }
else if (theTECWheel == 5) {
553 }
else if (theTECWheel == 6) {
555 }
else if (theTECWheel == 7) {
557 }
else if (theTECWheel == 8) {
559 }
else if (theTECWheel == 9) {
566 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 1)) {
567 if (theTECWheel == 1) {
569 }
else if (theTECWheel == 2) {
571 }
else if (theTECWheel == 3) {
573 }
else if (theTECWheel == 4) {
575 }
else if (theTECWheel == 5) {
577 }
else if (theTECWheel == 6) {
579 }
else if (theTECWheel == 7) {
581 }
else if (theTECWheel == 8) {
583 }
else if (theTECWheel == 9) {
590 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 2)) {
591 if (theTECWheel == 1) {
593 }
else if (theTECWheel == 2) {
595 }
else if (theTECWheel == 3) {
597 }
else if (theTECWheel == 4) {
599 }
else if (theTECWheel == 5) {
601 }
else if (theTECWheel == 6) {
603 }
else if (theTECWheel == 7) {
605 }
else if (theTECWheel == 8) {
607 }
else if (theTECWheel == 9) {
614 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 3)) {
615 if (theTECWheel == 1) {
617 }
else if (theTECWheel == 2) {
619 }
else if (theTECWheel == 3) {
621 }
else if (theTECWheel == 4) {
623 }
else if (theTECWheel == 5) {
625 }
else if (theTECWheel == 6) {
627 }
else if (theTECWheel == 7) {
629 }
else if (theTECWheel == 8) {
631 }
else if (theTECWheel == 9) {
638 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 4)) {
639 if (theTECWheel == 1) {
641 }
else if (theTECWheel == 2) {
643 }
else if (theTECWheel == 3) {
645 }
else if (theTECWheel == 4) {
647 }
else if (theTECWheel == 5) {
649 }
else if (theTECWheel == 6) {
651 }
else if (theTECWheel == 7) {
653 }
else if (theTECWheel == 8) {
655 }
else if (theTECWheel == 9) {
662 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 5)) {
663 if (theTECWheel == 1) {
665 }
else if (theTECWheel == 2) {
667 }
else if (theTECWheel == 3) {
669 }
else if (theTECWheel == 4) {
671 }
else if (theTECWheel == 5) {
673 }
else if (theTECWheel == 6) {
675 }
else if (theTECWheel == 7) {
677 }
else if (theTECWheel == 8) {
679 }
else if (theTECWheel == 9) {
686 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 6)) {
687 if (theTECWheel == 1) {
689 }
else if (theTECWheel == 2) {
691 }
else if (theTECWheel == 3) {
693 }
else if (theTECWheel == 4) {
695 }
else if (theTECWheel == 5) {
697 }
else if (theTECWheel == 6) {
699 }
else if (theTECWheel == 7) {
701 }
else if (theTECWheel == 8) {
703 }
else if (theTECWheel == 9) {
710 else if ((thePart ==
"TEC+") && (theRing == 6) && (theBeam == 7)) {
711 if (theTECWheel == 1) {
713 }
else if (theTECWheel == 2) {
715 }
else if (theTECWheel == 3) {
717 }
else if (theTECWheel == 4) {
719 }
else if (theTECWheel == 5) {
721 }
else if (theTECWheel == 6) {
723 }
else if (theTECWheel == 7) {
725 }
else if (theTECWheel == 8) {
727 }
else if (theTECWheel == 9) {
734 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 0)) {
735 if (theTECWheel == 1) {
737 }
else if (theTECWheel == 2) {
739 }
else if (theTECWheel == 3) {
741 }
else if (theTECWheel == 4) {
743 }
else if (theTECWheel == 5) {
745 }
else if (theTECWheel == 6) {
747 }
else if (theTECWheel == 7) {
749 }
else if (theTECWheel == 8) {
751 }
else if (theTECWheel == 9) {
758 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 1)) {
759 if (theTECWheel == 1) {
761 }
else if (theTECWheel == 2) {
763 }
else if (theTECWheel == 3) {
765 }
else if (theTECWheel == 4) {
767 }
else if (theTECWheel == 5) {
769 }
else if (theTECWheel == 6) {
771 }
else if (theTECWheel == 7) {
773 }
else if (theTECWheel == 8) {
775 }
else if (theTECWheel == 9) {
780 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 21)) {
781 if (theTECWheel == 1) {
783 }
else if (theTECWheel == 2) {
785 }
else if (theTECWheel == 3) {
787 }
else if (theTECWheel == 4) {
789 }
else if (theTECWheel == 5) {
796 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 2)) {
797 if (theTECWheel == 1) {
799 }
else if (theTECWheel == 2) {
801 }
else if (theTECWheel == 3) {
803 }
else if (theTECWheel == 4) {
805 }
else if (theTECWheel == 5) {
807 }
else if (theTECWheel == 6) {
809 }
else if (theTECWheel == 7) {
811 }
else if (theTECWheel == 8) {
813 }
else if (theTECWheel == 9) {
819 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 22)) {
820 if (theTECWheel == 1) {
822 }
else if (theTECWheel == 2) {
824 }
else if (theTECWheel == 3) {
826 }
else if (theTECWheel == 4) {
828 }
else if (theTECWheel == 5) {
835 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 3)) {
836 if (theTECWheel == 1) {
838 }
else if (theTECWheel == 2) {
840 }
else if (theTECWheel == 3) {
842 }
else if (theTECWheel == 4) {
844 }
else if (theTECWheel == 5) {
846 }
else if (theTECWheel == 6) {
848 }
else if (theTECWheel == 7) {
850 }
else if (theTECWheel == 8) {
852 }
else if (theTECWheel == 9) {
859 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 4)) {
860 if (theTECWheel == 1) {
862 }
else if (theTECWheel == 2) {
864 }
else if (theTECWheel == 3) {
866 }
else if (theTECWheel == 4) {
868 }
else if (theTECWheel == 5) {
870 }
else if (theTECWheel == 6) {
872 }
else if (theTECWheel == 7) {
874 }
else if (theTECWheel == 8) {
876 }
else if (theTECWheel == 9) {
881 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 24)) {
882 if (theTECWheel == 1) {
884 }
else if (theTECWheel == 2) {
886 }
else if (theTECWheel == 3) {
888 }
else if (theTECWheel == 4) {
890 }
else if (theTECWheel == 5) {
897 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 5)) {
898 if (theTECWheel == 1) {
900 }
else if (theTECWheel == 2) {
902 }
else if (theTECWheel == 3) {
904 }
else if (theTECWheel == 4) {
906 }
else if (theTECWheel == 5) {
908 }
else if (theTECWheel == 6) {
910 }
else if (theTECWheel == 7) {
912 }
else if (theTECWheel == 8) {
914 }
else if (theTECWheel == 9) {
921 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 6)) {
922 if (theTECWheel == 1) {
924 }
else if (theTECWheel == 2) {
926 }
else if (theTECWheel == 3) {
928 }
else if (theTECWheel == 4) {
930 }
else if (theTECWheel == 5) {
932 }
else if (theTECWheel == 6) {
934 }
else if (theTECWheel == 7) {
936 }
else if (theTECWheel == 8) {
938 }
else if (theTECWheel == 9) {
943 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 26)) {
944 if (theTECWheel == 1) {
946 }
else if (theTECWheel == 2) {
948 }
else if (theTECWheel == 3) {
950 }
else if (theTECWheel == 4) {
952 }
else if (theTECWheel == 5) {
959 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 7)) {
960 if (theTECWheel == 1) {
962 }
else if (theTECWheel == 2) {
964 }
else if (theTECWheel == 3) {
966 }
else if (theTECWheel == 4) {
968 }
else if (theTECWheel == 5) {
970 }
else if (theTECWheel == 6) {
972 }
else if (theTECWheel == 7) {
974 }
else if (theTECWheel == 8) {
976 }
else if (theTECWheel == 9) {
981 else if ((thePart ==
"TEC-") && (theRing == 4) && (theBeam == 27)) {
982 if (theTECWheel == 1) {
984 }
else if (theTECWheel == 2) {
986 }
else if (theTECWheel == 3) {
988 }
else if (theTECWheel == 4) {
990 }
else if (theTECWheel == 5) {
997 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 0)) {
998 if (theTECWheel == 1) {
1000 }
else if (theTECWheel == 2) {
1002 }
else if (theTECWheel == 3) {
1004 }
else if (theTECWheel == 4) {
1006 }
else if (theTECWheel == 5) {
1008 }
else if (theTECWheel == 6) {
1010 }
else if (theTECWheel == 7) {
1012 }
else if (theTECWheel == 8) {
1014 }
else if (theTECWheel == 9) {
1021 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 1)) {
1022 if (theTECWheel == 1) {
1024 }
else if (theTECWheel == 2) {
1026 }
else if (theTECWheel == 3) {
1028 }
else if (theTECWheel == 4) {
1030 }
else if (theTECWheel == 5) {
1032 }
else if (theTECWheel == 6) {
1034 }
else if (theTECWheel == 7) {
1036 }
else if (theTECWheel == 8) {
1038 }
else if (theTECWheel == 9) {
1045 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 2)) {
1046 if (theTECWheel == 1) {
1048 }
else if (theTECWheel == 2) {
1050 }
else if (theTECWheel == 3) {
1052 }
else if (theTECWheel == 4) {
1054 }
else if (theTECWheel == 5) {
1056 }
else if (theTECWheel == 6) {
1058 }
else if (theTECWheel == 7) {
1060 }
else if (theTECWheel == 8) {
1062 }
else if (theTECWheel == 9) {
1069 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 3)) {
1070 if (theTECWheel == 1) {
1072 }
else if (theTECWheel == 2) {
1074 }
else if (theTECWheel == 3) {
1076 }
else if (theTECWheel == 4) {
1078 }
else if (theTECWheel == 5) {
1080 }
else if (theTECWheel == 6) {
1082 }
else if (theTECWheel == 7) {
1084 }
else if (theTECWheel == 8) {
1086 }
else if (theTECWheel == 9) {
1093 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 4)) {
1094 if (theTECWheel == 1) {
1096 }
else if (theTECWheel == 2) {
1098 }
else if (theTECWheel == 3) {
1100 }
else if (theTECWheel == 4) {
1102 }
else if (theTECWheel == 5) {
1104 }
else if (theTECWheel == 6) {
1106 }
else if (theTECWheel == 7) {
1108 }
else if (theTECWheel == 8) {
1110 }
else if (theTECWheel == 9) {
1117 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 5)) {
1118 if (theTECWheel == 1) {
1120 }
else if (theTECWheel == 2) {
1122 }
else if (theTECWheel == 3) {
1124 }
else if (theTECWheel == 4) {
1126 }
else if (theTECWheel == 5) {
1128 }
else if (theTECWheel == 6) {
1130 }
else if (theTECWheel == 7) {
1132 }
else if (theTECWheel == 8) {
1134 }
else if (theTECWheel == 9) {
1141 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 6)) {
1142 if (theTECWheel == 1) {
1144 }
else if (theTECWheel == 2) {
1146 }
else if (theTECWheel == 3) {
1148 }
else if (theTECWheel == 4) {
1150 }
else if (theTECWheel == 5) {
1152 }
else if (theTECWheel == 6) {
1154 }
else if (theTECWheel == 7) {
1156 }
else if (theTECWheel == 8) {
1158 }
else if (theTECWheel == 9) {
1165 else if ((thePart ==
"TEC-") && (theRing == 6) && (theBeam == 7)) {
1166 if (theTECWheel == 1) {
1168 }
else if (theTECWheel == 2) {
1170 }
else if (theTECWheel == 3) {
1172 }
else if (theTECWheel == 4) {
1174 }
else if (theTECWheel == 5) {
1176 }
else if (theTECWheel == 6) {
1178 }
else if (theTECWheel == 7) {
1180 }
else if (theTECWheel == 8) {
1182 }
else if (theTECWheel == 9) {
1190 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 0) && (theTOBStereoDet == 0) &&
1215 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 1) && (theTOBStereoDet == 0) &&
1240 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 2) && (theTOBStereoDet == 0) &&
1265 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 3) && (theTOBStereoDet == 0) &&
1290 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 4) && (theTOBStereoDet == 0) &&
1315 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 5) && (theTOBStereoDet == 0) &&
1340 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 6) && (theTOBStereoDet == 0) &&
1365 else if ((thePart ==
"TOB") && (theTOBLayer == 1) && (theBeam == 7) && (theTOBStereoDet == 0) &&
1391 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 0)) {
1415 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 1)) {
1439 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 2)) {
1463 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 3)) {
1487 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 4)) {
1511 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 5)) {
1535 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 6)) {
1559 else if ((thePart ==
"TIB") && (theTIBLayer == 4) && (theBeam == 7)) {