395 {
396
397 if( m_hitCase ==
NoHit )
return;
398
399 unsigned int identify0 = 0x0000c000;
400 unsigned int identify1 = 0x0000c000;
401 unsigned int identify2 = 0x0000c000;
402 unsigned int count0 = 0;
403 unsigned int count1 = 0;
404 unsigned int count2 = 0;
405
406
407 unsigned int identify_it=0x0000c000;
408 unsigned int identify_u =0x0000c000;
409 unsigned int identify_b =0x0000c000;
410 unsigned int identify_l =0x0000c000;
411 unsigned int identify_lu=0x0000c000;
412 unsigned int identify_lb=0x0000c000;
413 unsigned int identify_r =0x0000c000;
414 unsigned int identify_ru=0x0000c000;
415 unsigned int identify_rb=0x0000c000;
416
417 unsigned int identify_luu =0x0000c000;
418 unsigned int identify_lbb =0x0000c000;
419 unsigned int identify_ruu =0x0000c000;
420 unsigned int identify_rbb =0x0000c000;
421 unsigned int identify_uu =0x0000c000;
422 unsigned int identify_bb =0x0000c000;
423
424 unsigned int identify_luuu =0x0000c000;
425 unsigned int identify_lbbb =0x0000c000;
426 unsigned int identify_ruuu =0x0000c000;
427 unsigned int identify_rbbb =0x0000c000;
428 unsigned int identify_uuu =0x0000c000;
429 unsigned int identify_bbb =0x0000c000;
430
431
432 unsigned int identify_luuul =0x0000c000;
433 unsigned int identify_lbbbl =0x0000c000;
434 unsigned int identify_ruuur =0x0000c000;
435 unsigned int identify_rbbbr =0x0000c000;
436 unsigned int identify_luul =0x0000c000;
437 unsigned int identify_lbbl =0x0000c000;
438 unsigned int identify_ruur =0x0000c000;
439 unsigned int identify_rbbr =0x0000c000;
440 unsigned int identify_ll =0x0000c000;
441 unsigned int identify_lul=0x0000c000;
442 unsigned int identify_lbl=0x0000c000;
443 unsigned int identify_rr =0x0000c000;
444 unsigned int identify_rur=0x0000c000;
445 unsigned int identify_rbr=0x0000c000;
446
447
448
449 unsigned int count_it =0;
450 unsigned int count_u =0;
451 unsigned int count_b =0;
452 unsigned int count_l =0;
453 unsigned int count_lu =0;
454 unsigned int count_lb =0;
455 unsigned int count_r =0;
456 unsigned int count_ru =0;
457 unsigned int count_rb =0;
458
459
460 unsigned int count_luu =0;
461 unsigned int count_lbb =0;
462 unsigned int count_ruu =0;
463 unsigned int count_rbb =0;
464 unsigned int count_uu =0;
465 unsigned int count_bb =0;
466
467
468 unsigned int count_luuu =0;
469 unsigned int count_lbbb =0;
470 unsigned int count_ruuu =0;
471 unsigned int count_rbbb =0;
472 unsigned int count_uuu =0;
473 unsigned int count_bbb =0;
474
475
476 unsigned int count_luuul =0;
477 unsigned int count_lbbbl =0;
478 unsigned int count_ruuur =0;
479 unsigned int count_rbbbr =0;
480 unsigned int count_luul =0;
481 unsigned int count_lbbl =0;
482 unsigned int count_ruur =0;
483 unsigned int count_rbbr =0;
484 unsigned int count_ll =0;
485 unsigned int count_lul =0;
486 unsigned int count_lbl =0;
487 unsigned int count_rr =0;
488 unsigned int count_rur =0;
489 unsigned int count_rbr =0;
490
491
492
493
494
495
496
497
498
499
500
501 unsigned int identify_if5_it=0x0000c000;
502 unsigned int identify_if5_m1=0x0000c000;
503 unsigned int identify_if5_m2=0x0000c000;
504 unsigned int identify_if5_m3=0x0000c000;
505 unsigned int identify_if5_m4=0x0000c000;
506 unsigned int identify_if5_m5=0x0000c000;
507 unsigned int identify_if5_m6=0x0000c000;
508 unsigned int identify_if5_m7=0x0000c000;
509 unsigned int identify_if5_m8=0x0000c000;
510 unsigned int identify_if5_m9=0x0000c000;
511 unsigned int identify_if5_m10=0x0000c000;
512 unsigned int identify_if5_m11=0x0000c000;
513 unsigned int identify_if5_m12=0x0000c000;
514 unsigned int identify_if5_l1=0x0000c000;
515 unsigned int identify_if5_l2=0x0000c000;
516 unsigned int identify_if5_l3=0x0000c000;
517 unsigned int identify_if5_l4=0x0000c000;
518 unsigned int identify_if5_l5=0x0000c000;
519 unsigned int identify_if5_l6=0x0000c000;
520 unsigned int identify_if5_l7=0x0000c000;
521 unsigned int identify_if5_l8=0x0000c000;
522 unsigned int identify_if5_l9=0x0000c000;
523 unsigned int identify_if5_l10=0x0000c000;
524 unsigned int identify_if5_l11=0x0000c000;
525 unsigned int identify_if5_l12=0x0000c000;
526 unsigned int identify_if5_r1=0x0000c000;
527 unsigned int identify_if5_r2=0x0000c000;
528 unsigned int identify_if5_r3=0x0000c000;
529 unsigned int identify_if5_r4=0x0000c000;
530 unsigned int identify_if5_r5=0x0000c000;
531 unsigned int identify_if5_r6=0x0000c000;
532 unsigned int identify_if5_r7=0x0000c000;
533 unsigned int identify_if5_r8=0x0000c000;
534 unsigned int identify_if5_r9=0x0000c000;
535 unsigned int identify_if5_r10=0x0000c000;
536 unsigned int identify_if5_r11=0x0000c000;
537 unsigned int identify_if5_r12=0x0000c000;
538 unsigned int count_if5_m1=0;
539 unsigned int count_if5_m2=0;
540 unsigned int count_if5_m3=0;
541 unsigned int count_if5_m4=0;
542 unsigned int count_if5_m5=0;
543 unsigned int count_if5_m6=0;
544 unsigned int count_if5_m7=0;
545 unsigned int count_if5_m8=0;
546 unsigned int count_if5_m9=0;
547 unsigned int count_if5_m10=0;
548 unsigned int count_if5_m11=0;
549 unsigned int count_if5_m12=0;
550 unsigned int count_if5_l1=0;
551 unsigned int count_if5_l2=0;
552 unsigned int count_if5_l3=0;
553 unsigned int count_if5_l4=0;
554 unsigned int count_if5_l5=0;
555 unsigned int count_if5_l6=0;
556 unsigned int count_if5_l7=0;
557 unsigned int count_if5_l8=0;
558 unsigned int count_if5_l9=0;
559 unsigned int count_if5_l10=0;
560 unsigned int count_if5_l11=0;
561 unsigned int count_if5_l12=0;
562 unsigned int count_if5_r1=0;
563 unsigned int count_if5_r2=0;
564 unsigned int count_if5_r3=0;
565 unsigned int count_if5_r4=0;
566 unsigned int count_if5_r5=0;
567 unsigned int count_if5_r6=0;
568 unsigned int count_if5_r7=0;
569 unsigned int count_if5_r8=0;
570 unsigned int count_if5_r9=0;
571 unsigned int count_if5_r10=0;
572 unsigned int count_if5_r11=0;
573 unsigned int count_if5_r12=0;
574
575
576
577
578
579
580
581
582
583
584 unsigned int identify_if6_it=0x0000c000;
585 unsigned int identify_if6_m1=0x0000c000;
586 unsigned int identify_if6_m2=0x0000c000;
587 unsigned int identify_if6_m3=0x0000c000;
588 unsigned int identify_if6_m4=0x0000c000;
589 unsigned int identify_if6_m5=0x0000c000;
590 unsigned int identify_if6_m6=0x0000c000;
591 unsigned int identify_if6_m7=0x0000c000;
592 unsigned int identify_if6_m8=0x0000c000;
593 unsigned int identify_if6_m9=0x0000c000;
594 unsigned int identify_if6_m10=0x0000c000;
595 unsigned int identify_if6_m11=0x0000c000;
596 unsigned int identify_if6_m12=0x0000c000;
597 unsigned int identify_if6_l1=0x0000c000;
598 unsigned int identify_if6_l2=0x0000c000;
599 unsigned int identify_if6_l3=0x0000c000;
600 unsigned int identify_if6_l4=0x0000c000;
601 unsigned int identify_if6_l5=0x0000c000;
602 unsigned int identify_if6_l6=0x0000c000;
603 unsigned int identify_if6_l7=0x0000c000;
604 unsigned int identify_if6_l8=0x0000c000;
605 unsigned int identify_if6_l9=0x0000c000;
606 unsigned int identify_if6_l10=0x0000c000;
607 unsigned int identify_if6_l11=0x0000c000;
608 unsigned int identify_if6_l12=0x0000c000;
609 unsigned int identify_if6_r1=0x0000c000;
610 unsigned int identify_if6_r2=0x0000c000;
611 unsigned int identify_if6_r3=0x0000c000;
612 unsigned int identify_if6_r4=0x0000c000;
613 unsigned int identify_if6_r5=0x0000c000;
614 unsigned int identify_if6_r6=0x0000c000;
615 unsigned int identify_if6_r7=0x0000c000;
616 unsigned int identify_if6_r8=0x0000c000;
617 unsigned int identify_if6_r9=0x0000c000;
618 unsigned int identify_if6_r10=0x0000c000;
619 unsigned int identify_if6_r11=0x0000c000;
620 unsigned int identify_if6_r12=0x0000c000;
621 unsigned int identify_if6_ll1=0x0000c000;
622 unsigned int identify_if6_ll2=0x0000c000;
623 unsigned int identify_if6_ll3=0x0000c000;
624 unsigned int identify_if6_ll4=0x0000c000;
625 unsigned int identify_if6_ll5=0x0000c000;
626 unsigned int identify_if6_ll6=0x0000c000;
627 unsigned int identify_if6_ll7=0x0000c000;
628 unsigned int identify_if6_ll8=0x0000c000;
629 unsigned int identify_if6_ll9=0x0000c000;
630 unsigned int identify_if6_ll10=0x0000c000;
631 unsigned int identify_if6_ll11=0x0000c000;
632 unsigned int identify_if6_ll12=0x0000c000;
633 unsigned int identify_if6_rr1=0x0000c000;
634 unsigned int identify_if6_rr2=0x0000c000;
635 unsigned int identify_if6_rr3=0x0000c000;
636 unsigned int identify_if6_rr4=0x0000c000;
637 unsigned int identify_if6_rr5=0x0000c000;
638 unsigned int identify_if6_rr6=0x0000c000;
639 unsigned int identify_if6_rr7=0x0000c000;
640 unsigned int identify_if6_rr8=0x0000c000;
641 unsigned int identify_if6_rr9=0x0000c000;
642 unsigned int identify_if6_rr10=0x0000c000;
643 unsigned int identify_if6_rr11=0x0000c000;
644 unsigned int identify_if6_rr12=0x0000c000;
645 unsigned int count_if6_m1=0;
646 unsigned int count_if6_m2=0;
647 unsigned int count_if6_m3=0;
648 unsigned int count_if6_m4=0;
649 unsigned int count_if6_m5=0;
650 unsigned int count_if6_m6=0;
651 unsigned int count_if6_m7=0;
652 unsigned int count_if6_m8=0;
653 unsigned int count_if6_m9=0;
654 unsigned int count_if6_m10=0;
655 unsigned int count_if6_m11=0;
656 unsigned int count_if6_m12=0;
657 unsigned int count_if6_l1=0;
658 unsigned int count_if6_l2=0;
659 unsigned int count_if6_l3=0;
660 unsigned int count_if6_l4=0;
661 unsigned int count_if6_l5=0;
662 unsigned int count_if6_l6=0;
663 unsigned int count_if6_l7=0;
664 unsigned int count_if6_l8=0;
665 unsigned int count_if6_l9=0;
666 unsigned int count_if6_l10=0;
667 unsigned int count_if6_l11=0;
668 unsigned int count_if6_l12=0;
669 unsigned int count_if6_r1=0;
670 unsigned int count_if6_r2=0;
671 unsigned int count_if6_r3=0;
672 unsigned int count_if6_r4=0;
673 unsigned int count_if6_r5=0;
674 unsigned int count_if6_r6=0;
675 unsigned int count_if6_r7=0;
676 unsigned int count_if6_r8=0;
677 unsigned int count_if6_r9=0;
678 unsigned int count_if6_r10=0;
679 unsigned int count_if6_r11=0;
680 unsigned int count_if6_r12=0;
681 unsigned int count_if6_ll1=0;
682 unsigned int count_if6_ll2=0;
683 unsigned int count_if6_ll3=0;
684 unsigned int count_if6_ll4=0;
685 unsigned int count_if6_ll5=0;
686 unsigned int count_if6_ll6=0;
687 unsigned int count_if6_ll7=0;
688 unsigned int count_if6_ll8=0;
689 unsigned int count_if6_ll9=0;
690 unsigned int count_if6_ll10=0;
691 unsigned int count_if6_ll11=0;
692 unsigned int count_if6_ll12=0;
693 unsigned int count_if6_rr1=0;
694 unsigned int count_if6_rr2=0;
695 unsigned int count_if6_rr3=0;
696 unsigned int count_if6_rr4=0;
697 unsigned int count_if6_rr5=0;
698 unsigned int count_if6_rr6=0;
699 unsigned int count_if6_rr7=0;
700 unsigned int count_if6_rr8=0;
701 unsigned int count_if6_rr9=0;
702 unsigned int count_if6_rr10=0;
703 unsigned int count_if6_rr11=0;
704 unsigned int count_if6_rr12=0;
705
707 {
708 int tofid_it = m_id1;
710 count_it = tofDataMap.count( identify_it );
711
712
721
730
731
744
745
758
759
760
761
762
791
792
793
794
795
796 if( (neighborhood==1) || (neighborhood==2) || (neighborhood==3) || (neighborhood==4) )
797 {
799 count_l = tofDataMap.count(identify_l );
801 count_r = tofDataMap.count(identify_r);
803 count_u = tofDataMap.count(identify_u);
805 count_b = tofDataMap.count(identify_b);
807 count_lu = tofDataMap.count(identify_lu);
809 count_lb = tofDataMap.count(identify_lb);
811 count_ru = tofDataMap.count(identify_ru);
813 count_rb = tofDataMap.count(identify_rb);
814 }
815
816
817 if( (neighborhood==2) || (neighborhood==3) || (neighborhood==4) )
818 {
819
820
822 count_luu = tofDataMap.count(identify_luu );
824 count_ruu = tofDataMap.count(identify_ruu);
826 count_uu = tofDataMap.count(identify_uu);
828 count_bb = tofDataMap.count(identify_bb);
830 count_lbb = tofDataMap.count(identify_lbb);
832 count_rbb = tofDataMap.count(identify_rbb);
833
834 }
835
836 if((neighborhood==3) || (neighborhood==4))
837 {
838
839
841 count_luuu = tofDataMap.count(identify_luuu );
843 count_ruuu = tofDataMap.count(identify_ruuu);
845 count_uuu = tofDataMap.count(identify_uuu);
847 count_bbb = tofDataMap.count(identify_bbb);
849 count_lbbb = tofDataMap.count(identify_lbbb);
851 count_rbbb = tofDataMap.count(identify_rbbb);
852
853 }
854
855
856 if((neighborhood==4))
857 {
858
860 count_luuul = tofDataMap.count(identify_luuul );
862 count_ruuur = tofDataMap.count(identify_ruuur);
864 count_lbbbl = tofDataMap.count(identify_lbbbl);
866 count_rbbbr = tofDataMap.count(identify_rbbbr);
867
869 count_luul = tofDataMap.count(identify_luul );
871 count_ruur = tofDataMap.count(identify_ruur);
873 count_lbbl = tofDataMap.count(identify_lbbl);
875 count_rbbr = tofDataMap.count(identify_rbbr);
876
878 count_ll = tofDataMap.count(identify_ll );
880 count_rr = tofDataMap.count(identify_rr);
882 count_lul = tofDataMap.count(identify_lul);
884 count_lbl = tofDataMap.count(identify_lbl);
886 count_rur = tofDataMap.count(identify_rur);
888 count_rbr = tofDataMap.count(identify_rbr);
889 }
890
891
892
893
894 if((neighborhood==5))
895 {
896
899
900 if((strip_number_if5)%2==0)
901 {
903
916 count_if5_m1=tofDataMap.count(identify_if5_m1);
917 count_if5_m2=tofDataMap.count(identify_if5_m2);
918 count_if5_m3=tofDataMap.count(identify_if5_m3);
919 count_if5_m4=tofDataMap.count(identify_if5_m4);
920 count_if5_m5=tofDataMap.count(identify_if5_m5);
921 count_if5_m6=tofDataMap.count(identify_if5_m6);
922 count_if5_m7=tofDataMap.count(identify_if5_m7);
923 count_if5_m8=tofDataMap.count(identify_if5_m8);
924 count_if5_m9=tofDataMap.count(identify_if5_m9);
925 count_if5_m10=tofDataMap.count(identify_if5_m10);
926 count_if5_m11=tofDataMap.count(identify_if5_m11);
927 count_if5_m12=tofDataMap.count(identify_if5_m12);
928
953
966
967
968 count_if5_l1=tofDataMap.count(identify_if5_l1);
969 count_if5_l2=tofDataMap.count(identify_if5_l2);
970 count_if5_l3=tofDataMap.count(identify_if5_l3);
971 count_if5_l4=tofDataMap.count(identify_if5_l4);
972 count_if5_l5=tofDataMap.count(identify_if5_l5);
973 count_if5_l6=tofDataMap.count(identify_if5_l6);
974 count_if5_l7=tofDataMap.count(identify_if5_l7);
975 count_if5_l8=tofDataMap.count(identify_if5_l8);
976 count_if5_l9=tofDataMap.count(identify_if5_l9);
977 count_if5_l10=tofDataMap.count(identify_if5_l10);
978 count_if5_l11=tofDataMap.count(identify_if5_l11);
979 count_if5_l12=tofDataMap.count(identify_if5_l12);
980 count_if5_r1=tofDataMap.count(identify_if5_r1);
981 count_if5_r2=tofDataMap.count(identify_if5_r2);
982 count_if5_r3=tofDataMap.count(identify_if5_r3);
983 count_if5_r4=tofDataMap.count(identify_if5_r4);
984 count_if5_r5=tofDataMap.count(identify_if5_r5);
985 count_if5_r6=tofDataMap.count(identify_if5_r6);
986 count_if5_r7=tofDataMap.count(identify_if5_r7);
987 count_if5_r8=tofDataMap.count(identify_if5_r8);
988 count_if5_r9=tofDataMap.count(identify_if5_r9);
989 count_if5_r10=tofDataMap.count(identify_if5_r10);
990 count_if5_r11=tofDataMap.count(identify_if5_r11);
991 count_if5_r12=tofDataMap.count(identify_if5_r12);
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034 }
1035 else
1036 {
1050 count_if5_m1=tofDataMap.count(identify_if5_m1);
1051 count_if5_m2=tofDataMap.count(identify_if5_m2);
1052 count_if5_m3=tofDataMap.count(identify_if5_m3);
1053 count_if5_m4=tofDataMap.count(identify_if5_m4);
1054 count_if5_m5=tofDataMap.count(identify_if5_m5);
1055 count_if5_m6=tofDataMap.count(identify_if5_m6);
1056 count_if5_m7=tofDataMap.count(identify_if5_m7);
1057 count_if5_m8=tofDataMap.count(identify_if5_m8);
1058 count_if5_m9=tofDataMap.count(identify_if5_m9);
1059 count_if5_m10=tofDataMap.count(identify_if5_m10);
1060 count_if5_m11=tofDataMap.count(identify_if5_m11);
1061 count_if5_m12=tofDataMap.count(identify_if5_m12);
1062
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1146
1147
1148 count_if5_l1=tofDataMap.count(identify_if5_l1);
1149 count_if5_l2=tofDataMap.count(identify_if5_l2);
1150 count_if5_l3=tofDataMap.count(identify_if5_l3);
1151 count_if5_l4=tofDataMap.count(identify_if5_l4);
1152 count_if5_l5=tofDataMap.count(identify_if5_l5);
1153 count_if5_l6=tofDataMap.count(identify_if5_l6);
1154 count_if5_l7=tofDataMap.count(identify_if5_l7);
1155 count_if5_l8=tofDataMap.count(identify_if5_l8);
1156 count_if5_l9=tofDataMap.count(identify_if5_l9);
1157 count_if5_l10=tofDataMap.count(identify_if5_l10);
1158 count_if5_l11=tofDataMap.count(identify_if5_l11);
1159 count_if5_l12=tofDataMap.count(identify_if5_l12);
1160 count_if5_r1=tofDataMap.count(identify_if5_r1);
1161 count_if5_r2=tofDataMap.count(identify_if5_r2);
1162 count_if5_r3=tofDataMap.count(identify_if5_r3);
1163 count_if5_r4=tofDataMap.count(identify_if5_r4);
1164 count_if5_r5=tofDataMap.count(identify_if5_r5);
1165 count_if5_r6=tofDataMap.count(identify_if5_r6);
1166 count_if5_r7=tofDataMap.count(identify_if5_r7);
1167 count_if5_r8=tofDataMap.count(identify_if5_r8);
1168 count_if5_r9=tofDataMap.count(identify_if5_r9);
1169 count_if5_r10=tofDataMap.count(identify_if5_r10);
1170 count_if5_r11=tofDataMap.count(identify_if5_r11);
1171 count_if5_r12=tofDataMap.count(identify_if5_r12);
1172
1173
1174 }
1175
1176}
1177
1178
1179
1180
1181 if((neighborhood==6))
1182 {
1183
1184
1185
1188
1189 if((strip_number_if6)%2==0)
1190 {
1192
1205
1206
1207
1208 count_if6_m1=tofDataMap.count(identify_if6_m1);
1209 count_if6_m2=tofDataMap.count(identify_if6_m2);
1210 count_if6_m3=tofDataMap.count(identify_if6_m3);
1211 count_if6_m4=tofDataMap.count(identify_if6_m4);
1212 count_if6_m5=tofDataMap.count(identify_if6_m5);
1213 count_if6_m6=tofDataMap.count(identify_if6_m6);
1214 count_if6_m7=tofDataMap.count(identify_if6_m7);
1215 count_if6_m8=tofDataMap.count(identify_if6_m8);
1216 count_if6_m9=tofDataMap.count(identify_if6_m9);
1217 count_if6_m10=tofDataMap.count(identify_if6_m10);
1218 count_if6_m11=tofDataMap.count(identify_if6_m11);
1219 count_if6_m12=tofDataMap.count(identify_if6_m12);
1220
1233
1246
1259
1260
1261 count_if6_l1=tofDataMap.count(identify_if6_l1);
1262 count_if6_l2=tofDataMap.count(identify_if6_l2);
1263 count_if6_l3=tofDataMap.count(identify_if6_l3);
1264 count_if6_l4=tofDataMap.count(identify_if6_l4);
1265 count_if6_l5=tofDataMap.count(identify_if6_l5);
1266 count_if6_l6=tofDataMap.count(identify_if6_l6);
1267 count_if6_l7=tofDataMap.count(identify_if6_l7);
1268 count_if6_l8=tofDataMap.count(identify_if6_l8);
1269 count_if6_l9=tofDataMap.count(identify_if6_l9);
1270 count_if6_l10=tofDataMap.count(identify_if6_l10);
1271 count_if6_l11=tofDataMap.count(identify_if6_l11);
1272 count_if6_l12=tofDataMap.count(identify_if6_l12);
1273 count_if6_r1=tofDataMap.count(identify_if6_r1);
1274 count_if6_r2=tofDataMap.count(identify_if6_r2);
1275 count_if6_r3=tofDataMap.count(identify_if6_r3);
1276 count_if6_r4=tofDataMap.count(identify_if6_r4);
1277 count_if6_r5=tofDataMap.count(identify_if6_r5);
1278 count_if6_r6=tofDataMap.count(identify_if6_r6);
1279 count_if6_r7=tofDataMap.count(identify_if6_r7);
1280 count_if6_r8=tofDataMap.count(identify_if6_r8);
1281 count_if6_r9=tofDataMap.count(identify_if6_r9);
1282 count_if6_r10=tofDataMap.count(identify_if6_r10);
1283 count_if6_r11=tofDataMap.count(identify_if6_r11);
1284 count_if6_r12=tofDataMap.count(identify_if6_r12);
1285
1286
1287
1288
1291
1292
1293
1294
1307
1320
1323
1324
1337
1350
1351
1352 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
1353 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
1354 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
1355 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
1356 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
1357 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
1358 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
1359 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
1360 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
1361 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
1362 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
1363 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
1364 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
1365 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
1366 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
1367 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
1368 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
1369 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
1370 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
1371 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
1372 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
1373 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
1374 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
1375 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470 }
1471 else
1472 {
1486 count_if6_m1=tofDataMap.count(identify_if6_m1);
1487 count_if6_m2=tofDataMap.count(identify_if6_m2);
1488 count_if6_m3=tofDataMap.count(identify_if6_m3);
1489 count_if6_m4=tofDataMap.count(identify_if6_m4);
1490 count_if6_m5=tofDataMap.count(identify_if6_m5);
1491 count_if6_m6=tofDataMap.count(identify_if6_m6);
1492 count_if6_m7=tofDataMap.count(identify_if6_m7);
1493 count_if6_m8=tofDataMap.count(identify_if6_m8);
1494 count_if6_m9=tofDataMap.count(identify_if6_m9);
1495 count_if6_m10=tofDataMap.count(identify_if6_m10);
1496 count_if6_m11=tofDataMap.count(identify_if6_m11);
1497 count_if6_m12=tofDataMap.count(identify_if6_m12);
1498
1499
1512
1513
1526
1539
1540 count_if6_l1=tofDataMap.count(identify_if6_l1);
1541 count_if6_l2=tofDataMap.count(identify_if6_l2);
1542 count_if6_l3=tofDataMap.count(identify_if6_l3);
1543 count_if6_l4=tofDataMap.count(identify_if6_l4);
1544 count_if6_l5=tofDataMap.count(identify_if6_l5);
1545 count_if6_l6=tofDataMap.count(identify_if6_l6);
1546 count_if6_l7=tofDataMap.count(identify_if6_l7);
1547 count_if6_l8=tofDataMap.count(identify_if6_l8);
1548 count_if6_l9=tofDataMap.count(identify_if6_l9);
1549 count_if6_l10=tofDataMap.count(identify_if6_l10);
1550 count_if6_l11=tofDataMap.count(identify_if6_l11);
1551 count_if6_l12=tofDataMap.count(identify_if6_l12);
1552 count_if6_r1=tofDataMap.count(identify_if6_r1);
1553 count_if6_r2=tofDataMap.count(identify_if6_r2);
1554 count_if6_r3=tofDataMap.count(identify_if6_r3);
1555 count_if6_r4=tofDataMap.count(identify_if6_r4);
1556 count_if6_r5=tofDataMap.count(identify_if6_r5);
1557 count_if6_r6=tofDataMap.count(identify_if6_r6);
1558 count_if6_r7=tofDataMap.count(identify_if6_r7);
1559 count_if6_r8=tofDataMap.count(identify_if6_r8);
1560 count_if6_r9=tofDataMap.count(identify_if6_r9);
1561 count_if6_r10=tofDataMap.count(identify_if6_r10);
1562 count_if6_r11=tofDataMap.count(identify_if6_r11);
1563 count_if6_r12=tofDataMap.count(identify_if6_r12);
1564
1565
1566
1567
1568
1569
1570
1571
1574
1575
1588
1601
1604
1605
1618
1631
1632 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
1633 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
1634 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
1635 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
1636 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
1637 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
1638 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
1639 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
1640 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
1641 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
1642 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
1643 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
1644 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
1645 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
1646 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
1647 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
1648 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
1649 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
1650 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
1651 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
1652 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
1653 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
1654 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
1655 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725 }
1726 }
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759 }
1760
1761
1762
1763
1765 {
1766
1767 int tofid_it = m_id1;
1769 count_it = tofDataMap.count( identify_it );
1770
1771
1780
1789
1790
1791
1804
1805
1818
1819
1820
1849
1850
1851
1852
1853
1854 if( (neighborhood==1) || (neighborhood==2) || (neighborhood==3) || (neighborhood==4) )
1855 {
1857 count_l = tofDataMap.count(identify_l );
1859 count_r = tofDataMap.count(identify_r);
1861 count_u = tofDataMap.count(identify_u);
1863 count_b = tofDataMap.count(identify_b);
1865 count_lu = tofDataMap.count(identify_lu);
1867 count_lb = tofDataMap.count(identify_lb);
1869 count_ru = tofDataMap.count(identify_ru);
1871 count_rb = tofDataMap.count(identify_rb);
1872 }
1873
1874
1875
1876 if((neighborhood==2) || (neighborhood==3)|| (neighborhood==4))
1877 {
1879 count_luu = tofDataMap.count(identify_luu );
1881 count_ruu = tofDataMap.count(identify_ruu);
1883 count_uu = tofDataMap.count(identify_uu);
1885 count_bb = tofDataMap.count(identify_bb);
1887 count_lbb = tofDataMap.count(identify_lbb);
1889 count_rbb = tofDataMap.count(identify_rbb);
1890
1891 }
1892
1893
1894
1895 if((neighborhood==3)|| (neighborhood==4))
1896 {
1898 count_luuu = tofDataMap.count(identify_luuu );
1900 count_ruuu = tofDataMap.count(identify_ruuu);
1902 count_uuu = tofDataMap.count(identify_uuu);
1904 count_bbb = tofDataMap.count(identify_bbb);
1906 count_lbbb = tofDataMap.count(identify_lbbb);
1908 count_rbbb = tofDataMap.count(identify_rbbb);
1909
1910 }
1911
1912
1913 if((neighborhood==4))
1914 {
1916 count_luuul = tofDataMap.count(identify_luuul );
1918 count_ruuur = tofDataMap.count(identify_ruuur);
1920 count_lbbbl = tofDataMap.count(identify_lbbbl);
1922 count_rbbbr = tofDataMap.count(identify_rbbbr);
1923
1925 count_luul = tofDataMap.count(identify_luul );
1927 count_ruur = tofDataMap.count(identify_ruur);
1929 count_lbbl = tofDataMap.count(identify_lbbl);
1931 count_rbbr = tofDataMap.count(identify_rbbr);
1932
1934 count_ll = tofDataMap.count(identify_ll );
1936 count_rr = tofDataMap.count(identify_rr);
1938 count_lul = tofDataMap.count(identify_lul);
1940 count_lbl = tofDataMap.count(identify_lbl);
1942 count_rur = tofDataMap.count(identify_rur);
1944 count_rbr = tofDataMap.count(identify_rbr);
1945 }
1946
1947
1948
1949
1950 if((neighborhood==5))
1951 {
1954
1955 if((strip_number_if5)%2==0)
1956 {
1970 count_if5_m1=tofDataMap.count(identify_if5_m1);
1971 count_if5_m2=tofDataMap.count(identify_if5_m2);
1972 count_if5_m3=tofDataMap.count(identify_if5_m3);
1973 count_if5_m4=tofDataMap.count(identify_if5_m4);
1974 count_if5_m5=tofDataMap.count(identify_if5_m5);
1975 count_if5_m6=tofDataMap.count(identify_if5_m6);
1976 count_if5_m7=tofDataMap.count(identify_if5_m7);
1977 count_if5_m8=tofDataMap.count(identify_if5_m8);
1978 count_if5_m9=tofDataMap.count(identify_if5_m9);
1979 count_if5_m10=tofDataMap.count(identify_if5_m10);
1980 count_if5_m11=tofDataMap.count(identify_if5_m11);
1981 count_if5_m12=tofDataMap.count(identify_if5_m12);
1982
2007
2008
2009
2022
2023
2024
2025 count_if5_l1=tofDataMap.count(identify_if5_l1);
2026 count_if5_l2=tofDataMap.count(identify_if5_l2);
2027 count_if5_l3=tofDataMap.count(identify_if5_l3);
2028 count_if5_l4=tofDataMap.count(identify_if5_l4);
2029 count_if5_l5=tofDataMap.count(identify_if5_l5);
2030 count_if5_l6=tofDataMap.count(identify_if5_l6);
2031 count_if5_l7=tofDataMap.count(identify_if5_l7);
2032 count_if5_l8=tofDataMap.count(identify_if5_l8);
2033 count_if5_l9=tofDataMap.count(identify_if5_l9);
2034 count_if5_l10=tofDataMap.count(identify_if5_l10);
2035 count_if5_l11=tofDataMap.count(identify_if5_l11);
2036 count_if5_l12=tofDataMap.count(identify_if5_l12);
2037 count_if5_r1=tofDataMap.count(identify_if5_r1);
2038 count_if5_r2=tofDataMap.count(identify_if5_r2);
2039 count_if5_r3=tofDataMap.count(identify_if5_r3);
2040 count_if5_r4=tofDataMap.count(identify_if5_r4);
2041 count_if5_r5=tofDataMap.count(identify_if5_r5);
2042 count_if5_r6=tofDataMap.count(identify_if5_r6);
2043 count_if5_r7=tofDataMap.count(identify_if5_r7);
2044 count_if5_r8=tofDataMap.count(identify_if5_r8);
2045 count_if5_r9=tofDataMap.count(identify_if5_r9);
2046 count_if5_r10=tofDataMap.count(identify_if5_r10);
2047 count_if5_r11=tofDataMap.count(identify_if5_r11);
2048 count_if5_r12=tofDataMap.count(identify_if5_r12);
2049
2050
2051 }
2052 else
2053 {
2067 count_if5_m1=tofDataMap.count(identify_if5_m1);
2068 count_if5_m2=tofDataMap.count(identify_if5_m2);
2069 count_if5_m3=tofDataMap.count(identify_if5_m3);
2070 count_if5_m4=tofDataMap.count(identify_if5_m4);
2071 count_if5_m5=tofDataMap.count(identify_if5_m5);
2072 count_if5_m6=tofDataMap.count(identify_if5_m6);
2073 count_if5_m7=tofDataMap.count(identify_if5_m7);
2074 count_if5_m8=tofDataMap.count(identify_if5_m8);
2075 count_if5_m9=tofDataMap.count(identify_if5_m9);
2076 count_if5_m10=tofDataMap.count(identify_if5_m10);
2077 count_if5_m11=tofDataMap.count(identify_if5_m11);
2078 count_if5_m12=tofDataMap.count(identify_if5_m12);
2079
2104
2105
2106
2119
2120
2121 count_if5_l1=tofDataMap.count(identify_if5_l1);
2122 count_if5_l2=tofDataMap.count(identify_if5_l2);
2123 count_if5_l3=tofDataMap.count(identify_if5_l3);
2124 count_if5_l4=tofDataMap.count(identify_if5_l4);
2125 count_if5_l5=tofDataMap.count(identify_if5_l5);
2126 count_if5_l6=tofDataMap.count(identify_if5_l6);
2127 count_if5_l7=tofDataMap.count(identify_if5_l7);
2128 count_if5_l8=tofDataMap.count(identify_if5_l8);
2129 count_if5_l9=tofDataMap.count(identify_if5_l9);
2130 count_if5_l10=tofDataMap.count(identify_if5_l10);
2131 count_if5_l11=tofDataMap.count(identify_if5_l11);
2132 count_if5_l12=tofDataMap.count(identify_if5_l12);
2133 count_if5_r1=tofDataMap.count(identify_if5_r1);
2134 count_if5_r2=tofDataMap.count(identify_if5_r2);
2135 count_if5_r3=tofDataMap.count(identify_if5_r3);
2136 count_if5_r4=tofDataMap.count(identify_if5_r4);
2137 count_if5_r5=tofDataMap.count(identify_if5_r5);
2138 count_if5_r6=tofDataMap.count(identify_if5_r6);
2139 count_if5_r7=tofDataMap.count(identify_if5_r7);
2140 count_if5_r8=tofDataMap.count(identify_if5_r8);
2141 count_if5_r9=tofDataMap.count(identify_if5_r9);
2142 count_if5_r10=tofDataMap.count(identify_if5_r10);
2143 count_if5_r11=tofDataMap.count(identify_if5_r11);
2144 count_if5_r12=tofDataMap.count(identify_if5_r12);
2145
2146
2147 }
2148
2149 }
2150
2151
2152 if((neighborhood==6))
2153 {
2154
2157
2158 if((strip_number_if6)%2==0)
2159 {
2161
2174
2175
2176 count_if6_m1=tofDataMap.count(identify_if6_m1);
2177 count_if6_m2=tofDataMap.count(identify_if6_m2);
2178 count_if6_m3=tofDataMap.count(identify_if6_m3);
2179 count_if6_m4=tofDataMap.count(identify_if6_m4);
2180 count_if6_m5=tofDataMap.count(identify_if6_m5);
2181 count_if6_m6=tofDataMap.count(identify_if6_m6);
2182 count_if6_m7=tofDataMap.count(identify_if6_m7);
2183 count_if6_m8=tofDataMap.count(identify_if6_m8);
2184 count_if6_m9=tofDataMap.count(identify_if6_m9);
2185 count_if6_m10=tofDataMap.count(identify_if6_m10);
2186 count_if6_m11=tofDataMap.count(identify_if6_m11);
2187 count_if6_m12=tofDataMap.count(identify_if6_m12);
2188
2201
2214
2227
2228
2229 count_if6_l1=tofDataMap.count(identify_if6_l1);
2230 count_if6_l2=tofDataMap.count(identify_if6_l2);
2231 count_if6_l3=tofDataMap.count(identify_if6_l3);
2232 count_if6_l4=tofDataMap.count(identify_if6_l4);
2233 count_if6_l5=tofDataMap.count(identify_if6_l5);
2234 count_if6_l6=tofDataMap.count(identify_if6_l6);
2235 count_if6_l7=tofDataMap.count(identify_if6_l7);
2236 count_if6_l8=tofDataMap.count(identify_if6_l8);
2237 count_if6_l9=tofDataMap.count(identify_if6_l9);
2238 count_if6_l10=tofDataMap.count(identify_if6_l10);
2239 count_if6_l11=tofDataMap.count(identify_if6_l11);
2240 count_if6_l12=tofDataMap.count(identify_if6_l12);
2241 count_if6_r1=tofDataMap.count(identify_if6_r1);
2242 count_if6_r2=tofDataMap.count(identify_if6_r2);
2243 count_if6_r3=tofDataMap.count(identify_if6_r3);
2244 count_if6_r4=tofDataMap.count(identify_if6_r4);
2245 count_if6_r5=tofDataMap.count(identify_if6_r5);
2246 count_if6_r6=tofDataMap.count(identify_if6_r6);
2247 count_if6_r7=tofDataMap.count(identify_if6_r7);
2248 count_if6_r8=tofDataMap.count(identify_if6_r8);
2249 count_if6_r9=tofDataMap.count(identify_if6_r9);
2250 count_if6_r10=tofDataMap.count(identify_if6_r10);
2251 count_if6_r11=tofDataMap.count(identify_if6_r11);
2252 count_if6_r12=tofDataMap.count(identify_if6_r12);
2253
2254
2255
2256
2259
2260
2273
2286
2289
2290
2303
2316
2317
2318 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
2319 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
2320 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
2321 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
2322 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
2323 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
2324 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
2325 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
2326 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
2327 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
2328 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
2329 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
2330 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
2331 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
2332 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
2333 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
2334 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
2335 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
2336 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
2337 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
2338 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
2339 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
2340 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
2341 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
2342
2343
2344
2345
2346 }
2347 else
2348 {
2362 count_if6_m1=tofDataMap.count(identify_if6_m1);
2363 count_if6_m2=tofDataMap.count(identify_if6_m2);
2364 count_if6_m3=tofDataMap.count(identify_if6_m3);
2365 count_if6_m4=tofDataMap.count(identify_if6_m4);
2366 count_if6_m5=tofDataMap.count(identify_if6_m5);
2367 count_if6_m6=tofDataMap.count(identify_if6_m6);
2368 count_if6_m7=tofDataMap.count(identify_if6_m7);
2369 count_if6_m8=tofDataMap.count(identify_if6_m8);
2370 count_if6_m9=tofDataMap.count(identify_if6_m9);
2371 count_if6_m10=tofDataMap.count(identify_if6_m10);
2372 count_if6_m11=tofDataMap.count(identify_if6_m11);
2373 count_if6_m12=tofDataMap.count(identify_if6_m12);
2374
2375
2388
2389
2402
2415
2416 count_if6_l1=tofDataMap.count(identify_if6_l1);
2417 count_if6_l2=tofDataMap.count(identify_if6_l2);
2418 count_if6_l3=tofDataMap.count(identify_if6_l3);
2419 count_if6_l4=tofDataMap.count(identify_if6_l4);
2420 count_if6_l5=tofDataMap.count(identify_if6_l5);
2421 count_if6_l6=tofDataMap.count(identify_if6_l6);
2422 count_if6_l7=tofDataMap.count(identify_if6_l7);
2423 count_if6_l8=tofDataMap.count(identify_if6_l8);
2424 count_if6_l9=tofDataMap.count(identify_if6_l9);
2425 count_if6_l10=tofDataMap.count(identify_if6_l10);
2426 count_if6_l11=tofDataMap.count(identify_if6_l11);
2427 count_if6_l12=tofDataMap.count(identify_if6_l12);
2428 count_if6_r1=tofDataMap.count(identify_if6_r1);
2429 count_if6_r2=tofDataMap.count(identify_if6_r2);
2430 count_if6_r3=tofDataMap.count(identify_if6_r3);
2431 count_if6_r4=tofDataMap.count(identify_if6_r4);
2432 count_if6_r5=tofDataMap.count(identify_if6_r5);
2433 count_if6_r6=tofDataMap.count(identify_if6_r6);
2434 count_if6_r7=tofDataMap.count(identify_if6_r7);
2435 count_if6_r8=tofDataMap.count(identify_if6_r8);
2436 count_if6_r9=tofDataMap.count(identify_if6_r9);
2437 count_if6_r10=tofDataMap.count(identify_if6_r10);
2438 count_if6_r11=tofDataMap.count(identify_if6_r11);
2439 count_if6_r12=tofDataMap.count(identify_if6_r12);
2440
2441
2442
2443
2444
2445
2446
2447
2450
2451
2464
2477
2480
2481
2494
2507
2508 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
2509 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
2510 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
2511 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
2512 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
2513 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
2514 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
2515 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
2516 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
2517 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
2518 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
2519 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
2520 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
2521 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
2522 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
2523 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
2524 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
2525 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
2526 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
2527 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
2528 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
2529 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
2530 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
2531 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
2532
2533
2534
2535 }
2536 }
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566 }
2567
2569 {
2570 int tofid_it = m_id1;
2572 count_it = tofDataMap.count( identify_it );
2573
2574
2583
2592
2593
2606
2607
2608
2621
2622
2623
2652
2653
2654
2655
2656 if( (neighborhood==1) || (neighborhood==2) || (neighborhood==3) || (neighborhood==4) )
2657 {
2659 count_l = tofDataMap.count(identify_l );
2661 count_r = tofDataMap.count(identify_r);
2663 count_u = tofDataMap.count(identify_u);
2665 count_b = tofDataMap.count(identify_b);
2667 count_lu = tofDataMap.count(identify_lu);
2669 count_lb = tofDataMap.count(identify_lb);
2671 count_ru = tofDataMap.count(identify_ru);
2673 count_rb = tofDataMap.count(identify_rb);
2674 }
2675
2676 if((neighborhood==2) || (neighborhood==3)|| (neighborhood==4))
2677 {
2679 count_luu = tofDataMap.count(identify_luu );
2681 count_ruu = tofDataMap.count(identify_ruu);
2683 count_uu = tofDataMap.count(identify_uu);
2685 count_bb = tofDataMap.count(identify_bb);
2687 count_lbb = tofDataMap.count(identify_lbb);
2689 count_rbb = tofDataMap.count(identify_rbb);
2690
2691 }
2692
2693 if((neighborhood==3)|| (neighborhood==4))
2694 {
2696 count_luuu = tofDataMap.count(identify_luuu );
2698 count_ruuu = tofDataMap.count(identify_ruuu);
2700 count_uuu = tofDataMap.count(identify_uuu);
2702 count_bbb = tofDataMap.count(identify_bbb);
2704 count_lbbb = tofDataMap.count(identify_lbbb);
2706 count_rbbb = tofDataMap.count(identify_rbbb);
2707
2708 }
2709
2710
2711 if((neighborhood==4))
2712 {
2714 count_luuul = tofDataMap.count(identify_luuul );
2716 count_ruuur = tofDataMap.count(identify_ruuur);
2718 count_lbbbl = tofDataMap.count(identify_lbbbl);
2720 count_rbbbr = tofDataMap.count(identify_rbbbr);
2721
2723 count_luul = tofDataMap.count(identify_luul );
2725 count_ruur = tofDataMap.count(identify_ruur);
2727 count_lbbl = tofDataMap.count(identify_lbbl);
2729 count_rbbr = tofDataMap.count(identify_rbbr);
2730
2732 count_ll = tofDataMap.count(identify_ll );
2734 count_rr = tofDataMap.count(identify_rr);
2736 count_lul = tofDataMap.count(identify_lul);
2738 count_lbl = tofDataMap.count(identify_lbl);
2740 count_rur = tofDataMap.count(identify_rur);
2742 count_rbr = tofDataMap.count(identify_rbr);
2743 }
2744
2745
2746
2747
2748
2749 if((neighborhood==5))
2750 {
2753
2754 if((strip_number_if5)%2==0)
2755 {
2756
2770 count_if5_m1=tofDataMap.count(identify_if5_m1);
2771 count_if5_m2=tofDataMap.count(identify_if5_m2);
2772 count_if5_m3=tofDataMap.count(identify_if5_m3);
2773 count_if5_m4=tofDataMap.count(identify_if5_m4);
2774 count_if5_m5=tofDataMap.count(identify_if5_m5);
2775 count_if5_m6=tofDataMap.count(identify_if5_m6);
2776 count_if5_m7=tofDataMap.count(identify_if5_m7);
2777 count_if5_m8=tofDataMap.count(identify_if5_m8);
2778 count_if5_m9=tofDataMap.count(identify_if5_m9);
2779 count_if5_m10=tofDataMap.count(identify_if5_m10);
2780 count_if5_m11=tofDataMap.count(identify_if5_m11);
2781 count_if5_m12=tofDataMap.count(identify_if5_m12);
2782
2807
2808
2809
2822
2823
2824 count_if5_l1=tofDataMap.count(identify_if5_l1);
2825 count_if5_l2=tofDataMap.count(identify_if5_l2);
2826 count_if5_l3=tofDataMap.count(identify_if5_l3);
2827 count_if5_l4=tofDataMap.count(identify_if5_l4);
2828 count_if5_l5=tofDataMap.count(identify_if5_l5);
2829 count_if5_l6=tofDataMap.count(identify_if5_l6);
2830 count_if5_l7=tofDataMap.count(identify_if5_l7);
2831 count_if5_l8=tofDataMap.count(identify_if5_l8);
2832 count_if5_l9=tofDataMap.count(identify_if5_l9);
2833 count_if5_l10=tofDataMap.count(identify_if5_l10);
2834 count_if5_l11=tofDataMap.count(identify_if5_l11);
2835 count_if5_l12=tofDataMap.count(identify_if5_l12);
2836 count_if5_r1=tofDataMap.count(identify_if5_r1);
2837 count_if5_r2=tofDataMap.count(identify_if5_r2);
2838 count_if5_r3=tofDataMap.count(identify_if5_r3);
2839 count_if5_r4=tofDataMap.count(identify_if5_r4);
2840 count_if5_r5=tofDataMap.count(identify_if5_r5);
2841 count_if5_r6=tofDataMap.count(identify_if5_r6);
2842 count_if5_r7=tofDataMap.count(identify_if5_r7);
2843 count_if5_r8=tofDataMap.count(identify_if5_r8);
2844 count_if5_r9=tofDataMap.count(identify_if5_r9);
2845 count_if5_r10=tofDataMap.count(identify_if5_r10);
2846 count_if5_r11=tofDataMap.count(identify_if5_r11);
2847 count_if5_r12=tofDataMap.count(identify_if5_r12);
2848
2849 }
2850 else
2851 {
2865 count_if5_m1=tofDataMap.count(identify_if5_m1);
2866 count_if5_m2=tofDataMap.count(identify_if5_m2);
2867 count_if5_m3=tofDataMap.count(identify_if5_m3);
2868 count_if5_m4=tofDataMap.count(identify_if5_m4);
2869 count_if5_m5=tofDataMap.count(identify_if5_m5);
2870 count_if5_m6=tofDataMap.count(identify_if5_m6);
2871 count_if5_m7=tofDataMap.count(identify_if5_m7);
2872 count_if5_m8=tofDataMap.count(identify_if5_m8);
2873 count_if5_m9=tofDataMap.count(identify_if5_m9);
2874 count_if5_m10=tofDataMap.count(identify_if5_m10);
2875 count_if5_m11=tofDataMap.count(identify_if5_m11);
2876 count_if5_m12=tofDataMap.count(identify_if5_m12);
2877
2902
2903
2904
2917
2918
2919 count_if5_l1=tofDataMap.count(identify_if5_l1);
2920 count_if5_l2=tofDataMap.count(identify_if5_l2);
2921 count_if5_l3=tofDataMap.count(identify_if5_l3);
2922 count_if5_l4=tofDataMap.count(identify_if5_l4);
2923 count_if5_l5=tofDataMap.count(identify_if5_l5);
2924 count_if5_l6=tofDataMap.count(identify_if5_l6);
2925 count_if5_l7=tofDataMap.count(identify_if5_l7);
2926 count_if5_l8=tofDataMap.count(identify_if5_l8);
2927 count_if5_l9=tofDataMap.count(identify_if5_l9);
2928 count_if5_l10=tofDataMap.count(identify_if5_l10);
2929 count_if5_l11=tofDataMap.count(identify_if5_l11);
2930 count_if5_l12=tofDataMap.count(identify_if5_l12);
2931 count_if5_r1=tofDataMap.count(identify_if5_r1);
2932 count_if5_r2=tofDataMap.count(identify_if5_r2);
2933 count_if5_r3=tofDataMap.count(identify_if5_r3);
2934 count_if5_r4=tofDataMap.count(identify_if5_r4);
2935 count_if5_r5=tofDataMap.count(identify_if5_r5);
2936 count_if5_r6=tofDataMap.count(identify_if5_r6);
2937 count_if5_r7=tofDataMap.count(identify_if5_r7);
2938 count_if5_r8=tofDataMap.count(identify_if5_r8);
2939 count_if5_r9=tofDataMap.count(identify_if5_r9);
2940 count_if5_r10=tofDataMap.count(identify_if5_r10);
2941 count_if5_r11=tofDataMap.count(identify_if5_r11);
2942 count_if5_r12=tofDataMap.count(identify_if5_r12);
2943
2944 }
2945
2946 }
2947
2948
2949
2950 if((neighborhood==6))
2951 {
2952
2955
2956 if((strip_number_if6)%2==0)
2957 {
2959
2972
2973
2974 count_if6_m1=tofDataMap.count(identify_if6_m1);
2975 count_if6_m2=tofDataMap.count(identify_if6_m2);
2976 count_if6_m3=tofDataMap.count(identify_if6_m3);
2977 count_if6_m4=tofDataMap.count(identify_if6_m4);
2978 count_if6_m5=tofDataMap.count(identify_if6_m5);
2979 count_if6_m6=tofDataMap.count(identify_if6_m6);
2980 count_if6_m7=tofDataMap.count(identify_if6_m7);
2981 count_if6_m8=tofDataMap.count(identify_if6_m8);
2982 count_if6_m9=tofDataMap.count(identify_if6_m9);
2983 count_if6_m10=tofDataMap.count(identify_if6_m10);
2984 count_if6_m11=tofDataMap.count(identify_if6_m11);
2985 count_if6_m12=tofDataMap.count(identify_if6_m12);
2986
2999
3012
3025
3026
3027 count_if6_l1=tofDataMap.count(identify_if6_l1);
3028 count_if6_l2=tofDataMap.count(identify_if6_l2);
3029 count_if6_l3=tofDataMap.count(identify_if6_l3);
3030 count_if6_l4=tofDataMap.count(identify_if6_l4);
3031 count_if6_l5=tofDataMap.count(identify_if6_l5);
3032 count_if6_l6=tofDataMap.count(identify_if6_l6);
3033 count_if6_l7=tofDataMap.count(identify_if6_l7);
3034 count_if6_l8=tofDataMap.count(identify_if6_l8);
3035 count_if6_l9=tofDataMap.count(identify_if6_l9);
3036 count_if6_l10=tofDataMap.count(identify_if6_l10);
3037 count_if6_l11=tofDataMap.count(identify_if6_l11);
3038 count_if6_l12=tofDataMap.count(identify_if6_l12);
3039 count_if6_r1=tofDataMap.count(identify_if6_r1);
3040 count_if6_r2=tofDataMap.count(identify_if6_r2);
3041 count_if6_r3=tofDataMap.count(identify_if6_r3);
3042 count_if6_r4=tofDataMap.count(identify_if6_r4);
3043 count_if6_r5=tofDataMap.count(identify_if6_r5);
3044 count_if6_r6=tofDataMap.count(identify_if6_r6);
3045 count_if6_r7=tofDataMap.count(identify_if6_r7);
3046 count_if6_r8=tofDataMap.count(identify_if6_r8);
3047 count_if6_r9=tofDataMap.count(identify_if6_r9);
3048 count_if6_r10=tofDataMap.count(identify_if6_r10);
3049 count_if6_r11=tofDataMap.count(identify_if6_r11);
3050 count_if6_r12=tofDataMap.count(identify_if6_r12);
3051
3052
3053
3054
3057
3058
3071
3084
3087
3088
3101
3114
3115
3116 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
3117 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
3118 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
3119 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
3120 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
3121 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
3122 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
3123 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
3124 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
3125 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
3126 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
3127 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
3128 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
3129 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
3130 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
3131 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
3132 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
3133 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
3134 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
3135 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
3136 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
3137 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
3138 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
3139 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
3140
3141
3142
3143
3144 }
3145 else
3146 {
3160 count_if6_m1=tofDataMap.count(identify_if6_m1);
3161 count_if6_m2=tofDataMap.count(identify_if6_m2);
3162 count_if6_m3=tofDataMap.count(identify_if6_m3);
3163 count_if6_m4=tofDataMap.count(identify_if6_m4);
3164 count_if6_m5=tofDataMap.count(identify_if6_m5);
3165 count_if6_m6=tofDataMap.count(identify_if6_m6);
3166 count_if6_m7=tofDataMap.count(identify_if6_m7);
3167 count_if6_m8=tofDataMap.count(identify_if6_m8);
3168 count_if6_m9=tofDataMap.count(identify_if6_m9);
3169 count_if6_m10=tofDataMap.count(identify_if6_m10);
3170 count_if6_m11=tofDataMap.count(identify_if6_m11);
3171 count_if6_m12=tofDataMap.count(identify_if6_m12);
3172
3173
3186
3187
3200
3213
3214 count_if6_l1=tofDataMap.count(identify_if6_l1);
3215 count_if6_l2=tofDataMap.count(identify_if6_l2);
3216 count_if6_l3=tofDataMap.count(identify_if6_l3);
3217 count_if6_l4=tofDataMap.count(identify_if6_l4);
3218 count_if6_l5=tofDataMap.count(identify_if6_l5);
3219 count_if6_l6=tofDataMap.count(identify_if6_l6);
3220 count_if6_l7=tofDataMap.count(identify_if6_l7);
3221 count_if6_l8=tofDataMap.count(identify_if6_l8);
3222 count_if6_l9=tofDataMap.count(identify_if6_l9);
3223 count_if6_l10=tofDataMap.count(identify_if6_l10);
3224 count_if6_l11=tofDataMap.count(identify_if6_l11);
3225 count_if6_l12=tofDataMap.count(identify_if6_l12);
3226 count_if6_r1=tofDataMap.count(identify_if6_r1);
3227 count_if6_r2=tofDataMap.count(identify_if6_r2);
3228 count_if6_r3=tofDataMap.count(identify_if6_r3);
3229 count_if6_r4=tofDataMap.count(identify_if6_r4);
3230 count_if6_r5=tofDataMap.count(identify_if6_r5);
3231 count_if6_r6=tofDataMap.count(identify_if6_r6);
3232 count_if6_r7=tofDataMap.count(identify_if6_r7);
3233 count_if6_r8=tofDataMap.count(identify_if6_r8);
3234 count_if6_r9=tofDataMap.count(identify_if6_r9);
3235 count_if6_r10=tofDataMap.count(identify_if6_r10);
3236 count_if6_r11=tofDataMap.count(identify_if6_r11);
3237 count_if6_r12=tofDataMap.count(identify_if6_r12);
3238
3239
3240
3241
3242
3243
3244
3245
3248
3261
3274
3277
3290
3303
3304 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
3305 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
3306 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
3307 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
3308 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
3309 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
3310 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
3311 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
3312 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
3313 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
3314 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
3315 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
3316 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
3317 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
3318 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
3319 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
3320 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
3321 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
3322 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
3323 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
3324 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
3325 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
3326 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
3327 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
3328
3329
3330
3331 }
3332 }
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361 }
3362
3364 {
3365
3366 int tofid_it = m_id1;
3368 count_it = tofDataMap.count( identify_it );
3369
3370
3379
3388
3389
3402
3403
3404
3417
3418
3419
3448
3449
3450
3451
3452 if( (neighborhood==1) || (neighborhood==2) || (neighborhood==3) || (neighborhood==4) )
3453 {
3455 count_l = tofDataMap.count(identify_l );
3457 count_r = tofDataMap.count(identify_r);
3459 count_u = tofDataMap.count(identify_u);
3461 count_b = tofDataMap.count(identify_b);
3463 count_lu = tofDataMap.count(identify_lu);
3465 count_lb = tofDataMap.count(identify_lb);
3467 count_ru = tofDataMap.count(identify_ru);
3469 count_rb = tofDataMap.count(identify_rb);
3470 }
3471
3472 if((neighborhood==2) || (neighborhood==3)|| (neighborhood==4))
3473 {
3475 count_luu = tofDataMap.count(identify_luu );
3477 count_ruu = tofDataMap.count(identify_ruu);
3479 count_uu = tofDataMap.count(identify_uu);
3481 count_bb = tofDataMap.count(identify_bb);
3483 count_lbb = tofDataMap.count(identify_lbb);
3485 count_rbb = tofDataMap.count(identify_rbb);
3486
3487 }
3488
3489
3490 if((neighborhood==3)|| (neighborhood==4))
3491 {
3493 count_luuu = tofDataMap.count(identify_luuu );
3495 count_ruuu = tofDataMap.count(identify_ruuu);
3497 count_uuu = tofDataMap.count(identify_uuu);
3499 count_bbb = tofDataMap.count(identify_bbb);
3501 count_lbbb = tofDataMap.count(identify_lbbb);
3503 count_rbbb = tofDataMap.count(identify_rbbb);
3504
3505 }
3506
3507
3508 if((neighborhood==4))
3509 {
3511 count_luuul = tofDataMap.count(identify_luuul );
3513 count_ruuur = tofDataMap.count(identify_ruuur);
3515 count_lbbbl = tofDataMap.count(identify_lbbbl);
3517 count_rbbbr = tofDataMap.count(identify_rbbbr);
3518
3520 count_luul = tofDataMap.count(identify_luul );
3522 count_ruur = tofDataMap.count(identify_ruur);
3524 count_lbbl = tofDataMap.count(identify_lbbl);
3526 count_rbbr = tofDataMap.count(identify_rbbr);
3527
3529 count_ll = tofDataMap.count(identify_ll );
3531 count_rr = tofDataMap.count(identify_rr);
3533 count_lul = tofDataMap.count(identify_lul);
3535 count_lbl = tofDataMap.count(identify_lbl);
3537 count_rur = tofDataMap.count(identify_rur);
3539 count_rbr = tofDataMap.count(identify_rbr);
3540 }
3541
3542
3543
3544
3545
3546 if((neighborhood==5))
3547 {
3550
3551 if((strip_number_if5)%2==0)
3552 {
3566 count_if5_m1=tofDataMap.count(identify_if5_m1);
3567 count_if5_m2=tofDataMap.count(identify_if5_m2);
3568 count_if5_m3=tofDataMap.count(identify_if5_m3);
3569 count_if5_m4=tofDataMap.count(identify_if5_m4);
3570 count_if5_m5=tofDataMap.count(identify_if5_m5);
3571 count_if5_m6=tofDataMap.count(identify_if5_m6);
3572 count_if5_m7=tofDataMap.count(identify_if5_m7);
3573 count_if5_m8=tofDataMap.count(identify_if5_m8);
3574 count_if5_m9=tofDataMap.count(identify_if5_m9);
3575 count_if5_m10=tofDataMap.count(identify_if5_m10);
3576 count_if5_m11=tofDataMap.count(identify_if5_m11);
3577 count_if5_m12=tofDataMap.count(identify_if5_m12);
3578
3603
3604
3605
3618
3619
3620 count_if5_l1=tofDataMap.count(identify_if5_l1);
3621 count_if5_l2=tofDataMap.count(identify_if5_l2);
3622 count_if5_l3=tofDataMap.count(identify_if5_l3);
3623 count_if5_l4=tofDataMap.count(identify_if5_l4);
3624 count_if5_l5=tofDataMap.count(identify_if5_l5);
3625 count_if5_l6=tofDataMap.count(identify_if5_l6);
3626 count_if5_l7=tofDataMap.count(identify_if5_l7);
3627 count_if5_l8=tofDataMap.count(identify_if5_l8);
3628 count_if5_l9=tofDataMap.count(identify_if5_l9);
3629 count_if5_l10=tofDataMap.count(identify_if5_l10);
3630 count_if5_l11=tofDataMap.count(identify_if5_l11);
3631 count_if5_l12=tofDataMap.count(identify_if5_l12);
3632 count_if5_r1=tofDataMap.count(identify_if5_r1);
3633 count_if5_r2=tofDataMap.count(identify_if5_r2);
3634 count_if5_r3=tofDataMap.count(identify_if5_r3);
3635 count_if5_r4=tofDataMap.count(identify_if5_r4);
3636 count_if5_r5=tofDataMap.count(identify_if5_r5);
3637 count_if5_r6=tofDataMap.count(identify_if5_r6);
3638 count_if5_r7=tofDataMap.count(identify_if5_r7);
3639 count_if5_r8=tofDataMap.count(identify_if5_r8);
3640 count_if5_r9=tofDataMap.count(identify_if5_r9);
3641 count_if5_r10=tofDataMap.count(identify_if5_r10);
3642 count_if5_r11=tofDataMap.count(identify_if5_r11);
3643 count_if5_r12=tofDataMap.count(identify_if5_r12);
3644
3645
3646 }
3647 else
3648 {
3662 count_if5_m1=tofDataMap.count(identify_if5_m1);
3663 count_if5_m2=tofDataMap.count(identify_if5_m2);
3664 count_if5_m3=tofDataMap.count(identify_if5_m3);
3665 count_if5_m4=tofDataMap.count(identify_if5_m4);
3666 count_if5_m5=tofDataMap.count(identify_if5_m5);
3667 count_if5_m6=tofDataMap.count(identify_if5_m6);
3668 count_if5_m7=tofDataMap.count(identify_if5_m7);
3669 count_if5_m8=tofDataMap.count(identify_if5_m8);
3670 count_if5_m9=tofDataMap.count(identify_if5_m9);
3671 count_if5_m10=tofDataMap.count(identify_if5_m10);
3672 count_if5_m11=tofDataMap.count(identify_if5_m11);
3673 count_if5_m12=tofDataMap.count(identify_if5_m12);
3674
3699
3700
3701
3714
3715
3716 count_if5_l1=tofDataMap.count(identify_if5_l1);
3717 count_if5_l2=tofDataMap.count(identify_if5_l2);
3718 count_if5_l3=tofDataMap.count(identify_if5_l3);
3719 count_if5_l4=tofDataMap.count(identify_if5_l4);
3720 count_if5_l5=tofDataMap.count(identify_if5_l5);
3721 count_if5_l6=tofDataMap.count(identify_if5_l6);
3722 count_if5_l7=tofDataMap.count(identify_if5_l7);
3723 count_if5_l8=tofDataMap.count(identify_if5_l8);
3724 count_if5_l9=tofDataMap.count(identify_if5_l9);
3725 count_if5_l10=tofDataMap.count(identify_if5_l10);
3726 count_if5_l11=tofDataMap.count(identify_if5_l11);
3727 count_if5_l12=tofDataMap.count(identify_if5_l12);
3728 count_if5_r1=tofDataMap.count(identify_if5_r1);
3729 count_if5_r2=tofDataMap.count(identify_if5_r2);
3730 count_if5_r3=tofDataMap.count(identify_if5_r3);
3731 count_if5_r4=tofDataMap.count(identify_if5_r4);
3732 count_if5_r5=tofDataMap.count(identify_if5_r5);
3733 count_if5_r6=tofDataMap.count(identify_if5_r6);
3734 count_if5_r7=tofDataMap.count(identify_if5_r7);
3735 count_if5_r8=tofDataMap.count(identify_if5_r8);
3736 count_if5_r9=tofDataMap.count(identify_if5_r9);
3737 count_if5_r10=tofDataMap.count(identify_if5_r10);
3738 count_if5_r11=tofDataMap.count(identify_if5_r11);
3739 count_if5_r12=tofDataMap.count(identify_if5_r12);
3740
3741
3742 }
3743
3744 }
3745
3746
3747
3748
3749
3750 if((neighborhood==6))
3751 {
3752
3755
3756 if((strip_number_if6)%2==0)
3757 {
3759
3772
3773
3774 count_if6_m1=tofDataMap.count(identify_if6_m1);
3775 count_if6_m2=tofDataMap.count(identify_if6_m2);
3776 count_if6_m3=tofDataMap.count(identify_if6_m3);
3777 count_if6_m4=tofDataMap.count(identify_if6_m4);
3778 count_if6_m5=tofDataMap.count(identify_if6_m5);
3779 count_if6_m6=tofDataMap.count(identify_if6_m6);
3780 count_if6_m7=tofDataMap.count(identify_if6_m7);
3781 count_if6_m8=tofDataMap.count(identify_if6_m8);
3782 count_if6_m9=tofDataMap.count(identify_if6_m9);
3783 count_if6_m10=tofDataMap.count(identify_if6_m10);
3784 count_if6_m11=tofDataMap.count(identify_if6_m11);
3785 count_if6_m12=tofDataMap.count(identify_if6_m12);
3786
3799
3812
3825
3826
3827 count_if6_l1=tofDataMap.count(identify_if6_l1);
3828 count_if6_l2=tofDataMap.count(identify_if6_l2);
3829 count_if6_l3=tofDataMap.count(identify_if6_l3);
3830 count_if6_l4=tofDataMap.count(identify_if6_l4);
3831 count_if6_l5=tofDataMap.count(identify_if6_l5);
3832 count_if6_l6=tofDataMap.count(identify_if6_l6);
3833 count_if6_l7=tofDataMap.count(identify_if6_l7);
3834 count_if6_l8=tofDataMap.count(identify_if6_l8);
3835 count_if6_l9=tofDataMap.count(identify_if6_l9);
3836 count_if6_l10=tofDataMap.count(identify_if6_l10);
3837 count_if6_l11=tofDataMap.count(identify_if6_l11);
3838 count_if6_l12=tofDataMap.count(identify_if6_l12);
3839 count_if6_r1=tofDataMap.count(identify_if6_r1);
3840 count_if6_r2=tofDataMap.count(identify_if6_r2);
3841 count_if6_r3=tofDataMap.count(identify_if6_r3);
3842 count_if6_r4=tofDataMap.count(identify_if6_r4);
3843 count_if6_r5=tofDataMap.count(identify_if6_r5);
3844 count_if6_r6=tofDataMap.count(identify_if6_r6);
3845 count_if6_r7=tofDataMap.count(identify_if6_r7);
3846 count_if6_r8=tofDataMap.count(identify_if6_r8);
3847 count_if6_r9=tofDataMap.count(identify_if6_r9);
3848 count_if6_r10=tofDataMap.count(identify_if6_r10);
3849 count_if6_r11=tofDataMap.count(identify_if6_r11);
3850 count_if6_r12=tofDataMap.count(identify_if6_r12);
3851
3852
3853
3854
3857
3870
3883
3886
3899
3912
3913
3914 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
3915 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
3916 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
3917 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
3918 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
3919 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
3920 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
3921 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
3922 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
3923 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
3924 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
3925 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
3926 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
3927 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
3928 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
3929 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
3930 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
3931 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
3932 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
3933 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
3934 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
3935 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
3936 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
3937 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
3938
3939
3940
3941
3942 }
3943 else
3944 {
3958 count_if6_m1=tofDataMap.count(identify_if6_m1);
3959 count_if6_m2=tofDataMap.count(identify_if6_m2);
3960 count_if6_m3=tofDataMap.count(identify_if6_m3);
3961 count_if6_m4=tofDataMap.count(identify_if6_m4);
3962 count_if6_m5=tofDataMap.count(identify_if6_m5);
3963 count_if6_m6=tofDataMap.count(identify_if6_m6);
3964 count_if6_m7=tofDataMap.count(identify_if6_m7);
3965 count_if6_m8=tofDataMap.count(identify_if6_m8);
3966 count_if6_m9=tofDataMap.count(identify_if6_m9);
3967 count_if6_m10=tofDataMap.count(identify_if6_m10);
3968 count_if6_m11=tofDataMap.count(identify_if6_m11);
3969 count_if6_m12=tofDataMap.count(identify_if6_m12);
3970
3971
3984
3985
3998
4011
4012 count_if6_l1=tofDataMap.count(identify_if6_l1);
4013 count_if6_l2=tofDataMap.count(identify_if6_l2);
4014 count_if6_l3=tofDataMap.count(identify_if6_l3);
4015 count_if6_l4=tofDataMap.count(identify_if6_l4);
4016 count_if6_l5=tofDataMap.count(identify_if6_l5);
4017 count_if6_l6=tofDataMap.count(identify_if6_l6);
4018 count_if6_l7=tofDataMap.count(identify_if6_l7);
4019 count_if6_l8=tofDataMap.count(identify_if6_l8);
4020 count_if6_l9=tofDataMap.count(identify_if6_l9);
4021 count_if6_l10=tofDataMap.count(identify_if6_l10);
4022 count_if6_l11=tofDataMap.count(identify_if6_l11);
4023 count_if6_l12=tofDataMap.count(identify_if6_l12);
4024 count_if6_r1=tofDataMap.count(identify_if6_r1);
4025 count_if6_r2=tofDataMap.count(identify_if6_r2);
4026 count_if6_r3=tofDataMap.count(identify_if6_r3);
4027 count_if6_r4=tofDataMap.count(identify_if6_r4);
4028 count_if6_r5=tofDataMap.count(identify_if6_r5);
4029 count_if6_r6=tofDataMap.count(identify_if6_r6);
4030 count_if6_r7=tofDataMap.count(identify_if6_r7);
4031 count_if6_r8=tofDataMap.count(identify_if6_r8);
4032 count_if6_r9=tofDataMap.count(identify_if6_r9);
4033 count_if6_r10=tofDataMap.count(identify_if6_r10);
4034 count_if6_r11=tofDataMap.count(identify_if6_r11);
4035 count_if6_r12=tofDataMap.count(identify_if6_r12);
4036
4037
4038
4039
4040
4041
4042
4043
4046
4059
4072
4075
4088
4101
4102 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
4103 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
4104 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
4105 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
4106 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
4107 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
4108 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
4109 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
4110 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
4111 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
4112 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
4113 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
4114 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
4115 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
4116 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
4117 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
4118 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
4119 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
4120 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
4121 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
4122 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
4123 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
4124 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
4125 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
4126
4127
4128
4129 }
4130 }
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162 }
4163
4164
4165 if(0)
4166 {
4167 int data_map_size = tofDataMap.size();
4168 std::cout << "MrpcTrack setTofData Number of elements in TofDataMap " << data_map_size << std::endl;
4169
4171
4172 for ( it=tofDataMap.begin() ; it != tofDataMap.end(); it++ )
4173 std::cout << "MrpcTrack setTofData TofDataMap entries id | stripnumber "<< (*it).first <<" | " << (*it).second->tofId() << std::endl;
4174 }
4175
4176
4177
4178 if(count_it >0)
4179 {
4180
4181
4182 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_it );
4184
4185 for(
unsigned int i = 0; i < count_it; i++,
iter++ ) {
4187 }
4188 }
4189
4190 if(count_u >0)
4191 {
4192
4193
4194 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_u );
4196 for(
unsigned int i = 0; i < count_u; i++,
iter++ ) {
4198 }
4199 }
4200 if(count_b >0)
4201 {
4202
4203
4204 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_b );
4206 for(
unsigned int i = 0; i < count_b; i++,
iter++ ) {
4208 }
4209 }
4210
4211 if(count_l >0)
4212 {
4213
4214
4215 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_l );
4217 for(
unsigned int i = 0; i < count_l; i++,
iter++ ) {
4219 }
4220 }
4221
4222 if(count_r >0)
4223 {
4224
4225
4226 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_r );
4228 for(
unsigned int i = 0; i < count_r; i++,
iter++ ) {
4230 }
4231 }
4232 if(count_lu >0)
4233 {
4234
4235
4236 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lu );
4238 for(
unsigned int i = 0; i < count_lu; i++,
iter++ ) {
4240 }
4241 }
4242
4243 if(count_ru >0)
4244 {
4245
4246
4247 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ru );
4249 for(
unsigned int i = 0; i < count_ru; i++,
iter++ ) {
4251 }
4252 }
4253
4254 if(count_lb >0)
4255 {
4256
4257
4258 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lb );
4260 for(
unsigned int i = 0; i < count_lb; i++,
iter++ ) {
4262 }
4263 }
4264
4265 if(count_rb >0)
4266 {
4267
4268
4269 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rb );
4271 for(
unsigned int i = 0; i < count_rb; i++,
iter++ ) {
4273 }
4274 }
4275
4276 if(count_bb >0)
4277 {
4278
4279
4280 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_bb );
4282 for(
unsigned int i = 0; i < count_bb; i++,
iter++ ) {
4284 }
4285 }
4286 if(count_uu >0)
4287 {
4288
4289 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_uu );
4291 for(
unsigned int i = 0; i < count_uu; i++,
iter++ ) {
4293 }
4294 }
4295
4296 if(count_lbb >0)
4297 {
4298
4299
4300 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbb );
4302 for(
unsigned int i = 0; i < count_lbb; i++,
iter++ ) {
4304 }
4305 }
4306 if(count_luu >0)
4307 {
4308
4309 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luu );
4311 for(
unsigned int i = 0; i < count_luu; i++,
iter++ ) {
4313 }
4314 }
4315 if(count_rbb >0)
4316 {
4317
4318 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbb );
4320 for(
unsigned int i = 0; i < count_rbb; i++,
iter++ ) {
4322 }
4323 }
4324
4325 if(count_ruu >0)
4326 {
4327
4328 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruu );
4330 for(
unsigned int i = 0; i < count_ruu; i++,
iter++ ) {
4332 }
4333 }
4334 if(count_uuu >0)
4335 {
4336
4337 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_uuu );
4339 for(
unsigned int i = 0; i < count_uuu; i++,
iter++ ) {
4341 }
4342 }
4343 if(count_bbb >0)
4344 {
4345
4346 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_bbb );
4348 for(
unsigned int i = 0; i < count_bbb; i++,
iter++ ) {
4350 }
4351 }
4352 if(count_ruuu >0)
4353 {
4354
4355 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruuu );
4357 for(
unsigned int i = 0; i < count_ruuu; i++,
iter++ ) {
4359 }
4360 }
4361 if(count_rbbb >0)
4362 {
4363
4364 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbbb );
4366 for(
unsigned int i = 0; i < count_rbbb; i++,
iter++ ) {
4368 }
4369 }
4370 if(count_luuu >0)
4371 {
4372
4373 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luuu );
4375 for(
unsigned int i = 0; i < count_luuu; i++,
iter++ ) {
4377 }
4378 }
4379 if(count_lbbb >0)
4380 {
4381
4382 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbbb );
4384 for(
unsigned int i = 0; i < count_lbbb; i++,
iter++ ) {
4386 }
4387 }
4388
4389
4390 if(count_lbbbl >0)
4391 {
4392
4393 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbbbl );
4395 for(
unsigned int i = 0; i < count_lbbbl; i++,
iter++ ) {
4397 }
4398 }
4399 if(count_lbbl >0)
4400 {
4401
4402 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbbl );
4404 for(
unsigned int i = 0; i < count_lbbl; i++,
iter++ ) {
4406 }
4407 }
4408 if(count_lbl >0)
4409 {
4410
4411 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbl );
4413 for(
unsigned int i = 0; i < count_lbl; i++,
iter++ ) {
4415 }
4416 }
4417 if(count_ll >0)
4418 {
4419
4420 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ll );
4422 for(
unsigned int i = 0; i < count_ll; i++,
iter++ ) {
4424 }
4425 }
4426 if(count_luuul >0)
4427 {
4428
4429 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luuul );
4431 for(
unsigned int i = 0; i < count_luuul; i++,
iter++ ) {
4433 }
4434 }
4435 if(count_luul >0)
4436 {
4437
4438 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luul );
4440 for(
unsigned int i = 0; i < count_luul; i++,
iter++ ) {
4442 }
4443 }
4444 if(count_lul >0)
4445 {
4446
4447 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lul );
4449 for(
unsigned int i = 0; i < count_lul; i++,
iter++ ) {
4451 }
4452 }
4453
4454 if(count_rbbbr >0)
4455 {
4456
4457 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbbbr );
4459 for(
unsigned int i = 0; i < count_rbbbr; i++,
iter++ ) {
4461 }
4462 }
4463 if(count_rbbr >0)
4464 {
4465
4466 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbbr );
4468 for(
unsigned int i = 0; i < count_rbbr; i++,
iter++ ) {
4470 }
4471 }
4472 if(count_rbr >0)
4473 {
4474
4475 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbr );
4477 for(
unsigned int i = 0; i < count_rbr; i++,
iter++ ) {
4479 }
4480 }
4481 if(count_rr >0)
4482 {
4483
4484 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rr );
4486 for(
unsigned int i = 0; i < count_rr; i++,
iter++ ) {
4488 }
4489 }
4490 if(count_ruuur >0)
4491 {
4492
4493 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruuur );
4495 for(
unsigned int i = 0; i < count_ruuur; i++,
iter++ ) {
4497 }
4498 }
4499 if(count_ruur >0)
4500 {
4501
4502 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruur );
4504 for(
unsigned int i = 0; i < count_ruur; i++,
iter++ ) {
4506 }
4507 }
4508 if(count_rur >0)
4509 {
4510
4511 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rur );
4513 for(
unsigned int i = 0; i < count_rur; i++,
iter++ ) {
4515 }
4516 }
4517
4518
4519
4520 if(count_if5_m1>0)
4521 {
4523 if(identify_if5_m1==identify_if5_it)
help=1;
4524 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m1);
4526 for(
unsigned int i = 0; i < count_if5_m1; i++,
iter++ ) {
4528 }
4529 }
4530 if(count_if5_m2>0)
4531 {
4533 if(identify_if5_m2==identify_if5_it)
help=1;
4534 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m2);
4536 for(
unsigned int i = 0; i < count_if5_m2; i++,
iter++ ) {
4538 }
4539 }
4540 if(count_if5_m3>0)
4541 {
4543 if(identify_if5_m3==identify_if5_it)
help=1;
4544 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m3);
4546 for(
unsigned int i = 0; i < count_if5_m3; i++,
iter++ ) {
4548 }
4549 }
4550 if(count_if5_m4>0)
4551 {
4553 if(identify_if5_m4==identify_if5_it)
help=1;
4554 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m4);
4556 for(
unsigned int i = 0; i < count_if5_m4; i++,
iter++ ) {
4558 }
4559 }
4560 if(count_if5_m5>0)
4561 {
4563 if(identify_if5_m5==identify_if5_it)
help=1;
4564 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m5);
4566 for(
unsigned int i = 0; i < count_if5_m5; i++,
iter++ ) {
4568 }
4569 }
4570 if(count_if5_m6>0)
4571 {
4573 if(identify_if5_m6==identify_if5_it)
help=1;
4574 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m6);
4576 for(
unsigned int i = 0; i < count_if5_m6; i++,
iter++ ) {
4578 }
4579 }
4580 if(count_if5_m7>0)
4581 {
4583 if(identify_if5_m7==identify_if5_it)
help=1;
4584 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m7);
4586 for(
unsigned int i = 0; i < count_if5_m7; i++,
iter++ ) {
4588 }
4589 }
4590 if(count_if5_m8>0)
4591 {
4593 if(identify_if5_m8==identify_if5_it)
help=1;
4594 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m8);
4596 for(
unsigned int i = 0; i < count_if5_m8; i++,
iter++ ) {
4598 }
4599 }
4600 if(count_if5_m9>0)
4601 {
4603 if(identify_if5_m9==identify_if5_it)
help=1;
4604 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m9);
4606 for(
unsigned int i = 0; i < count_if5_m9; i++,
iter++ ) {
4608 }
4609 }
4610 if(count_if5_m10>0)
4611 {
4613 if(identify_if5_m10==identify_if5_it)
help=1;
4614 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m10);
4616 for(
unsigned int i = 0; i < count_if5_m10; i++,
iter++ ) {
4618 }
4619 }
4620 if(count_if5_m11>0)
4621 {
4623 if(identify_if5_m11==identify_if5_it)
help=1;
4624 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m11);
4626 for(
unsigned int i = 0; i < count_if5_m11; i++,
iter++ ) {
4628 }
4629 }
4630 if(count_if5_m12>0)
4631 {
4633 if(identify_if5_m12==identify_if5_it)
help=1;
4634 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m12);
4636 for(
unsigned int i = 0; i < count_if5_m12; i++,
iter++ ) {
4638 }
4639 }
4640 if(count_if5_l1>0)
4641 {
4642 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l1);
4644 for(
unsigned int i = 0; i < count_if5_l1; i++,
iter++ ) {
4646 }
4647 }
4648 if(count_if5_l2>0)
4649 {
4650 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l2);
4652 for(
unsigned int i = 0; i < count_if5_l2; i++,
iter++ ) {
4654 }
4655 }
4656 if(count_if5_l3>0)
4657 {
4658 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l3);
4660 for(
unsigned int i = 0; i < count_if5_l3; i++,
iter++ ) {
4662 }
4663 }
4664 if(count_if5_l4>0)
4665 {
4666 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l4);
4668 for(
unsigned int i = 0; i < count_if5_l4; i++,
iter++ ) {
4670 }
4671 }
4672 if(count_if5_l5>0)
4673 {
4674 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l5);
4676 for(
unsigned int i = 0; i < count_if5_l5; i++,
iter++ ) {
4678 }
4679 }
4680 if(count_if5_l6>0)
4681 {
4682 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l6);
4684 for(
unsigned int i = 0; i < count_if5_l6; i++,
iter++ ) {
4686 }
4687 }
4688 if(count_if5_l7>0)
4689 {
4690 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l7);
4692 for(
unsigned int i = 0; i < count_if5_l7; i++,
iter++ ) {
4694 }
4695 }
4696 if(count_if5_l8>0)
4697 {
4698 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l8);
4700 for(
unsigned int i = 0; i < count_if5_l8; i++,
iter++ ) {
4702 }
4703 }
4704 if(count_if5_l9>0)
4705 {
4706 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l9);
4708 for(
unsigned int i = 0; i < count_if5_l9; i++,
iter++ ) {
4710 }
4711 }
4712 if(count_if5_l10>0)
4713 {
4714 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l10);
4716 for(
unsigned int i = 0; i < count_if5_l10; i++,
iter++ ) {
4718 }
4719 }
4720 if(count_if5_l11>0)
4721 {
4722 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l11);
4724 for(
unsigned int i = 0; i < count_if5_l11; i++,
iter++ ) {
4726 }
4727 }
4728 if(count_if5_l12>0)
4729 {
4730 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l12);
4732 for(
unsigned int i = 0; i < count_if5_l12; i++,
iter++ ) {
4734 }
4735 }
4736
4737 if(count_if5_r1>0)
4738 {
4739 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r1);
4741 for(
unsigned int i = 0; i < count_if5_r1; i++,
iter++ ) {
4743 }
4744 }
4745 if(count_if5_r2>0)
4746 {
4747 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r2);
4749 for(
unsigned int i = 0; i < count_if5_r2; i++,
iter++ ) {
4751 }
4752 }
4753 if(count_if5_r3>0)
4754 {
4755 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r3);
4757 for(
unsigned int i = 0; i < count_if5_r3; i++,
iter++ ) {
4759 }
4760 }
4761 if(count_if5_r4>0)
4762 {
4763 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r4);
4765 for(
unsigned int i = 0; i < count_if5_r4; i++,
iter++ ) {
4767 }
4768 }
4769 if(count_if5_r5>0)
4770 {
4771 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r5);
4773 for(
unsigned int i = 0; i < count_if5_r5; i++,
iter++ ) {
4775 }
4776 }
4777 if(count_if5_r6>0)
4778 {
4779 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r6);
4781 for(
unsigned int i = 0; i < count_if5_r6; i++,
iter++ ) {
4783 }
4784 }
4785 if(count_if5_r7>0)
4786 {
4787 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r7);
4789 for(
unsigned int i = 0; i < count_if5_r7; i++,
iter++ ) {
4791 }
4792 }
4793 if(count_if5_r8>0)
4794 {
4795 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r8);
4797 for(
unsigned int i = 0; i < count_if5_r8; i++,
iter++ ) {
4799 }
4800 }
4801 if(count_if5_r9>0)
4802 {
4803 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r9);
4805 for(
unsigned int i = 0; i < count_if5_r9; i++,
iter++ ) {
4807 }
4808 }
4809 if(count_if5_r10>0)
4810 {
4811 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r10);
4813 for(
unsigned int i = 0; i < count_if5_r10; i++,
iter++ ) {
4815 }
4816 }
4817 if(count_if5_r11>0)
4818 {
4819 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r11);
4821 for(
unsigned int i = 0; i < count_if5_r11; i++,
iter++ ) {
4823 }
4824 }
4825 if(count_if5_r12>0)
4826 {
4827 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r12);
4829 for(
unsigned int i = 0; i < count_if5_r12; i++,
iter++ ) {
4831 }
4832 }
4833 if(count_if6_m1>0)
4834 {
4836 if(identify_if6_m1==identify_if6_it)
help=1;
4837 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m1);
4839 for(
unsigned int i = 0; i < count_if6_m1; i++,
iter++ ) {
4841 }
4842 }
4843 if(count_if6_m2>0)
4844 {
4846 if(identify_if6_m2==identify_if6_it)
help=1;
4847 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m2);
4849 for(
unsigned int i = 0; i < count_if6_m2; i++,
iter++ ) {
4851 }
4852 }
4853 if(count_if6_m3>0)
4854 {
4856 if(identify_if6_m3==identify_if6_it)
help=1;
4857 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m3);
4859 for(
unsigned int i = 0; i < count_if6_m3; i++,
iter++ ) {
4861 }
4862 }
4863 if(count_if6_m4>0)
4864 {
4866 if(identify_if6_m4==identify_if6_it)
help=1;
4867 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m4);
4869 for(
unsigned int i = 0; i < count_if6_m4; i++,
iter++ ) {
4871 }
4872 }
4873 if(count_if6_m5>0)
4874 {
4876 if(identify_if6_m5==identify_if6_it)
help=1;
4877 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m5);
4879 for(
unsigned int i = 0; i < count_if6_m5; i++,
iter++ ) {
4881 }
4882 }
4883 if(count_if6_m6>0)
4884 {
4886 if(identify_if6_m6==identify_if6_it)
help=1;
4887 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m6);
4889 for(
unsigned int i = 0; i < count_if6_m6; i++,
iter++ ) {
4891 }
4892 }
4893 if(count_if6_m7>0)
4894 {
4896 if(identify_if6_m7==identify_if6_it)
help=1;
4897 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m7);
4899 for(
unsigned int i = 0; i < count_if6_m7; i++,
iter++ ) {
4901 }
4902 }
4903 if(count_if6_m8>0)
4904 {
4906 if(identify_if6_m8==identify_if6_it)
help=1;
4907 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m8);
4909 for(
unsigned int i = 0; i < count_if6_m8; i++,
iter++ ) {
4911 }
4912 }
4913 if(count_if6_m9>0)
4914 {
4916 if(identify_if6_m9==identify_if6_it)
help=1;
4917 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m9);
4919 for(
unsigned int i = 0; i < count_if6_m9; i++,
iter++ ) {
4921 }
4922 }
4923 if(count_if6_m10>0)
4924 {
4926 if(identify_if6_m10==identify_if6_it)
help=1;
4927 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m10);
4929 for(
unsigned int i = 0; i < count_if6_m10; i++,
iter++ ) {
4931 }
4932 }
4933 if(count_if6_m11>0)
4934 {
4936 if(identify_if6_m11==identify_if6_it)
help=1;
4937 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m11);
4939 for(
unsigned int i = 0; i < count_if6_m11; i++,
iter++ ) {
4941 }
4942 }
4943 if(count_if6_m12>0)
4944 {
4946 if(identify_if6_m12==identify_if6_it)
help=1;
4947 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m12);
4949 for(
unsigned int i = 0; i < count_if6_m12; i++,
iter++ ) {
4951 }
4952 }
4953 if(count_if6_l1>0)
4954 {
4955 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l1);
4957 for(
unsigned int i = 0; i < count_if6_l1; i++,
iter++ ) {
4959 }
4960 }
4961 if(count_if6_l2>0)
4962 {
4963 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l2);
4965 for(
unsigned int i = 0; i < count_if6_l2; i++,
iter++ ) {
4967 }
4968 }
4969 if(count_if6_l3>0)
4970 {
4971 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l3);
4973 for(
unsigned int i = 0; i < count_if6_l3; i++,
iter++ ) {
4975 }
4976 }
4977 if(count_if6_l4>0)
4978 {
4979 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l4);
4981 for(
unsigned int i = 0; i < count_if6_l4; i++,
iter++ ) {
4983 }
4984 }
4985 if(count_if6_l5>0)
4986 {
4987 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l5);
4989 for(
unsigned int i = 0; i < count_if6_l5; i++,
iter++ ) {
4991 }
4992 }
4993 if(count_if6_l6>0)
4994 {
4995 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l6);
4997 for(
unsigned int i = 0; i < count_if6_l6; i++,
iter++ ) {
4999 }
5000 }
5001 if(count_if6_l7>0)
5002 {
5003 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l7);
5005 for(
unsigned int i = 0; i < count_if6_l7; i++,
iter++ ) {
5007 }
5008 }
5009 if(count_if6_l8>0)
5010 {
5011 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l8);
5013 for(
unsigned int i = 0; i < count_if6_l8; i++,
iter++ ) {
5015 }
5016 }
5017 if(count_if6_l9>0)
5018 {
5019 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l9);
5021 for(
unsigned int i = 0; i < count_if6_l9; i++,
iter++ ) {
5023 }
5024 }
5025 if(count_if6_l10>0)
5026 {
5027 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l10);
5029 for(
unsigned int i = 0; i < count_if6_l10; i++,
iter++ ) {
5031 }
5032 }
5033 if(count_if6_l11>0)
5034 {
5035 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l11);
5037 for(
unsigned int i = 0; i < count_if6_l11; i++,
iter++ ) {
5039 }
5040 }
5041 if(count_if6_l12>0)
5042 {
5043 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l12);
5045 for(
unsigned int i = 0; i < count_if6_l12; i++,
iter++ ) {
5047 }
5048 }
5049
5050 if(count_if6_r1>0)
5051 {
5052 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r1);
5054 for(
unsigned int i = 0; i < count_if6_r1; i++,
iter++ ) {
5056 }
5057 }
5058 if(count_if6_r2>0)
5059 {
5060 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r2);
5062 for(
unsigned int i = 0; i < count_if6_r2; i++,
iter++ ) {
5064 }
5065 }
5066 if(count_if6_r3>0)
5067 {
5068 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r3);
5070 for(
unsigned int i = 0; i < count_if6_r3; i++,
iter++ ) {
5072 }
5073 }
5074 if(count_if6_r4>0)
5075 {
5076 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r4);
5078 for(
unsigned int i = 0; i < count_if6_r4; i++,
iter++ ) {
5080 }
5081 }
5082 if(count_if6_r5>0)
5083 {
5084 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r5);
5086 for(
unsigned int i = 0; i < count_if6_r5; i++,
iter++ ) {
5088 }
5089 }
5090 if(count_if6_r6>0)
5091 {
5092 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r6);
5094 for(
unsigned int i = 0; i < count_if6_r6; i++,
iter++ ) {
5096 }
5097 }
5098 if(count_if6_r7>0)
5099 {
5100 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r7);
5102 for(
unsigned int i = 0; i < count_if6_r7; i++,
iter++ ) {
5104 }
5105 }
5106 if(count_if6_r8>0)
5107 {
5108 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r8);
5110 for(
unsigned int i = 0; i < count_if6_r8; i++,
iter++ ) {
5112 }
5113 }
5114 if(count_if6_r9>0)
5115 {
5116 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r9);
5118 for(
unsigned int i = 0; i < count_if6_r9; i++,
iter++ ) {
5120 }
5121 }
5122 if(count_if6_r10>0)
5123 {
5124 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r10);
5126 for(
unsigned int i = 0; i < count_if6_r10; i++,
iter++ ) {
5128 }
5129 }
5130 if(count_if6_r11>0)
5131 {
5132 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r11);
5134 for(
unsigned int i = 0; i < count_if6_r11; i++,
iter++ ) {
5136 }
5137 }
5138 if(count_if6_r12>0)
5139 {
5140 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r12);
5142 for(
unsigned int i = 0; i < count_if6_r12; i++,
iter++ ) {
5144 }
5145 }
5146 if(count_if6_ll1>0)
5147 {
5148 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll1);
5150 for(
unsigned int i = 0; i < count_if6_ll1; i++,
iter++ ) {
5152 }
5153 }
5154 if(count_if6_ll2>0)
5155 {
5156 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll2);
5158 for(
unsigned int i = 0; i < count_if6_ll2; i++,
iter++ ) {
5160 }
5161 }
5162 if(count_if6_ll3>0)
5163 {
5164 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll3);
5166 for(
unsigned int i = 0; i < count_if6_ll3; i++,
iter++ ) {
5168 }
5169 }
5170 if(count_if6_ll4>0)
5171 {
5172 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll4);
5174 for(
unsigned int i = 0; i < count_if6_ll4; i++,
iter++ ) {
5176 }
5177 }
5178 if(count_if6_ll5>0)
5179 {
5180 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll5);
5182 for(
unsigned int i = 0; i < count_if6_ll5; i++,
iter++ ) {
5184 }
5185 }
5186 if(count_if6_ll6>0)
5187 {
5188 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll6);
5190 for(
unsigned int i = 0; i < count_if6_ll6; i++,
iter++ ) {
5192 }
5193 }
5194 if(count_if6_ll7>0)
5195 {
5196 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll7);
5198 for(
unsigned int i = 0; i < count_if6_ll7; i++,
iter++ ) {
5200 }
5201 }
5202 if(count_if6_ll8>0)
5203 {
5204 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll8);
5206 for(
unsigned int i = 0; i < count_if6_ll8; i++,
iter++ ) {
5208 }
5209 }
5210 if(count_if6_ll9>0)
5211 {
5212 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll9);
5214 for(
unsigned int i = 0; i < count_if6_ll9; i++,
iter++ ) {
5216 }
5217 }
5218 if(count_if6_ll10>0)
5219 {
5220 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll10);
5222 for(
unsigned int i = 0; i < count_if6_ll10; i++,
iter++ ) {
5224 }
5225 }
5226 if(count_if6_ll11>0)
5227 {
5228 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll11);
5230 for(
unsigned int i = 0; i < count_if6_ll11; i++,
iter++ ) {
5232 }
5233 }
5234 if(count_if6_ll12>0)
5235 {
5236 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll12);
5238 for(
unsigned int i = 0; i < count_if6_ll12; i++,
iter++ ) {
5240 }
5241 }
5242
5243 if(count_if6_rr1>0)
5244 {
5245 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr1);
5247 for(
unsigned int i = 0; i < count_if6_rr1; i++,
iter++ ) {
5249 }
5250 }
5251 if(count_if6_rr2>0)
5252 {
5253 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr2);
5255 for(
unsigned int i = 0; i < count_if6_rr2; i++,
iter++ ) {
5257 }
5258 }
5259 if(count_if6_rr3>0)
5260 {
5261 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr3);
5263 for(
unsigned int i = 0; i < count_if6_rr3; i++,
iter++ ) {
5265 }
5266 }
5267 if(count_if6_rr4>0)
5268 {
5269 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr4);
5271 for(
unsigned int i = 0; i < count_if6_rr4; i++,
iter++ ) {
5273 }
5274 }
5275 if(count_if6_rr5>0)
5276 {
5277 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr5);
5279 for(
unsigned int i = 0; i < count_if6_rr5; i++,
iter++ ) {
5281 }
5282 }
5283 if(count_if6_rr6>0)
5284 {
5285 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr6);
5287 for(
unsigned int i = 0; i < count_if6_rr6; i++,
iter++ ) {
5289 }
5290 }
5291 if(count_if6_rr7>0)
5292 {
5293 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr7);
5295 for(
unsigned int i = 0; i < count_if6_rr7; i++,
iter++ ) {
5297 }
5298 }
5299 if(count_if6_rr8>0)
5300 {
5301 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr8);
5303 for(
unsigned int i = 0; i < count_if6_rr8; i++,
iter++ ) {
5305 }
5306 }
5307 if(count_if6_rr9>0)
5308 {
5309 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr9);
5311 for(
unsigned int i = 0; i < count_if6_rr9; i++,
iter++ ) {
5313 }
5314 }
5315 if(count_if6_rr10>0)
5316 {
5317 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr10);
5319 for(
unsigned int i = 0; i < count_if6_rr10; i++,
iter++ ) {
5321 }
5322 }
5323 if(count_if6_rr11>0)
5324 {
5325 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr11);
5327 for(
unsigned int i = 0; i < count_if6_rr11; i++,
iter++ ) {
5329 }
5330 }
5331 if(count_if6_rr12>0)
5332 {
5333 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr12);
5335 for(
unsigned int i = 0; i < count_if6_rr12; i++,
iter++ ) {
5337 }
5338 }
5339
5340
5341
5342
5343
5344
5345
5346
5348 int tofid0 = m_id1;
5350 count0 = tofDataMap.count( identify0 );
5351 int tofid1 = tofid0 - 1;
5352 if( tofid1 == -1 ) { tofid1 = 87; }
5354 count1 = tofDataMap.count( identify1 );
5355 int tofid2 = tofid0 + 1;
5356 if( tofid2 == 88 ) { tofid2 = 0; }
5358 count2 = tofDataMap.count( identify2 );
5359
5360 }
5361
5362 if( ( m_hitCase ==
EastEndcap ) && ( m_id1 > -1 ) ) {
5363 int tofid0 = m_id1;
5365 count0 = tofDataMap.count( identify0 );
5366 int tofid1 = tofid0 - 1;
5367 if( tofid1 == -1 ) { tofid1 = 47; }
5369 count1 = tofDataMap.count( identify1 );
5370 int tofid2 = tofid0 + 1;
5371 if( tofid2 == 48 ) { tofid2 = 0; }
5373 count2 = tofDataMap.count( identify2 );
5374
5375
5376 }
5377
5378 if( ( m_hitCase ==
WestEndcap ) && ( m_id1 > -1 ) ) {
5379 int tofid0 = m_id1 - 48;
5381 count0 = tofDataMap.count( identify0 );
5382 int tofid1 = tofid0 - 1;
5383 if( tofid1 == -1 ) { tofid1 = 47; }
5385 count1 = tofDataMap.count( identify1 );
5386 int tofid2 = tofid0 + 1;
5387 if( tofid2 == 48 ) { tofid2 = 0; }
5389 count2 = tofDataMap.count( identify2 );
5390
5391
5392 }
5393
5394 if( count0 > 0 ) {
5395 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify0 );
5397 for(
unsigned int i = 0; i < count0; i++,
iter++ ) {
5399 }
5400 }
5401 if( count1 > 0 ) {
5402 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify1 );
5404 for(
unsigned int i = 0; i < count1; i++,
iter++ ) {
5406 }
5407 }
5408 if( count2 > 0 ) {
5409 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify2 );
5411 for(
unsigned int i = 0; i < count2; i++,
iter++ ) {
5413 }
5414 }
5415
5416 if( ( count0 == 0 ) && ( count1 == 0 ) && ( count2 == 0 )
5417 && (count_it==0) && (count_l==0) && (count_r==0) && (count_b==0) && (count_u==0) && (count_ru==0) && (count_rb==0) && (count_lu==0) && (count_lb==0)
5418 && (count_uu==0) && (count_bb==0) && (count_ruu==0) && (count_luu==0) && (count_rbb==0) && (count_lbb==0)
5419
5420 && (count_luuu==0) && (count_lbbb==0) && (count_ruuu==0) && (count_rbbb==0) && (count_uuu==0) && (count_bbb==0)
5421
5422 && (count_luuul==0) && (count_lbbbl==0) && (count_ruuur==0) && (count_rbbbr==0) && (count_luul==0) && (count_lbbl==0) && (count_ruur==0) && (count_rbbr==0)
5423 && (count_lul==0) && (count_lbl==0) && (count_rur==0) && (count_rbr==0) && (count_ll==0) && (count_rr==0)
5424
5425 && (count_if5_m1 ==0) && (count_if5_m2 ==0) && (count_if5_m3 ==0) && (count_if5_m4 ==0) && (count_if5_m5 ==0) && (count_if5_m6 ==0) && (count_if5_m7 ==0) && (count_if5_m8 ==0) && (count_if5_m9 ==0)
5426 && (count_if5_m10 ==0) && (count_if5_m11 ==0) && (count_if5_m12 ==0)
5427 && (count_if5_l1 ==0) && (count_if5_l2 ==0) && (count_if5_l3 ==0)&& (count_if5_l4 ==0) && (count_if5_l5 ==0) && (count_if5_l6 ==0) && (count_if5_l7 ==0)&& (count_if5_l8 ==0) && (count_if5_l9 ==0)
5428 && (count_if5_l10 ==0) && (count_if5_l11 ==0) && (count_if5_l12 ==0)
5429 && (count_if5_r1 ==0) && (count_if5_r2 ==0) && (count_if5_r3 ==0)&& (count_if5_r4 ==0) && (count_if5_r5 ==0) && (count_if5_r6 ==0) && (count_if5_r7 ==0)&& (count_if5_r8 ==0) && (count_if5_r9 ==0)
5430 && (count_if5_r10 ==0) && (count_if5_r11 ==0) && (count_if5_r12 ==0)
5431
5432 && (count_if6_m1 ==0) && (count_if6_m2 ==0) && (count_if6_m3 ==0) && (count_if6_m4 ==0) && (count_if6_m5 ==0) && (count_if6_m6 ==0) && (count_if6_m7 ==0) && (count_if6_m8 ==0) && (count_if6_m9 ==0)
5433 && (count_if6_m10 ==0) && (count_if6_m11 ==0) && (count_if6_m12 ==0)
5434 && (count_if6_l1 ==0) && (count_if6_l2 ==0) && (count_if6_l3 ==0)&& (count_if6_l4 ==0) && (count_if6_l5 ==0) && (count_if6_l6 ==0) && (count_if6_l7 ==0)&& (count_if6_l8 ==0) && (count_if6_l9 ==0)
5435 && (count_if6_l10 ==0) && (count_if6_l11 ==0) && (count_if6_l12 ==0)
5436 && (count_if6_r1 ==0) && (count_if6_r2 ==0) && (count_if6_r3 ==0)&& (count_if6_r4 ==0) && (count_if6_r5 ==0) && (count_if6_r6 ==0) && (count_if6_r7 ==0)&& (count_if6_r8 ==0) && (count_if6_r9 ==0)
5437 && (count_if6_r10 ==0) && (count_if6_r11 ==0) && (count_if6_r12 ==0)
5438 && (count_if6_ll1 ==0) && (count_if6_ll2 ==0) && (count_if6_ll3 ==0)&& (count_if6_ll4 ==0) && (count_if6_ll5 ==0) && (count_if6_ll6 ==0) && (count_if6_ll7 ==0)&& (count_if6_ll8 ==0)
5439 && (count_if6_ll9 ==0) && (count_if6_ll10 ==0) && (count_if6_ll11 ==0) && (count_if6_ll12 ==0)
5440 && (count_if6_rr1 ==0) && (count_if6_rr2 ==0) && (count_if6_rr3 ==0)&& (count_if6_rr4 ==0) && (count_if6_rr5 ==0) && (count_if6_rr6 ==0) && (count_if6_rr7 ==0)&& (count_if6_rr8 ==0)
5441 && (count_if6_rr9 ==0) && (count_if6_rr10 ==0) && (count_if6_rr11 ==0) && (count_if6_rr12 ==0)
5442
5443 ) {
5444
5445
5448 m_quality = 12;
5449 }
5450 else {
5452 }
5453 }
5454
5456 int tofid0 = m_id2 - 88;
5458 count0 = tofDataMap.count( identify0 );
5459 int tofid1 = tofid0 - 1;
5460 if( tofid1 == -1 ) { tofid1 = 87; }
5462 count1 = tofDataMap.count( identify1 );
5463 int tofid2 = tofid0 + 1;
5464 if( tofid2 == 88 ) { tofid2 = 0; }
5466 count2 = tofDataMap.count( identify2 );
5467
5468 if( count0 > 0 ) {
5469 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify0 );
5471 for(
unsigned int i = 0; i < count0; i++,
iter++ ) {
5473 }
5474 }
5475 if( count1 > 0 ) {
5476 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify1 );
5478 for(
unsigned int i = 0; i < count1; i++,
iter++ ) {
5480 }
5481 }
5482 if( count2 > 0 ) {
5483 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify2 );
5485 for(
unsigned int i = 0; i < count2; i++,
iter++ ) {
5487 }
5488 }
5489
5490 if( ( count0 == 0 ) && ( count1 == 0 ) && ( count2 == 0 ) ) {
5493 m_quality = 12;
5494 }
5495 else {
5497 }
5498 }
5499 }
5500
5501 return;
5502}
std::multimap< unsignedint, TofData * >::iterator IterTofDataMap
int get_mrpc_partid_neighbour(std::string, int, int)
void tofDataAnalysis(TofData *tof, unsigned int iflag)
int get_mrpc_stripid_neighbour(std::string, int, int)
static value_type getIntID_mrpc(int partID, int scinNum)
static value_type getIntID(int barrel_ec, int layer, int phi_module, int end)