402 if( m_hitCase ==
NoHit )
return;
404 unsigned int identify0 = 0x0000c000;
405 unsigned int identify1 = 0x0000c000;
406 unsigned int identify2 = 0x0000c000;
407 unsigned int count0 = 0;
408 unsigned int count1 = 0;
409 unsigned int count2 = 0;
412 unsigned int identify_it=0x0000c000;
413 unsigned int identify_u =0x0000c000;
414 unsigned int identify_b =0x0000c000;
415 unsigned int identify_l =0x0000c000;
416 unsigned int identify_lu=0x0000c000;
417 unsigned int identify_lb=0x0000c000;
418 unsigned int identify_r =0x0000c000;
419 unsigned int identify_ru=0x0000c000;
420 unsigned int identify_rb=0x0000c000;
422 unsigned int identify_luu =0x0000c000;
423 unsigned int identify_lbb =0x0000c000;
424 unsigned int identify_ruu =0x0000c000;
425 unsigned int identify_rbb =0x0000c000;
426 unsigned int identify_uu =0x0000c000;
427 unsigned int identify_bb =0x0000c000;
429 unsigned int identify_luuu =0x0000c000;
430 unsigned int identify_lbbb =0x0000c000;
431 unsigned int identify_ruuu =0x0000c000;
432 unsigned int identify_rbbb =0x0000c000;
433 unsigned int identify_uuu =0x0000c000;
434 unsigned int identify_bbb =0x0000c000;
437 unsigned int identify_luuul =0x0000c000;
438 unsigned int identify_lbbbl =0x0000c000;
439 unsigned int identify_ruuur =0x0000c000;
440 unsigned int identify_rbbbr =0x0000c000;
441 unsigned int identify_luul =0x0000c000;
442 unsigned int identify_lbbl =0x0000c000;
443 unsigned int identify_ruur =0x0000c000;
444 unsigned int identify_rbbr =0x0000c000;
445 unsigned int identify_ll =0x0000c000;
446 unsigned int identify_lul=0x0000c000;
447 unsigned int identify_lbl=0x0000c000;
448 unsigned int identify_rr =0x0000c000;
449 unsigned int identify_rur=0x0000c000;
450 unsigned int identify_rbr=0x0000c000;
454 unsigned int count_it =0;
455 unsigned int count_u =0;
456 unsigned int count_b =0;
457 unsigned int count_l =0;
458 unsigned int count_lu =0;
459 unsigned int count_lb =0;
460 unsigned int count_r =0;
461 unsigned int count_ru =0;
462 unsigned int count_rb =0;
465 unsigned int count_luu =0;
466 unsigned int count_lbb =0;
467 unsigned int count_ruu =0;
468 unsigned int count_rbb =0;
469 unsigned int count_uu =0;
470 unsigned int count_bb =0;
473 unsigned int count_luuu =0;
474 unsigned int count_lbbb =0;
475 unsigned int count_ruuu =0;
476 unsigned int count_rbbb =0;
477 unsigned int count_uuu =0;
478 unsigned int count_bbb =0;
481 unsigned int count_luuul =0;
482 unsigned int count_lbbbl =0;
483 unsigned int count_ruuur =0;
484 unsigned int count_rbbbr =0;
485 unsigned int count_luul =0;
486 unsigned int count_lbbl =0;
487 unsigned int count_ruur =0;
488 unsigned int count_rbbr =0;
489 unsigned int count_ll =0;
490 unsigned int count_lul =0;
491 unsigned int count_lbl =0;
492 unsigned int count_rr =0;
493 unsigned int count_rur =0;
494 unsigned int count_rbr =0;
506 unsigned int identify_if5_it=0x0000c000;
507 unsigned int identify_if5_m1=0x0000c000;
508 unsigned int identify_if5_m2=0x0000c000;
509 unsigned int identify_if5_m3=0x0000c000;
510 unsigned int identify_if5_m4=0x0000c000;
511 unsigned int identify_if5_m5=0x0000c000;
512 unsigned int identify_if5_m6=0x0000c000;
513 unsigned int identify_if5_m7=0x0000c000;
514 unsigned int identify_if5_m8=0x0000c000;
515 unsigned int identify_if5_m9=0x0000c000;
516 unsigned int identify_if5_m10=0x0000c000;
517 unsigned int identify_if5_m11=0x0000c000;
518 unsigned int identify_if5_m12=0x0000c000;
519 unsigned int identify_if5_l1=0x0000c000;
520 unsigned int identify_if5_l2=0x0000c000;
521 unsigned int identify_if5_l3=0x0000c000;
522 unsigned int identify_if5_l4=0x0000c000;
523 unsigned int identify_if5_l5=0x0000c000;
524 unsigned int identify_if5_l6=0x0000c000;
525 unsigned int identify_if5_l7=0x0000c000;
526 unsigned int identify_if5_l8=0x0000c000;
527 unsigned int identify_if5_l9=0x0000c000;
528 unsigned int identify_if5_l10=0x0000c000;
529 unsigned int identify_if5_l11=0x0000c000;
530 unsigned int identify_if5_l12=0x0000c000;
531 unsigned int identify_if5_r1=0x0000c000;
532 unsigned int identify_if5_r2=0x0000c000;
533 unsigned int identify_if5_r3=0x0000c000;
534 unsigned int identify_if5_r4=0x0000c000;
535 unsigned int identify_if5_r5=0x0000c000;
536 unsigned int identify_if5_r6=0x0000c000;
537 unsigned int identify_if5_r7=0x0000c000;
538 unsigned int identify_if5_r8=0x0000c000;
539 unsigned int identify_if5_r9=0x0000c000;
540 unsigned int identify_if5_r10=0x0000c000;
541 unsigned int identify_if5_r11=0x0000c000;
542 unsigned int identify_if5_r12=0x0000c000;
543 unsigned int count_if5_m1=0;
544 unsigned int count_if5_m2=0;
545 unsigned int count_if5_m3=0;
546 unsigned int count_if5_m4=0;
547 unsigned int count_if5_m5=0;
548 unsigned int count_if5_m6=0;
549 unsigned int count_if5_m7=0;
550 unsigned int count_if5_m8=0;
551 unsigned int count_if5_m9=0;
552 unsigned int count_if5_m10=0;
553 unsigned int count_if5_m11=0;
554 unsigned int count_if5_m12=0;
555 unsigned int count_if5_l1=0;
556 unsigned int count_if5_l2=0;
557 unsigned int count_if5_l3=0;
558 unsigned int count_if5_l4=0;
559 unsigned int count_if5_l5=0;
560 unsigned int count_if5_l6=0;
561 unsigned int count_if5_l7=0;
562 unsigned int count_if5_l8=0;
563 unsigned int count_if5_l9=0;
564 unsigned int count_if5_l10=0;
565 unsigned int count_if5_l11=0;
566 unsigned int count_if5_l12=0;
567 unsigned int count_if5_r1=0;
568 unsigned int count_if5_r2=0;
569 unsigned int count_if5_r3=0;
570 unsigned int count_if5_r4=0;
571 unsigned int count_if5_r5=0;
572 unsigned int count_if5_r6=0;
573 unsigned int count_if5_r7=0;
574 unsigned int count_if5_r8=0;
575 unsigned int count_if5_r9=0;
576 unsigned int count_if5_r10=0;
577 unsigned int count_if5_r11=0;
578 unsigned int count_if5_r12=0;
589 unsigned int identify_if6_it=0x0000c000;
590 unsigned int identify_if6_m1=0x0000c000;
591 unsigned int identify_if6_m2=0x0000c000;
592 unsigned int identify_if6_m3=0x0000c000;
593 unsigned int identify_if6_m4=0x0000c000;
594 unsigned int identify_if6_m5=0x0000c000;
595 unsigned int identify_if6_m6=0x0000c000;
596 unsigned int identify_if6_m7=0x0000c000;
597 unsigned int identify_if6_m8=0x0000c000;
598 unsigned int identify_if6_m9=0x0000c000;
599 unsigned int identify_if6_m10=0x0000c000;
600 unsigned int identify_if6_m11=0x0000c000;
601 unsigned int identify_if6_m12=0x0000c000;
602 unsigned int identify_if6_l1=0x0000c000;
603 unsigned int identify_if6_l2=0x0000c000;
604 unsigned int identify_if6_l3=0x0000c000;
605 unsigned int identify_if6_l4=0x0000c000;
606 unsigned int identify_if6_l5=0x0000c000;
607 unsigned int identify_if6_l6=0x0000c000;
608 unsigned int identify_if6_l7=0x0000c000;
609 unsigned int identify_if6_l8=0x0000c000;
610 unsigned int identify_if6_l9=0x0000c000;
611 unsigned int identify_if6_l10=0x0000c000;
612 unsigned int identify_if6_l11=0x0000c000;
613 unsigned int identify_if6_l12=0x0000c000;
614 unsigned int identify_if6_r1=0x0000c000;
615 unsigned int identify_if6_r2=0x0000c000;
616 unsigned int identify_if6_r3=0x0000c000;
617 unsigned int identify_if6_r4=0x0000c000;
618 unsigned int identify_if6_r5=0x0000c000;
619 unsigned int identify_if6_r6=0x0000c000;
620 unsigned int identify_if6_r7=0x0000c000;
621 unsigned int identify_if6_r8=0x0000c000;
622 unsigned int identify_if6_r9=0x0000c000;
623 unsigned int identify_if6_r10=0x0000c000;
624 unsigned int identify_if6_r11=0x0000c000;
625 unsigned int identify_if6_r12=0x0000c000;
626 unsigned int identify_if6_ll1=0x0000c000;
627 unsigned int identify_if6_ll2=0x0000c000;
628 unsigned int identify_if6_ll3=0x0000c000;
629 unsigned int identify_if6_ll4=0x0000c000;
630 unsigned int identify_if6_ll5=0x0000c000;
631 unsigned int identify_if6_ll6=0x0000c000;
632 unsigned int identify_if6_ll7=0x0000c000;
633 unsigned int identify_if6_ll8=0x0000c000;
634 unsigned int identify_if6_ll9=0x0000c000;
635 unsigned int identify_if6_ll10=0x0000c000;
636 unsigned int identify_if6_ll11=0x0000c000;
637 unsigned int identify_if6_ll12=0x0000c000;
638 unsigned int identify_if6_rr1=0x0000c000;
639 unsigned int identify_if6_rr2=0x0000c000;
640 unsigned int identify_if6_rr3=0x0000c000;
641 unsigned int identify_if6_rr4=0x0000c000;
642 unsigned int identify_if6_rr5=0x0000c000;
643 unsigned int identify_if6_rr6=0x0000c000;
644 unsigned int identify_if6_rr7=0x0000c000;
645 unsigned int identify_if6_rr8=0x0000c000;
646 unsigned int identify_if6_rr9=0x0000c000;
647 unsigned int identify_if6_rr10=0x0000c000;
648 unsigned int identify_if6_rr11=0x0000c000;
649 unsigned int identify_if6_rr12=0x0000c000;
650 unsigned int count_if6_m1=0;
651 unsigned int count_if6_m2=0;
652 unsigned int count_if6_m3=0;
653 unsigned int count_if6_m4=0;
654 unsigned int count_if6_m5=0;
655 unsigned int count_if6_m6=0;
656 unsigned int count_if6_m7=0;
657 unsigned int count_if6_m8=0;
658 unsigned int count_if6_m9=0;
659 unsigned int count_if6_m10=0;
660 unsigned int count_if6_m11=0;
661 unsigned int count_if6_m12=0;
662 unsigned int count_if6_l1=0;
663 unsigned int count_if6_l2=0;
664 unsigned int count_if6_l3=0;
665 unsigned int count_if6_l4=0;
666 unsigned int count_if6_l5=0;
667 unsigned int count_if6_l6=0;
668 unsigned int count_if6_l7=0;
669 unsigned int count_if6_l8=0;
670 unsigned int count_if6_l9=0;
671 unsigned int count_if6_l10=0;
672 unsigned int count_if6_l11=0;
673 unsigned int count_if6_l12=0;
674 unsigned int count_if6_r1=0;
675 unsigned int count_if6_r2=0;
676 unsigned int count_if6_r3=0;
677 unsigned int count_if6_r4=0;
678 unsigned int count_if6_r5=0;
679 unsigned int count_if6_r6=0;
680 unsigned int count_if6_r7=0;
681 unsigned int count_if6_r8=0;
682 unsigned int count_if6_r9=0;
683 unsigned int count_if6_r10=0;
684 unsigned int count_if6_r11=0;
685 unsigned int count_if6_r12=0;
686 unsigned int count_if6_ll1=0;
687 unsigned int count_if6_ll2=0;
688 unsigned int count_if6_ll3=0;
689 unsigned int count_if6_ll4=0;
690 unsigned int count_if6_ll5=0;
691 unsigned int count_if6_ll6=0;
692 unsigned int count_if6_ll7=0;
693 unsigned int count_if6_ll8=0;
694 unsigned int count_if6_ll9=0;
695 unsigned int count_if6_ll10=0;
696 unsigned int count_if6_ll11=0;
697 unsigned int count_if6_ll12=0;
698 unsigned int count_if6_rr1=0;
699 unsigned int count_if6_rr2=0;
700 unsigned int count_if6_rr3=0;
701 unsigned int count_if6_rr4=0;
702 unsigned int count_if6_rr5=0;
703 unsigned int count_if6_rr6=0;
704 unsigned int count_if6_rr7=0;
705 unsigned int count_if6_rr8=0;
706 unsigned int count_if6_rr9=0;
707 unsigned int count_if6_rr10=0;
708 unsigned int count_if6_rr11=0;
709 unsigned int count_if6_rr12=0;
713 int tofid_it = m_id1;
723 if(this_partID==0){ cout <<
"MRPCREC --- MrpcTrack --- Fatal Error: PartID is not existing ---> " << this_partID << endl;
return; }
726 count_it = tofDataMap.count( identify_it );
816 if( (neighborhood==1) || (neighborhood==2) || (neighborhood==3) || (neighborhood==4) )
819 count_l = tofDataMap.count(identify_l );
821 count_r = tofDataMap.count(identify_r);
823 count_u = tofDataMap.count(identify_u);
825 count_b = tofDataMap.count(identify_b);
827 count_lu = tofDataMap.count(identify_lu);
829 count_lb = tofDataMap.count(identify_lb);
831 count_ru = tofDataMap.count(identify_ru);
833 count_rb = tofDataMap.count(identify_rb);
837 if( (neighborhood==2) || (neighborhood==3) || (neighborhood==4) )
842 count_luu = tofDataMap.count(identify_luu );
844 count_ruu = tofDataMap.count(identify_ruu);
846 count_uu = tofDataMap.count(identify_uu);
848 count_bb = tofDataMap.count(identify_bb);
850 count_lbb = tofDataMap.count(identify_lbb);
852 count_rbb = tofDataMap.count(identify_rbb);
856 if((neighborhood==3) || (neighborhood==4))
861 count_luuu = tofDataMap.count(identify_luuu );
863 count_ruuu = tofDataMap.count(identify_ruuu);
865 count_uuu = tofDataMap.count(identify_uuu);
867 count_bbb = tofDataMap.count(identify_bbb);
869 count_lbbb = tofDataMap.count(identify_lbbb);
871 count_rbbb = tofDataMap.count(identify_rbbb);
876 if((neighborhood==4))
880 count_luuul = tofDataMap.count(identify_luuul );
882 count_ruuur = tofDataMap.count(identify_ruuur);
884 count_lbbbl = tofDataMap.count(identify_lbbbl);
886 count_rbbbr = tofDataMap.count(identify_rbbbr);
889 count_luul = tofDataMap.count(identify_luul );
891 count_ruur = tofDataMap.count(identify_ruur);
893 count_lbbl = tofDataMap.count(identify_lbbl);
895 count_rbbr = tofDataMap.count(identify_rbbr);
898 count_ll = tofDataMap.count(identify_ll );
900 count_rr = tofDataMap.count(identify_rr);
902 count_lul = tofDataMap.count(identify_lul);
904 count_lbl = tofDataMap.count(identify_lbl);
906 count_rur = tofDataMap.count(identify_rur);
908 count_rbr = tofDataMap.count(identify_rbr);
914 if((neighborhood==5))
920 if((strip_number_if5)%2==0)
938 if(identify_it!=identify_if5_m1 )count_if5_m1=tofDataMap.count(identify_if5_m1);
939 if(identify_it!=identify_if5_m2 )count_if5_m2=tofDataMap.count(identify_if5_m2);
940 if(identify_it!=identify_if5_m3 )count_if5_m3=tofDataMap.count(identify_if5_m3);
941 if(identify_it!=identify_if5_m4 )count_if5_m4=tofDataMap.count(identify_if5_m4);
942 if(identify_it!=identify_if5_m5 )count_if5_m5=tofDataMap.count(identify_if5_m5);
943 if(identify_it!=identify_if5_m6 )count_if5_m6=tofDataMap.count(identify_if5_m6);
944 if(identify_it!=identify_if5_m7 )count_if5_m7=tofDataMap.count(identify_if5_m7);
945 if(identify_it!=identify_if5_m8 )count_if5_m8=tofDataMap.count(identify_if5_m8);
946 if(identify_it!=identify_if5_m9 )count_if5_m9=tofDataMap.count(identify_if5_m9);
947 if(identify_it!=identify_if5_m10 )count_if5_m10=tofDataMap.count(identify_if5_m10);
948 if(identify_it!=identify_if5_m11 )count_if5_m11=tofDataMap.count(identify_if5_m11);
949 if(identify_it!=identify_if5_m12 )count_if5_m12=tofDataMap.count(identify_if5_m12);
990 count_if5_l1=tofDataMap.count(identify_if5_l1);
991 count_if5_l2=tofDataMap.count(identify_if5_l2);
992 count_if5_l3=tofDataMap.count(identify_if5_l3);
993 count_if5_l4=tofDataMap.count(identify_if5_l4);
994 count_if5_l5=tofDataMap.count(identify_if5_l5);
995 count_if5_l6=tofDataMap.count(identify_if5_l6);
996 count_if5_l7=tofDataMap.count(identify_if5_l7);
997 count_if5_l8=tofDataMap.count(identify_if5_l8);
998 count_if5_l9=tofDataMap.count(identify_if5_l9);
999 count_if5_l10=tofDataMap.count(identify_if5_l10);
1000 count_if5_l11=tofDataMap.count(identify_if5_l11);
1001 count_if5_l12=tofDataMap.count(identify_if5_l12);
1002 count_if5_r1=tofDataMap.count(identify_if5_r1);
1003 count_if5_r2=tofDataMap.count(identify_if5_r2);
1004 count_if5_r3=tofDataMap.count(identify_if5_r3);
1005 count_if5_r4=tofDataMap.count(identify_if5_r4);
1006 count_if5_r5=tofDataMap.count(identify_if5_r5);
1007 count_if5_r6=tofDataMap.count(identify_if5_r6);
1008 count_if5_r7=tofDataMap.count(identify_if5_r7);
1009 count_if5_r8=tofDataMap.count(identify_if5_r8);
1010 count_if5_r9=tofDataMap.count(identify_if5_r9);
1011 count_if5_r10=tofDataMap.count(identify_if5_r10);
1012 count_if5_r11=tofDataMap.count(identify_if5_r11);
1013 count_if5_r12=tofDataMap.count(identify_if5_r12);
1073 if(identify_it!=identify_if5_m1 )count_if5_m1=tofDataMap.count(identify_if5_m1);
1074 if(identify_it!=identify_if5_m2 )count_if5_m2=tofDataMap.count(identify_if5_m2);
1075 if(identify_it!=identify_if5_m3 )count_if5_m3=tofDataMap.count(identify_if5_m3);
1076 if(identify_it!=identify_if5_m4 )count_if5_m4=tofDataMap.count(identify_if5_m4);
1077 if(identify_it!=identify_if5_m5 )count_if5_m5=tofDataMap.count(identify_if5_m5);
1078 if(identify_it!=identify_if5_m6 ) count_if5_m6=tofDataMap.count(identify_if5_m6);
1079 if(identify_it!=identify_if5_m7 )count_if5_m7=tofDataMap.count(identify_if5_m7);
1080 if(identify_it!=identify_if5_m8 )count_if5_m8=tofDataMap.count(identify_if5_m8);
1081 if(identify_it!=identify_if5_m9 )count_if5_m9=tofDataMap.count(identify_if5_m9);
1082 if(identify_it!=identify_if5_m10 )count_if5_m10=tofDataMap.count(identify_if5_m10);
1083 if(identify_it!=identify_if5_m11 )count_if5_m11=tofDataMap.count(identify_if5_m11);
1084 if(identify_it!=identify_if5_m12 )count_if5_m12=tofDataMap.count(identify_if5_m12);
1171 count_if5_l1=tofDataMap.count(identify_if5_l1);
1172 count_if5_l2=tofDataMap.count(identify_if5_l2);
1173 count_if5_l3=tofDataMap.count(identify_if5_l3);
1174 count_if5_l4=tofDataMap.count(identify_if5_l4);
1175 count_if5_l5=tofDataMap.count(identify_if5_l5);
1176 count_if5_l6=tofDataMap.count(identify_if5_l6);
1177 count_if5_l7=tofDataMap.count(identify_if5_l7);
1178 count_if5_l8=tofDataMap.count(identify_if5_l8);
1179 count_if5_l9=tofDataMap.count(identify_if5_l9);
1180 count_if5_l10=tofDataMap.count(identify_if5_l10);
1181 count_if5_l11=tofDataMap.count(identify_if5_l11);
1182 count_if5_l12=tofDataMap.count(identify_if5_l12);
1183 count_if5_r1=tofDataMap.count(identify_if5_r1);
1184 count_if5_r2=tofDataMap.count(identify_if5_r2);
1185 count_if5_r3=tofDataMap.count(identify_if5_r3);
1186 count_if5_r4=tofDataMap.count(identify_if5_r4);
1187 count_if5_r5=tofDataMap.count(identify_if5_r5);
1188 count_if5_r6=tofDataMap.count(identify_if5_r6);
1189 count_if5_r7=tofDataMap.count(identify_if5_r7);
1190 count_if5_r8=tofDataMap.count(identify_if5_r8);
1191 count_if5_r9=tofDataMap.count(identify_if5_r9);
1192 count_if5_r10=tofDataMap.count(identify_if5_r10);
1193 count_if5_r11=tofDataMap.count(identify_if5_r11);
1194 count_if5_r12=tofDataMap.count(identify_if5_r12);
1204 if((neighborhood==6))
1212 if((strip_number_if6)%2==0)
1231 if(identify_it!=identify_if6_m1 )count_if6_m1=tofDataMap.count(identify_if6_m1);
1232 if(identify_it!=identify_if6_m2 )count_if6_m2=tofDataMap.count(identify_if6_m2);
1233 if(identify_it!=identify_if6_m3 )count_if6_m3=tofDataMap.count(identify_if6_m3);
1234 if(identify_it!=identify_if6_m4 )count_if6_m4=tofDataMap.count(identify_if6_m4);
1235 if(identify_it!=identify_if6_m5 )count_if6_m5=tofDataMap.count(identify_if6_m5);
1236 if(identify_it!=identify_if6_m6 )count_if6_m6=tofDataMap.count(identify_if6_m6);
1237 if(identify_it!=identify_if6_m7 )count_if6_m7=tofDataMap.count(identify_if6_m7);
1238 if(identify_it!=identify_if6_m8 )count_if6_m8=tofDataMap.count(identify_if6_m8);
1239 if(identify_it!=identify_if6_m9 )count_if6_m9=tofDataMap.count(identify_if6_m9);
1240 if(identify_it!=identify_if6_m10 )count_if6_m10=tofDataMap.count(identify_if6_m10);
1241 if(identify_it!=identify_if6_m11 )count_if6_m11=tofDataMap.count(identify_if6_m11);
1242 if(identify_it!=identify_if6_m12 )count_if6_m12=tofDataMap.count(identify_if6_m12);
1284 count_if6_l1=tofDataMap.count(identify_if6_l1);
1285 count_if6_l2=tofDataMap.count(identify_if6_l2);
1286 count_if6_l3=tofDataMap.count(identify_if6_l3);
1287 count_if6_l4=tofDataMap.count(identify_if6_l4);
1288 count_if6_l5=tofDataMap.count(identify_if6_l5);
1289 count_if6_l6=tofDataMap.count(identify_if6_l6);
1290 count_if6_l7=tofDataMap.count(identify_if6_l7);
1291 count_if6_l8=tofDataMap.count(identify_if6_l8);
1292 count_if6_l9=tofDataMap.count(identify_if6_l9);
1293 count_if6_l10=tofDataMap.count(identify_if6_l10);
1294 count_if6_l11=tofDataMap.count(identify_if6_l11);
1295 count_if6_l12=tofDataMap.count(identify_if6_l12);
1296 count_if6_r1=tofDataMap.count(identify_if6_r1);
1297 count_if6_r2=tofDataMap.count(identify_if6_r2);
1298 count_if6_r3=tofDataMap.count(identify_if6_r3);
1299 count_if6_r4=tofDataMap.count(identify_if6_r4);
1300 count_if6_r5=tofDataMap.count(identify_if6_r5);
1301 count_if6_r6=tofDataMap.count(identify_if6_r6);
1302 count_if6_r7=tofDataMap.count(identify_if6_r7);
1303 count_if6_r8=tofDataMap.count(identify_if6_r8);
1304 count_if6_r9=tofDataMap.count(identify_if6_r9);
1305 count_if6_r10=tofDataMap.count(identify_if6_r10);
1306 count_if6_r11=tofDataMap.count(identify_if6_r11);
1307 count_if6_r12=tofDataMap.count(identify_if6_r12);
1378 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
1379 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
1380 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
1381 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
1382 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
1383 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
1384 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
1385 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
1386 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
1387 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
1388 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
1389 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
1390 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
1391 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
1392 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
1393 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
1394 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
1395 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
1396 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
1397 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
1398 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
1399 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
1400 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
1401 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
1512 if(identify_it!=identify_if6_m1 )count_if6_m1=tofDataMap.count(identify_if6_m1);
1513 if(identify_it!=identify_if6_m2 )count_if6_m2=tofDataMap.count(identify_if6_m2);
1514 if(identify_it!=identify_if6_m3 )count_if6_m3=tofDataMap.count(identify_if6_m3);
1515 if(identify_it!=identify_if6_m4 )count_if6_m4=tofDataMap.count(identify_if6_m4);
1516 if(identify_it!=identify_if6_m5 )count_if6_m5=tofDataMap.count(identify_if6_m5);
1517 if(identify_it!=identify_if6_m6 )count_if6_m6=tofDataMap.count(identify_if6_m6);
1518 if(identify_it!=identify_if6_m7 )count_if6_m7=tofDataMap.count(identify_if6_m7);
1519 if(identify_it!=identify_if6_m8 )count_if6_m8=tofDataMap.count(identify_if6_m8);
1520 if(identify_it!=identify_if6_m9 )count_if6_m9=tofDataMap.count(identify_if6_m9);
1521 if(identify_it!=identify_if6_m10 )count_if6_m10=tofDataMap.count(identify_if6_m10);
1522 if(identify_it!=identify_if6_m11 )count_if6_m11=tofDataMap.count(identify_if6_m11);
1523 if(identify_it!=identify_if6_m12 )count_if6_m12=tofDataMap.count(identify_if6_m12);
1566 count_if6_l1=tofDataMap.count(identify_if6_l1);
1567 count_if6_l2=tofDataMap.count(identify_if6_l2);
1568 count_if6_l3=tofDataMap.count(identify_if6_l3);
1569 count_if6_l4=tofDataMap.count(identify_if6_l4);
1570 count_if6_l5=tofDataMap.count(identify_if6_l5);
1571 count_if6_l6=tofDataMap.count(identify_if6_l6);
1572 count_if6_l7=tofDataMap.count(identify_if6_l7);
1573 count_if6_l8=tofDataMap.count(identify_if6_l8);
1574 count_if6_l9=tofDataMap.count(identify_if6_l9);
1575 count_if6_l10=tofDataMap.count(identify_if6_l10);
1576 count_if6_l11=tofDataMap.count(identify_if6_l11);
1577 count_if6_l12=tofDataMap.count(identify_if6_l12);
1578 count_if6_r1=tofDataMap.count(identify_if6_r1);
1579 count_if6_r2=tofDataMap.count(identify_if6_r2);
1580 count_if6_r3=tofDataMap.count(identify_if6_r3);
1581 count_if6_r4=tofDataMap.count(identify_if6_r4);
1582 count_if6_r5=tofDataMap.count(identify_if6_r5);
1583 count_if6_r6=tofDataMap.count(identify_if6_r6);
1584 count_if6_r7=tofDataMap.count(identify_if6_r7);
1585 count_if6_r8=tofDataMap.count(identify_if6_r8);
1586 count_if6_r9=tofDataMap.count(identify_if6_r9);
1587 count_if6_r10=tofDataMap.count(identify_if6_r10);
1588 count_if6_r11=tofDataMap.count(identify_if6_r11);
1589 count_if6_r12=tofDataMap.count(identify_if6_r12);
1658 count_if6_ll1=tofDataMap.count(identify_if6_ll1);
1659 count_if6_ll2=tofDataMap.count(identify_if6_ll2);
1660 count_if6_ll3=tofDataMap.count(identify_if6_ll3);
1661 count_if6_ll4=tofDataMap.count(identify_if6_ll4);
1662 count_if6_ll5=tofDataMap.count(identify_if6_ll5);
1663 count_if6_ll6=tofDataMap.count(identify_if6_ll6);
1664 count_if6_ll7=tofDataMap.count(identify_if6_ll7);
1665 count_if6_ll8=tofDataMap.count(identify_if6_ll8);
1666 count_if6_ll9=tofDataMap.count(identify_if6_ll9);
1667 count_if6_ll10=tofDataMap.count(identify_if6_ll10);
1668 count_if6_ll11=tofDataMap.count(identify_if6_ll11);
1669 count_if6_ll12=tofDataMap.count(identify_if6_ll12);
1670 count_if6_rr1=tofDataMap.count(identify_if6_rr1);
1671 count_if6_rr2=tofDataMap.count(identify_if6_rr2);
1672 count_if6_rr3=tofDataMap.count(identify_if6_rr3);
1673 count_if6_rr4=tofDataMap.count(identify_if6_rr4);
1674 count_if6_rr5=tofDataMap.count(identify_if6_rr5);
1675 count_if6_rr6=tofDataMap.count(identify_if6_rr6);
1676 count_if6_rr7=tofDataMap.count(identify_if6_rr7);
1677 count_if6_rr8=tofDataMap.count(identify_if6_rr8);
1678 count_if6_rr9=tofDataMap.count(identify_if6_rr9);
1679 count_if6_rr10=tofDataMap.count(identify_if6_rr10);
1680 count_if6_rr11=tofDataMap.count(identify_if6_rr11);
1681 count_if6_rr12=tofDataMap.count(identify_if6_rr12);
1792 int data_map_size = tofDataMap.size();
1793 std::cout <<
"MrpcTrack setTofData Number of elements in TofDataMap " << data_map_size << std::endl;
1797 for ( it=tofDataMap.begin() ; it != tofDataMap.end(); it++ )
1798 std::cout <<
"MrpcTrack setTofData TofDataMap entries id | stripnumber "<< (*it).first <<
" | " << (*it).second->tofId() << std::endl;
1807 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_it );
1810 for(
unsigned int i = 0; i < count_it; i++,
iter++ ) {
1819 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_u );
1821 for(
unsigned int i = 0; i < count_u; i++,
iter++ ) {
1829 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_b );
1831 for(
unsigned int i = 0; i < count_b; i++,
iter++ ) {
1840 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_l );
1842 for(
unsigned int i = 0; i < count_l; i++,
iter++ ) {
1851 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_r );
1853 for(
unsigned int i = 0; i < count_r; i++,
iter++ ) {
1861 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lu );
1863 for(
unsigned int i = 0; i < count_lu; i++,
iter++ ) {
1872 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ru );
1874 for(
unsigned int i = 0; i < count_ru; i++,
iter++ ) {
1883 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lb );
1885 for(
unsigned int i = 0; i < count_lb; i++,
iter++ ) {
1894 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rb );
1896 for(
unsigned int i = 0; i < count_rb; i++,
iter++ ) {
1905 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_bb );
1907 for(
unsigned int i = 0; i < count_bb; i++,
iter++ ) {
1914 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_uu );
1916 for(
unsigned int i = 0; i < count_uu; i++,
iter++ ) {
1925 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbb );
1927 for(
unsigned int i = 0; i < count_lbb; i++,
iter++ ) {
1934 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luu );
1936 for(
unsigned int i = 0; i < count_luu; i++,
iter++ ) {
1943 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbb );
1945 for(
unsigned int i = 0; i < count_rbb; i++,
iter++ ) {
1953 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruu );
1955 for(
unsigned int i = 0; i < count_ruu; i++,
iter++ ) {
1962 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_uuu );
1964 for(
unsigned int i = 0; i < count_uuu; i++,
iter++ ) {
1971 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_bbb );
1973 for(
unsigned int i = 0; i < count_bbb; i++,
iter++ ) {
1980 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruuu );
1982 for(
unsigned int i = 0; i < count_ruuu; i++,
iter++ ) {
1989 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbbb );
1991 for(
unsigned int i = 0; i < count_rbbb; i++,
iter++ ) {
1998 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luuu );
2000 for(
unsigned int i = 0; i < count_luuu; i++,
iter++ ) {
2007 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbbb );
2009 for(
unsigned int i = 0; i < count_lbbb; i++,
iter++ ) {
2018 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbbbl );
2020 for(
unsigned int i = 0; i < count_lbbbl; i++,
iter++ ) {
2027 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbbl );
2029 for(
unsigned int i = 0; i < count_lbbl; i++,
iter++ ) {
2036 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lbl );
2038 for(
unsigned int i = 0; i < count_lbl; i++,
iter++ ) {
2045 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ll );
2047 for(
unsigned int i = 0; i < count_ll; i++,
iter++ ) {
2054 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luuul );
2056 for(
unsigned int i = 0; i < count_luuul; i++,
iter++ ) {
2063 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_luul );
2065 for(
unsigned int i = 0; i < count_luul; i++,
iter++ ) {
2072 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_lul );
2074 for(
unsigned int i = 0; i < count_lul; i++,
iter++ ) {
2082 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbbbr );
2084 for(
unsigned int i = 0; i < count_rbbbr; i++,
iter++ ) {
2091 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbbr );
2093 for(
unsigned int i = 0; i < count_rbbr; i++,
iter++ ) {
2100 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rbr );
2102 for(
unsigned int i = 0; i < count_rbr; i++,
iter++ ) {
2109 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rr );
2111 for(
unsigned int i = 0; i < count_rr; i++,
iter++ ) {
2118 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruuur );
2120 for(
unsigned int i = 0; i < count_ruuur; i++,
iter++ ) {
2127 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_ruur );
2129 for(
unsigned int i = 0; i < count_ruur; i++,
iter++ ) {
2136 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_rur );
2138 for(
unsigned int i = 0; i < count_rur; i++,
iter++ ) {
2148 if(identify_if5_m1==identify_if5_it)
help=1;
2149 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m1);
2151 for(
unsigned int i = 0; i < count_if5_m1; i++,
iter++ ) {
2158 if(identify_if5_m2==identify_if5_it)
help=1;
2159 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m2);
2161 for(
unsigned int i = 0; i < count_if5_m2; i++,
iter++ ) {
2168 if(identify_if5_m3==identify_if5_it)
help=1;
2169 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m3);
2171 for(
unsigned int i = 0; i < count_if5_m3; i++,
iter++ ) {
2178 if(identify_if5_m4==identify_if5_it)
help=1;
2179 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m4);
2181 for(
unsigned int i = 0; i < count_if5_m4; i++,
iter++ ) {
2188 if(identify_if5_m5==identify_if5_it)
help=1;
2189 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m5);
2191 for(
unsigned int i = 0; i < count_if5_m5; i++,
iter++ ) {
2198 if(identify_if5_m6==identify_if5_it)
help=1;
2199 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m6);
2201 for(
unsigned int i = 0; i < count_if5_m6; i++,
iter++ ) {
2208 if(identify_if5_m7==identify_if5_it)
help=1;
2209 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m7);
2211 for(
unsigned int i = 0; i < count_if5_m7; i++,
iter++ ) {
2218 if(identify_if5_m8==identify_if5_it)
help=1;
2219 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m8);
2221 for(
unsigned int i = 0; i < count_if5_m8; i++,
iter++ ) {
2228 if(identify_if5_m9==identify_if5_it)
help=1;
2229 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m9);
2231 for(
unsigned int i = 0; i < count_if5_m9; i++,
iter++ ) {
2238 if(identify_if5_m10==identify_if5_it)
help=1;
2239 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m10);
2241 for(
unsigned int i = 0; i < count_if5_m10; i++,
iter++ ) {
2248 if(identify_if5_m11==identify_if5_it)
help=1;
2249 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m11);
2251 for(
unsigned int i = 0; i < count_if5_m11; i++,
iter++ ) {
2258 if(identify_if5_m12==identify_if5_it)
help=1;
2259 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_m12);
2261 for(
unsigned int i = 0; i < count_if5_m12; i++,
iter++ ) {
2267 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l1);
2269 for(
unsigned int i = 0; i < count_if5_l1; i++,
iter++ ) {
2275 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l2);
2277 for(
unsigned int i = 0; i < count_if5_l2; i++,
iter++ ) {
2283 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l3);
2285 for(
unsigned int i = 0; i < count_if5_l3; i++,
iter++ ) {
2291 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l4);
2293 for(
unsigned int i = 0; i < count_if5_l4; i++,
iter++ ) {
2299 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l5);
2301 for(
unsigned int i = 0; i < count_if5_l5; i++,
iter++ ) {
2307 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l6);
2309 for(
unsigned int i = 0; i < count_if5_l6; i++,
iter++ ) {
2315 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l7);
2317 for(
unsigned int i = 0; i < count_if5_l7; i++,
iter++ ) {
2323 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l8);
2325 for(
unsigned int i = 0; i < count_if5_l8; i++,
iter++ ) {
2331 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l9);
2333 for(
unsigned int i = 0; i < count_if5_l9; i++,
iter++ ) {
2339 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l10);
2341 for(
unsigned int i = 0; i < count_if5_l10; i++,
iter++ ) {
2347 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l11);
2349 for(
unsigned int i = 0; i < count_if5_l11; i++,
iter++ ) {
2355 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_l12);
2357 for(
unsigned int i = 0; i < count_if5_l12; i++,
iter++ ) {
2364 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r1);
2366 for(
unsigned int i = 0; i < count_if5_r1; i++,
iter++ ) {
2372 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r2);
2374 for(
unsigned int i = 0; i < count_if5_r2; i++,
iter++ ) {
2380 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r3);
2382 for(
unsigned int i = 0; i < count_if5_r3; i++,
iter++ ) {
2388 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r4);
2390 for(
unsigned int i = 0; i < count_if5_r4; i++,
iter++ ) {
2396 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r5);
2398 for(
unsigned int i = 0; i < count_if5_r5; i++,
iter++ ) {
2404 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r6);
2406 for(
unsigned int i = 0; i < count_if5_r6; i++,
iter++ ) {
2412 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r7);
2414 for(
unsigned int i = 0; i < count_if5_r7; i++,
iter++ ) {
2420 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r8);
2422 for(
unsigned int i = 0; i < count_if5_r8; i++,
iter++ ) {
2428 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r9);
2430 for(
unsigned int i = 0; i < count_if5_r9; i++,
iter++ ) {
2436 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r10);
2438 for(
unsigned int i = 0; i < count_if5_r10; i++,
iter++ ) {
2444 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r11);
2446 for(
unsigned int i = 0; i < count_if5_r11; i++,
iter++ ) {
2452 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if5_r12);
2454 for(
unsigned int i = 0; i < count_if5_r12; i++,
iter++ ) {
2461 if(identify_if6_m1==identify_if6_it)
help=1;
2462 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m1);
2464 for(
unsigned int i = 0; i < count_if6_m1; i++,
iter++ ) {
2471 if(identify_if6_m2==identify_if6_it)
help=1;
2472 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m2);
2474 for(
unsigned int i = 0; i < count_if6_m2; i++,
iter++ ) {
2481 if(identify_if6_m3==identify_if6_it)
help=1;
2482 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m3);
2484 for(
unsigned int i = 0; i < count_if6_m3; i++,
iter++ ) {
2491 if(identify_if6_m4==identify_if6_it)
help=1;
2492 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m4);
2494 for(
unsigned int i = 0; i < count_if6_m4; i++,
iter++ ) {
2501 if(identify_if6_m5==identify_if6_it)
help=1;
2502 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m5);
2504 for(
unsigned int i = 0; i < count_if6_m5; i++,
iter++ ) {
2511 if(identify_if6_m6==identify_if6_it)
help=1;
2512 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m6);
2514 for(
unsigned int i = 0; i < count_if6_m6; i++,
iter++ ) {
2521 if(identify_if6_m7==identify_if6_it)
help=1;
2522 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m7);
2524 for(
unsigned int i = 0; i < count_if6_m7; i++,
iter++ ) {
2531 if(identify_if6_m8==identify_if6_it)
help=1;
2532 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m8);
2534 for(
unsigned int i = 0; i < count_if6_m8; i++,
iter++ ) {
2541 if(identify_if6_m9==identify_if6_it)
help=1;
2542 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m9);
2544 for(
unsigned int i = 0; i < count_if6_m9; i++,
iter++ ) {
2551 if(identify_if6_m10==identify_if6_it)
help=1;
2552 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m10);
2554 for(
unsigned int i = 0; i < count_if6_m10; i++,
iter++ ) {
2561 if(identify_if6_m11==identify_if6_it)
help=1;
2562 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m11);
2564 for(
unsigned int i = 0; i < count_if6_m11; i++,
iter++ ) {
2571 if(identify_if6_m12==identify_if6_it)
help=1;
2572 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_m12);
2574 for(
unsigned int i = 0; i < count_if6_m12; i++,
iter++ ) {
2580 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l1);
2582 for(
unsigned int i = 0; i < count_if6_l1; i++,
iter++ ) {
2588 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l2);
2590 for(
unsigned int i = 0; i < count_if6_l2; i++,
iter++ ) {
2596 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l3);
2598 for(
unsigned int i = 0; i < count_if6_l3; i++,
iter++ ) {
2604 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l4);
2606 for(
unsigned int i = 0; i < count_if6_l4; i++,
iter++ ) {
2612 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l5);
2614 for(
unsigned int i = 0; i < count_if6_l5; i++,
iter++ ) {
2620 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l6);
2622 for(
unsigned int i = 0; i < count_if6_l6; i++,
iter++ ) {
2628 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l7);
2630 for(
unsigned int i = 0; i < count_if6_l7; i++,
iter++ ) {
2636 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l8);
2638 for(
unsigned int i = 0; i < count_if6_l8; i++,
iter++ ) {
2644 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l9);
2646 for(
unsigned int i = 0; i < count_if6_l9; i++,
iter++ ) {
2652 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l10);
2654 for(
unsigned int i = 0; i < count_if6_l10; i++,
iter++ ) {
2660 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l11);
2662 for(
unsigned int i = 0; i < count_if6_l11; i++,
iter++ ) {
2668 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_l12);
2670 for(
unsigned int i = 0; i < count_if6_l12; i++,
iter++ ) {
2677 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r1);
2679 for(
unsigned int i = 0; i < count_if6_r1; i++,
iter++ ) {
2685 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r2);
2687 for(
unsigned int i = 0; i < count_if6_r2; i++,
iter++ ) {
2693 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r3);
2695 for(
unsigned int i = 0; i < count_if6_r3; i++,
iter++ ) {
2701 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r4);
2703 for(
unsigned int i = 0; i < count_if6_r4; i++,
iter++ ) {
2709 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r5);
2711 for(
unsigned int i = 0; i < count_if6_r5; i++,
iter++ ) {
2717 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r6);
2719 for(
unsigned int i = 0; i < count_if6_r6; i++,
iter++ ) {
2725 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r7);
2727 for(
unsigned int i = 0; i < count_if6_r7; i++,
iter++ ) {
2733 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r8);
2735 for(
unsigned int i = 0; i < count_if6_r8; i++,
iter++ ) {
2741 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r9);
2743 for(
unsigned int i = 0; i < count_if6_r9; i++,
iter++ ) {
2749 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r10);
2751 for(
unsigned int i = 0; i < count_if6_r10; i++,
iter++ ) {
2757 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r11);
2759 for(
unsigned int i = 0; i < count_if6_r11; i++,
iter++ ) {
2765 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_r12);
2767 for(
unsigned int i = 0; i < count_if6_r12; i++,
iter++ ) {
2773 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll1);
2775 for(
unsigned int i = 0; i < count_if6_ll1; i++,
iter++ ) {
2781 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll2);
2783 for(
unsigned int i = 0; i < count_if6_ll2; i++,
iter++ ) {
2789 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll3);
2791 for(
unsigned int i = 0; i < count_if6_ll3; i++,
iter++ ) {
2797 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll4);
2799 for(
unsigned int i = 0; i < count_if6_ll4; i++,
iter++ ) {
2805 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll5);
2807 for(
unsigned int i = 0; i < count_if6_ll5; i++,
iter++ ) {
2813 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll6);
2815 for(
unsigned int i = 0; i < count_if6_ll6; i++,
iter++ ) {
2821 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll7);
2823 for(
unsigned int i = 0; i < count_if6_ll7; i++,
iter++ ) {
2829 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll8);
2831 for(
unsigned int i = 0; i < count_if6_ll8; i++,
iter++ ) {
2837 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll9);
2839 for(
unsigned int i = 0; i < count_if6_ll9; i++,
iter++ ) {
2843 if(count_if6_ll10>0)
2845 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll10);
2847 for(
unsigned int i = 0; i < count_if6_ll10; i++,
iter++ ) {
2851 if(count_if6_ll11>0)
2853 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll11);
2855 for(
unsigned int i = 0; i < count_if6_ll11; i++,
iter++ ) {
2859 if(count_if6_ll12>0)
2861 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_ll12);
2863 for(
unsigned int i = 0; i < count_if6_ll12; i++,
iter++ ) {
2870 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr1);
2872 for(
unsigned int i = 0; i < count_if6_rr1; i++,
iter++ ) {
2878 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr2);
2880 for(
unsigned int i = 0; i < count_if6_rr2; i++,
iter++ ) {
2886 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr3);
2888 for(
unsigned int i = 0; i < count_if6_rr3; i++,
iter++ ) {
2894 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr4);
2896 for(
unsigned int i = 0; i < count_if6_rr4; i++,
iter++ ) {
2902 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr5);
2904 for(
unsigned int i = 0; i < count_if6_rr5; i++,
iter++ ) {
2910 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr6);
2912 for(
unsigned int i = 0; i < count_if6_rr6; i++,
iter++ ) {
2918 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr7);
2920 for(
unsigned int i = 0; i < count_if6_rr7; i++,
iter++ ) {
2926 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr8);
2928 for(
unsigned int i = 0; i < count_if6_rr8; i++,
iter++ ) {
2934 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr9);
2936 for(
unsigned int i = 0; i < count_if6_rr9; i++,
iter++ ) {
2940 if(count_if6_rr10>0)
2942 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr10);
2944 for(
unsigned int i = 0; i < count_if6_rr10; i++,
iter++ ) {
2948 if(count_if6_rr11>0)
2950 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr11);
2952 for(
unsigned int i = 0; i < count_if6_rr11; i++,
iter++ ) {
2956 if(count_if6_rr12>0)
2958 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify_if6_rr12);
2960 for(
unsigned int i = 0; i < count_if6_rr12; i++,
iter++ ) {
2975 count0 = tofDataMap.count( identify0 );
2976 int tofid1 = tofid0 - 1;
2977 if( tofid1 == -1 ) { tofid1 = 87; }
2979 count1 = tofDataMap.count( identify1 );
2980 int tofid2 = tofid0 + 1;
2981 if( tofid2 == 88 ) { tofid2 = 0; }
2983 count2 = tofDataMap.count( identify2 );
2987 if( ( m_hitCase ==
EastEndcap ) && ( m_id1 > -1 ) ) {
2990 count0 = tofDataMap.count( identify0 );
2991 int tofid1 = tofid0 - 1;
2992 if( tofid1 == -1 ) { tofid1 = 47; }
2994 count1 = tofDataMap.count( identify1 );
2995 int tofid2 = tofid0 + 1;
2996 if( tofid2 == 48 ) { tofid2 = 0; }
2998 count2 = tofDataMap.count( identify2 );
3003 if( ( m_hitCase ==
WestEndcap ) && ( m_id1 > -1 ) ) {
3004 int tofid0 = m_id1 - 48;
3006 count0 = tofDataMap.count( identify0 );
3007 int tofid1 = tofid0 - 1;
3008 if( tofid1 == -1 ) { tofid1 = 47; }
3010 count1 = tofDataMap.count( identify1 );
3011 int tofid2 = tofid0 + 1;
3012 if( tofid2 == 48 ) { tofid2 = 0; }
3014 count2 = tofDataMap.count( identify2 );
3020 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify0 );
3022 for(
unsigned int i = 0; i < count0; i++,
iter++ ) {
3027 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify1 );
3029 for(
unsigned int i = 0; i < count1; i++,
iter++ ) {
3034 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify2 );
3036 for(
unsigned int i = 0; i < count2; i++,
iter++ ) {
3041 if( ( count0 == 0 ) && ( count1 == 0 ) && ( count2 == 0 )
3042 && (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)
3043 && (count_uu==0) && (count_bb==0) && (count_ruu==0) && (count_luu==0) && (count_rbb==0) && (count_lbb==0)
3045 && (count_luuu==0) && (count_lbbb==0) && (count_ruuu==0) && (count_rbbb==0) && (count_uuu==0) && (count_bbb==0)
3047 && (count_luuul==0) && (count_lbbbl==0) && (count_ruuur==0) && (count_rbbbr==0) && (count_luul==0) && (count_lbbl==0) && (count_ruur==0) && (count_rbbr==0)
3048 && (count_lul==0) && (count_lbl==0) && (count_rur==0) && (count_rbr==0) && (count_ll==0) && (count_rr==0)
3050 && (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)
3051 && (count_if5_m10 ==0) && (count_if5_m11 ==0) && (count_if5_m12 ==0)
3052 && (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)
3053 && (count_if5_l10 ==0) && (count_if5_l11 ==0) && (count_if5_l12 ==0)
3054 && (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)
3055 && (count_if5_r10 ==0) && (count_if5_r11 ==0) && (count_if5_r12 ==0)
3057 && (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)
3058 && (count_if6_m10 ==0) && (count_if6_m11 ==0) && (count_if6_m12 ==0)
3059 && (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)
3060 && (count_if6_l10 ==0) && (count_if6_l11 ==0) && (count_if6_l12 ==0)
3061 && (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)
3062 && (count_if6_r10 ==0) && (count_if6_r11 ==0) && (count_if6_r12 ==0)
3063 && (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)
3064 && (count_if6_ll9 ==0) && (count_if6_ll10 ==0) && (count_if6_ll11 ==0) && (count_if6_ll12 ==0)
3065 && (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)
3066 && (count_if6_rr9 ==0) && (count_if6_rr10 ==0) && (count_if6_rr11 ==0) && (count_if6_rr12 ==0)
3081 int tofid0 = m_id2 - 88;
3083 count0 = tofDataMap.count( identify0 );
3084 int tofid1 = tofid0 - 1;
3085 if( tofid1 == -1 ) { tofid1 = 87; }
3087 count1 = tofDataMap.count( identify1 );
3088 int tofid2 = tofid0 + 1;
3089 if( tofid2 == 88 ) { tofid2 = 0; }
3091 count2 = tofDataMap.count( identify2 );
3094 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify0 );
3096 for(
unsigned int i = 0; i < count0; i++,
iter++ ) {
3101 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify1 );
3103 for(
unsigned int i = 0; i < count1; i++,
iter++ ) {
3108 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify2 );
3110 for(
unsigned int i = 0; i < count2; i++,
iter++ ) {
3115 if( ( count0 == 0 ) && ( count1 == 0 ) && ( count2 == 0 ) ) {