419 {
420
421
422
423 if( m_hitCase ==
NoHit )
return;
424
425 if(
mrpc_dbs_debug_counter) std::cout <<
"---------------- BEGIN EVENT -> mrpc_dbs_debug_counter ------------------------" << std::endl;
426
427
428
429
430
431 unsigned int identify0 = 0x0000c000;
432 unsigned int identify1 = 0x0000c000;
433 unsigned int identify2 = 0x0000c000;
434 unsigned int count0 = 0;
435 unsigned int count1 = 0;
436 unsigned int count2 = 0;
437
438
439 unsigned int identify_it_o=0x0000c000;
440 unsigned int identify_it_e=0x0000c000;
441
442
443
444
445 unsigned int identify_u_o =0x0000c000;
446 unsigned int identify_b_o =0x0000c000;
447 unsigned int identify_u_e =0x0000c000;
448 unsigned int identify_b_e =0x0000c000;
449
450
451
452
453 unsigned int identify_l_o =0x0000c000;
454 unsigned int identify_lu_o=0x0000c000;
455 unsigned int identify_lb_o=0x0000c000;
456 unsigned int identify_r_o =0x0000c000;
457 unsigned int identify_ru_o=0x0000c000;
458 unsigned int identify_rb_o=0x0000c000;
459 unsigned int identify_l_e =0x0000c000;
460 unsigned int identify_lu_e=0x0000c000;
461 unsigned int identify_lb_e=0x0000c000;
462 unsigned int identify_r_e =0x0000c000;
463 unsigned int identify_ru_e=0x0000c000;
464 unsigned int identify_rb_e=0x0000c000;
465
466
467
468
469
470 unsigned int identify_if4_it_e=0x0000c000;
471 unsigned int identify_if4_m1_e=0x0000c000;
472 unsigned int identify_if4_m2_e=0x0000c000;
473 unsigned int identify_if4_m3_e=0x0000c000;
474 unsigned int identify_if4_m4_e=0x0000c000;
475 unsigned int identify_if4_m5_e=0x0000c000;
476 unsigned int identify_if4_m6_e=0x0000c000;
477 unsigned int identify_if4_m7_e=0x0000c000;
478 unsigned int identify_if4_m8_e=0x0000c000;
479 unsigned int identify_if4_m9_e=0x0000c000;
480 unsigned int identify_if4_m10_e=0x0000c000;
481 unsigned int identify_if4_m11_e=0x0000c000;
482 unsigned int identify_if4_m12_e=0x0000c000;
483 unsigned int identify_if4_it_o=0x0000c000;
484 unsigned int identify_if4_m1_o=0x0000c000;
485 unsigned int identify_if4_m2_o=0x0000c000;
486 unsigned int identify_if4_m3_o=0x0000c000;
487 unsigned int identify_if4_m4_o=0x0000c000;
488 unsigned int identify_if4_m5_o=0x0000c000;
489 unsigned int identify_if4_m6_o=0x0000c000;
490 unsigned int identify_if4_m7_o=0x0000c000;
491 unsigned int identify_if4_m8_o=0x0000c000;
492 unsigned int identify_if4_m9_o=0x0000c000;
493 unsigned int identify_if4_m10_o=0x0000c000;
494 unsigned int identify_if4_m11_o=0x0000c000;
495 unsigned int identify_if4_m12_o=0x0000c000;
496
497
498
499
500
501 unsigned int identify_if5_it_o=0x0000c000;
502 unsigned int identify_if5_m1_o=0x0000c000;
503 unsigned int identify_if5_m2_o=0x0000c000;
504 unsigned int identify_if5_m3_o=0x0000c000;
505 unsigned int identify_if5_m4_o=0x0000c000;
506 unsigned int identify_if5_m5_o=0x0000c000;
507 unsigned int identify_if5_m6_o=0x0000c000;
508 unsigned int identify_if5_m7_o=0x0000c000;
509 unsigned int identify_if5_m8_o=0x0000c000;
510 unsigned int identify_if5_m9_o=0x0000c000;
511 unsigned int identify_if5_m10_o=0x0000c000;
512 unsigned int identify_if5_m11_o=0x0000c000;
513 unsigned int identify_if5_m12_o=0x0000c000;
514 unsigned int identify_if5_l1_o=0x0000c000;
515 unsigned int identify_if5_l2_o=0x0000c000;
516 unsigned int identify_if5_l3_o=0x0000c000;
517 unsigned int identify_if5_l4_o=0x0000c000;
518 unsigned int identify_if5_l5_o=0x0000c000;
519 unsigned int identify_if5_l6_o=0x0000c000;
520 unsigned int identify_if5_l7_o=0x0000c000;
521 unsigned int identify_if5_l8_o=0x0000c000;
522 unsigned int identify_if5_l9_o=0x0000c000;
523 unsigned int identify_if5_l10_o=0x0000c000;
524 unsigned int identify_if5_l11_o=0x0000c000;
525 unsigned int identify_if5_l12_o=0x0000c000;
526 unsigned int identify_if5_r1_o=0x0000c000;
527 unsigned int identify_if5_r2_o=0x0000c000;
528 unsigned int identify_if5_r3_o=0x0000c000;
529 unsigned int identify_if5_r4_o=0x0000c000;
530 unsigned int identify_if5_r5_o=0x0000c000;
531 unsigned int identify_if5_r6_o=0x0000c000;
532 unsigned int identify_if5_r7_o=0x0000c000;
533 unsigned int identify_if5_r8_o=0x0000c000;
534 unsigned int identify_if5_r9_o=0x0000c000;
535 unsigned int identify_if5_r10_o=0x0000c000;
536 unsigned int identify_if5_r11_o=0x0000c000;
537 unsigned int identify_if5_r12_o=0x0000c000;
538 unsigned int identify_if5_it_e=0x0000c000;
539 unsigned int identify_if5_m1_e=0x0000c000;
540 unsigned int identify_if5_m2_e=0x0000c000;
541 unsigned int identify_if5_m3_e=0x0000c000;
542 unsigned int identify_if5_m4_e=0x0000c000;
543 unsigned int identify_if5_m5_e=0x0000c000;
544 unsigned int identify_if5_m6_e=0x0000c000;
545 unsigned int identify_if5_m7_e=0x0000c000;
546 unsigned int identify_if5_m8_e=0x0000c000;
547 unsigned int identify_if5_m9_e=0x0000c000;
548 unsigned int identify_if5_m10_e=0x0000c000;
549 unsigned int identify_if5_m11_e=0x0000c000;
550 unsigned int identify_if5_m12_e=0x0000c000;
551 unsigned int identify_if5_l1_e=0x0000c000;
552 unsigned int identify_if5_l2_e=0x0000c000;
553 unsigned int identify_if5_l3_e=0x0000c000;
554 unsigned int identify_if5_l4_e=0x0000c000;
555 unsigned int identify_if5_l5_e=0x0000c000;
556 unsigned int identify_if5_l6_e=0x0000c000;
557 unsigned int identify_if5_l7_e=0x0000c000;
558 unsigned int identify_if5_l8_e=0x0000c000;
559 unsigned int identify_if5_l9_e=0x0000c000;
560 unsigned int identify_if5_l10_e=0x0000c000;
561 unsigned int identify_if5_l11_e=0x0000c000;
562 unsigned int identify_if5_l12_e=0x0000c000;
563 unsigned int identify_if5_r1_e=0x0000c000;
564 unsigned int identify_if5_r2_e=0x0000c000;
565 unsigned int identify_if5_r3_e=0x0000c000;
566 unsigned int identify_if5_r4_e=0x0000c000;
567 unsigned int identify_if5_r5_e=0x0000c000;
568 unsigned int identify_if5_r6_e=0x0000c000;
569 unsigned int identify_if5_r7_e=0x0000c000;
570 unsigned int identify_if5_r8_e=0x0000c000;
571 unsigned int identify_if5_r9_e=0x0000c000;
572 unsigned int identify_if5_r10_e=0x0000c000;
573 unsigned int identify_if5_r11_e=0x0000c000;
574 unsigned int identify_if5_r12_e=0x0000c000;
575
576
577 unsigned int count_it=0;
578
579 unsigned int count_u =0;
580 unsigned int count_b =0;
581
582 unsigned int count_l =0;
583 unsigned int count_lu=0;
584 unsigned int count_lb=0;
585 unsigned int count_r =0;
586 unsigned int count_ru=0;
587 unsigned int count_rb=0;
588
589 unsigned int count_if4_m1=0; unsigned int count_if4_m2=0; unsigned int count_if4_m3=0; unsigned int count_if4_m4=0; unsigned int count_if4_m5=0; unsigned int count_if4_m6=0; unsigned int count_if4_m7=0;
590 unsigned int count_if4_m8=0; unsigned int count_if4_m9=0; unsigned int count_if4_m10=0; unsigned int count_if4_m11=0; unsigned int count_if4_m12=0;
591
592 unsigned int count_if5_m1=0; unsigned int count_if5_m2=0; unsigned int count_if5_m3=0; unsigned int count_if5_m4=0; unsigned int count_if5_m5=0; unsigned int count_if5_m6=0; unsigned int count_if5_m7=0;
593 unsigned int count_if5_m8=0; unsigned int count_if5_m9=0; unsigned int count_if5_m10=0; unsigned int count_if5_m11=0; unsigned int count_if5_m12=0; unsigned int count_if5_l1=0; unsigned int count_if5_l2=0;
594 unsigned int count_if5_l3=0; unsigned int count_if5_l4=0; unsigned int count_if5_l5=0; unsigned int count_if5_l6=0; unsigned int count_if5_l7=0; unsigned int count_if5_l8=0; unsigned int count_if5_l9=0;
595 unsigned int count_if5_l10=0; unsigned int count_if5_l11=0; unsigned int count_if5_l12=0; unsigned int count_if5_r1=0; unsigned int count_if5_r2=0; unsigned int count_if5_r3=0; unsigned int count_if5_r4=0;
596 unsigned int count_if5_r5=0; unsigned int count_if5_r6=0; unsigned int count_if5_r7=0; unsigned int count_if5_r8=0; unsigned int count_if5_r9=0; unsigned int count_if5_r10=0; unsigned int count_if5_r11=0;
597 unsigned int count_if5_r12=0;
598
599
600 unsigned int count_it_e=0;
601
602 unsigned int count_u_e=0;
603 unsigned int count_b_e=0;
604
605 unsigned int count_l_e=0;
606 unsigned int count_lu_e=0;
607 unsigned int count_lb_e=0;
608 unsigned int count_r_e=0;
609 unsigned int count_ru_e=0;
610 unsigned int count_rb_e=0;
611
612 unsigned int count_if4_m1_e=0; unsigned int count_if4_m2_e=0; unsigned int count_if4_m3_e=0; unsigned int count_if4_m4_e=0; unsigned int count_if4_m5_e=0; unsigned int count_if4_m6_e=0; unsigned int count_if4_m7_e=0;
613 unsigned int count_if4_m8_e=0; unsigned int count_if4_m9_e=0; unsigned int count_if4_m10_e=0; unsigned int count_if4_m11_e=0; unsigned int count_if4_m12_e=0;
614
615 unsigned int count_if5_m1_e=0; unsigned int count_if5_m2_e=0; unsigned int count_if5_m3_e=0; unsigned int count_if5_m4_e=0; unsigned int count_if5_m5_e=0; unsigned int count_if5_m6_e=0; unsigned int count_if5_m7_e=0;
616 unsigned int count_if5_m8_e=0; unsigned int count_if5_m9_e=0; unsigned int count_if5_m10_e=0; unsigned int count_if5_m11_e=0; unsigned int count_if5_m12_e=0; unsigned int count_if5_l1_e=0; unsigned int count_if5_l2_e=0;
617 unsigned int count_if5_l3_e=0; unsigned int count_if5_l4_e=0; unsigned int count_if5_l5_e=0; unsigned int count_if5_l6_e=0; unsigned int count_if5_l7_e=0; unsigned int count_if5_l8_e=0; unsigned int count_if5_l9_e=0;
618 unsigned int count_if5_l10_e=0; unsigned int count_if5_l11_e=0; unsigned int count_if5_l12_e=0; unsigned int count_if5_r1_e=0; unsigned int count_if5_r2_e=0; unsigned int count_if5_r3_e=0; unsigned int count_if5_r4_e=0;
619 unsigned int count_if5_r5_e=0; unsigned int count_if5_r6_e=0; unsigned int count_if5_r7_e=0; unsigned int count_if5_r8_e=0; unsigned int count_if5_r9_e=0; unsigned int count_if5_r10_e=0; unsigned int count_if5_r11_e=0;
620 unsigned int count_if5_r12_e=0;
621
622 unsigned int count_it_o=0;
623
624 unsigned int count_u_o=0;
625 unsigned int count_b_o=0;
626
627 unsigned int count_l_o=0;
628 unsigned int count_lu_o=0;
629 unsigned int count_lb_o=0;
630 unsigned int count_r_o=0;
631 unsigned int count_ru_o=0;
632 unsigned int count_rb_o=0;
633
634 unsigned int count_if4_m1_o=0; unsigned int count_if4_m2_o=0; unsigned int count_if4_m3_o=0; unsigned int count_if4_m4_o=0; unsigned int count_if4_m5_o=0; unsigned int count_if4_m6_o=0; unsigned int count_if4_m7_o=0;
635 unsigned int count_if4_m8_o=0; unsigned int count_if4_m9_o=0; unsigned int count_if4_m10_o=0; unsigned int count_if4_m11_o=0; unsigned int count_if4_m12_o=0;
636
637 unsigned int count_if5_m1_o=0; unsigned int count_if5_m2_o=0; unsigned int count_if5_m3_o=0; unsigned int count_if5_m4_o=0; unsigned int count_if5_m5_o=0; unsigned int count_if5_m6_o=0; unsigned int count_if5_m7_o=0;
638 unsigned int count_if5_m8_o=0; unsigned int count_if5_m9_o=0; unsigned int count_if5_m10_o=0; unsigned int count_if5_m11_o=0; unsigned int count_if5_m12_o=0; unsigned int count_if5_l1_o=0; unsigned int count_if5_l2_o=0;
639 unsigned int count_if5_l3_o=0; unsigned int count_if5_l4_o=0; unsigned int count_if5_l5_o=0; unsigned int count_if5_l6_o=0; unsigned int count_if5_l7_o=0; unsigned int count_if5_l8_o=0; unsigned int count_if5_l9_o=0;
640 unsigned int count_if5_l10_o=0; unsigned int count_if5_l11_o=0; unsigned int count_if5_l12_o=0; unsigned int count_if5_r1_o=0; unsigned int count_if5_r2_o=0; unsigned int count_if5_r3_o=0; unsigned int count_if5_r4_o=0;
641 unsigned int count_if5_r5_o=0; unsigned int count_if5_r6_o=0; unsigned int count_if5_r7_o=0; unsigned int count_if5_r8_o=0; unsigned int count_if5_r9_o=0; unsigned int count_if5_r10_o=0; unsigned int count_if5_r11_o=0;
642 unsigned int count_if5_r12_o=0;
643
644
645
646
647
649 {
650
651 int tofid_help=m_id1;
654
655
656
659
660
661 int this_partID=0;
666
667
668 if(this_partID==0){ cout <<"MRPCDBSREC --- MrpcDBSTrack --- Fatal Error: PartID is not existing ---> " << this_partID << endl;return; }
669
672
673 count_it_o = tofDataMap.count(identify_it_o);
674 count_it_e = tofDataMap.count(identify_it_e);
675 count_it=count_it_o+count_it_e;
676
677
678
679
680
681
685
689
693
697
698
699
700 int module_help_lu =module_help_l;
701 int partid_lu = partid_l;
702 int strip_lu_help_12=strip_u_help_12;
703
704 int module_help_lb = module_help_l;
705 int partid_lb =partid_l;
706 int strip_lb_help_12=strip_b_help_12;
707
708 int module_help_ru = module_help_r;
709 int partid_ru = partid_r;
710 int strip_ru_help_12=strip_u_help_12;
711
712 int module_help_rb = module_help_r;
713 int partid_rb = partid_r;
714 int strip_rb_help_12=strip_b_help_12;
715
716
717
718
727
736
737
738
739
740
741 if( (neighborhood==2) || (neighborhood==3))
742 {
745 count_u_e = tofDataMap.count(identify_u_e);
746 count_u_o = tofDataMap.count(identify_u_o);
747 count_u = count_u_e + count_u_o;
748
751 count_b_e = tofDataMap.count(identify_b_e);
752 count_b_o = tofDataMap.count(identify_b_o);
753 count_b= count_b_e + count_b_o;
754
755 }
756
757 if((neighborhood==3))
758 {
761 count_l_e = tofDataMap.count(identify_l_e);
762 count_l_o = tofDataMap.count(identify_l_o);
763 count_l= count_l_e + count_l_o;
764
765
768 count_r_e = tofDataMap.count(identify_r_e);
769 count_r_o = tofDataMap.count(identify_r_o);
770 count_r= count_r_e + count_r_o;
771
772
773
776 count_lu_e = tofDataMap.count(identify_lu_e);
777 count_lu_o = tofDataMap.count(identify_lu_o);
778 count_lu= count_lu_e + count_lu_o;
779
780
783 count_lb_e = tofDataMap.count(identify_lb_e);
784 count_lb_o = tofDataMap.count(identify_lb_o);
785 count_lb= count_lb_e + count_lb_o;
786
787
790 count_ru_e = tofDataMap.count(identify_ru_e);
791 count_ru_o = tofDataMap.count(identify_ru_o);
792 count_ru= count_ru_e + count_ru_o;
793
794
797 count_rb = tofDataMap.count(identify_rb_e) + tofDataMap.count(identify_rb_o);
798 count_rb_e = tofDataMap.count(identify_rb_e);
799 count_rb_o = tofDataMap.count(identify_rb_o);
800 count_rb= count_rb_e + count_rb_o;
801
802 }
803
804
805 if((neighborhood==4))
806 {
807
810
813
838
839 if( (identify_it_e!=identify_if4_m1_e) ) count_if4_m1_e= tofDataMap.count(identify_if4_m1_e);
840 if( (identify_it_e!=identify_if4_m2_e) ) count_if4_m2_e= tofDataMap.count(identify_if4_m2_e);
841 if( (identify_it_e!=identify_if4_m3_e) ) count_if4_m3_e= tofDataMap.count(identify_if4_m3_e);
842 if( (identify_it_e!=identify_if4_m4_e) ) count_if4_m4_e= tofDataMap.count(identify_if4_m4_e);
843 if( (identify_it_e!=identify_if4_m5_e) ) count_if4_m5_e= tofDataMap.count(identify_if4_m5_e);
844 if( (identify_it_e!=identify_if4_m6_e) ) count_if4_m6_e= tofDataMap.count(identify_if4_m6_e);
845 if( (identify_it_e!=identify_if4_m7_e) ) count_if4_m7_e= tofDataMap.count(identify_if4_m7_e);
846 if( (identify_it_e!=identify_if4_m8_e) ) count_if4_m8_e= tofDataMap.count(identify_if4_m8_e);
847 if( (identify_it_e!=identify_if4_m9_e) ) count_if4_m9_e= tofDataMap.count(identify_if4_m9_e);
848 if( (identify_it_e!=identify_if4_m10_e) ) count_if4_m10_e= tofDataMap.count(identify_if4_m10_e);
849 if( (identify_it_e!=identify_if4_m11_e) ) count_if4_m11_e= tofDataMap.count(identify_if4_m11_e);
850 if( (identify_it_e!=identify_if4_m12_e) ) count_if4_m12_e= tofDataMap.count(identify_if4_m12_e);
851
852 if( (identify_it_o!=identify_if4_m1_o) ) count_if4_m1_o= tofDataMap.count(identify_if4_m1_o);
853 if( (identify_it_o!=identify_if4_m2_o) ) count_if4_m2_o= tofDataMap.count(identify_if4_m2_o);
854 if( (identify_it_o!=identify_if4_m3_o) ) count_if4_m3_o= tofDataMap.count(identify_if4_m3_o);
855 if( (identify_it_o!=identify_if4_m4_o) ) count_if4_m4_o= tofDataMap.count(identify_if4_m4_o);
856 if( (identify_it_o!=identify_if4_m5_o) ) count_if4_m5_o= tofDataMap.count(identify_if4_m5_o);
857 if( (identify_it_o!=identify_if4_m6_o) ) count_if4_m6_o= tofDataMap.count(identify_if4_m6_o);
858 if( (identify_it_o!=identify_if4_m7_o) ) count_if4_m7_o= tofDataMap.count(identify_if4_m7_o);
859 if( (identify_it_o!=identify_if4_m8_o) ) count_if4_m8_o= tofDataMap.count(identify_if4_m8_o);
860 if( (identify_it_o!=identify_if4_m9_o) ) count_if4_m9_o= tofDataMap.count(identify_if4_m9_o);
861 if( (identify_it_o!=identify_if4_m10_o) ) count_if4_m10_o= tofDataMap.count(identify_if4_m10_o);
862 if( (identify_it_o!=identify_if4_m11_o) ) count_if4_m11_o= tofDataMap.count(identify_if4_m11_o);
863 if( (identify_it_o!=identify_if4_m12_o) ) count_if4_m12_o= tofDataMap.count(identify_if4_m12_o);
864
865 count_if4_m1 = count_if4_m1_o + count_if4_m1_e;
866 count_if4_m2 = count_if4_m2_o + count_if4_m2_e;
867 count_if4_m3 = count_if4_m3_o + count_if4_m3_e;
868 count_if4_m4 = count_if4_m4_o + count_if4_m4_e;
869 count_if4_m5 = count_if4_m5_o + count_if4_m5_e;
870 count_if4_m6 = count_if4_m6_o + count_if4_m6_e;
871 count_if4_m7 = count_if4_m7_o + count_if4_m7_e;
872 count_if4_m8 = count_if4_m8_o + count_if4_m8_e;
873 count_if4_m9 = count_if4_m9_o + count_if4_m9_e;
874 count_if4_m10 = count_if4_m10_o + count_if4_m10_e;
875 count_if4_m11 = count_if4_m11_o + count_if4_m11_e;
876 count_if4_m12 = count_if4_m12_o + count_if4_m12_e;
877
878
879
880 }
881
882 if((neighborhood==5))
883 {
884
887
888
889
890
893
918
919 if( (identify_it_e!=identify_if5_m1_e) ) count_if5_m1_e= tofDataMap.count(identify_if5_m1_e);
920 if( (identify_it_e!=identify_if5_m2_e) ) count_if5_m2_e= tofDataMap.count(identify_if5_m2_e);
921 if( (identify_it_e!=identify_if5_m3_e) ) count_if5_m3_e= tofDataMap.count(identify_if5_m3_e);
922 if( (identify_it_e!=identify_if5_m4_e) ) count_if5_m4_e= tofDataMap.count(identify_if5_m4_e);
923 if( (identify_it_e!=identify_if5_m5_e) ) count_if5_m5_e= tofDataMap.count(identify_if5_m5_e);
924 if( (identify_it_e!=identify_if5_m6_e) ) count_if5_m6_e= tofDataMap.count(identify_if5_m6_e);
925 if( (identify_it_e!=identify_if5_m7_e) ) count_if5_m7_e= tofDataMap.count(identify_if5_m7_e);
926 if( (identify_it_e!=identify_if5_m8_e) ) count_if5_m8_e= tofDataMap.count(identify_if5_m8_e);
927 if( (identify_it_e!=identify_if5_m9_e) ) count_if5_m9_e= tofDataMap.count(identify_if5_m9_e);
928 if( (identify_it_e!=identify_if5_m10_e) ) count_if5_m10_e= tofDataMap.count(identify_if5_m10_e);
929 if( (identify_it_e!=identify_if5_m11_e) ) count_if5_m11_e= tofDataMap.count(identify_if5_m11_e);
930 if( (identify_it_e!=identify_if5_m12_e) ) count_if5_m12_e= tofDataMap.count(identify_if5_m12_e);
931
932 if( (identify_it_o!=identify_if5_m1_o) ) count_if5_m1_o= tofDataMap.count(identify_if5_m1_o);
933 if( (identify_it_o!=identify_if5_m2_o) ) count_if5_m2_o= tofDataMap.count(identify_if5_m2_o);
934 if( (identify_it_o!=identify_if5_m3_o) ) count_if5_m3_o= tofDataMap.count(identify_if5_m3_o);
935 if( (identify_it_o!=identify_if5_m4_o) ) count_if5_m4_o= tofDataMap.count(identify_if5_m4_o);
936 if( (identify_it_o!=identify_if5_m5_o) ) count_if5_m5_o= tofDataMap.count(identify_if5_m5_o);
937 if( (identify_it_o!=identify_if5_m6_o) ) count_if5_m6_o= tofDataMap.count(identify_if5_m6_o);
938 if( (identify_it_o!=identify_if5_m7_o) ) count_if5_m7_o= tofDataMap.count(identify_if5_m7_o);
939 if( (identify_it_o!=identify_if5_m8_o) ) count_if5_m8_o= tofDataMap.count(identify_if5_m8_o);
940 if( (identify_it_o!=identify_if5_m9_o) ) count_if5_m9_o= tofDataMap.count(identify_if5_m9_o);
941 if( (identify_it_o!=identify_if5_m10_o) ) count_if5_m10_o= tofDataMap.count(identify_if5_m10_o);
942 if( (identify_it_o!=identify_if5_m11_o) ) count_if5_m11_o= tofDataMap.count(identify_if5_m11_o);
943 if( (identify_it_o!=identify_if5_m12_o) ) count_if5_m12_o= tofDataMap.count(identify_if5_m12_o);
944
945 count_if5_m1 = count_if5_m1_o + count_if5_m1_e;
946 count_if5_m2 = count_if5_m2_o + count_if5_m2_e;
947 count_if5_m3 = count_if5_m3_o + count_if5_m3_e;
948 count_if5_m4 = count_if5_m4_o + count_if5_m4_e;
949 count_if5_m5 = count_if5_m5_o + count_if5_m5_e;
950 count_if5_m6 = count_if5_m6_o + count_if5_m6_e;
951 count_if5_m7 = count_if5_m7_o + count_if5_m7_e;
952 count_if5_m8 = count_if5_m8_o + count_if5_m8_e;
953 count_if5_m9 = count_if5_m9_o + count_if5_m9_e;
954 count_if5_m10 = count_if5_m10_o + count_if5_m10_e;
955 count_if5_m11 = count_if5_m11_o + count_if5_m11_e;
956 count_if5_m12 = count_if5_m12_o + count_if5_m12_e;
957
958
959
962
965
966
967
980
993
994
1007
1020
1021
1022
1023 if(identify_it_e!=identify_if5_l1_e ) count_if5_l1_e= tofDataMap.count(identify_if5_l1_e);
1024 if(identify_it_e!=identify_if5_l2_e ) count_if5_l2_e= tofDataMap.count(identify_if5_l2_e);
1025 if(identify_it_e!=identify_if5_l3_e ) count_if5_l3_e= tofDataMap.count(identify_if5_l3_e);
1026 if(identify_it_e!=identify_if5_l4_e ) count_if5_l4_e= tofDataMap.count(identify_if5_l4_e);
1027 if(identify_it_e!=identify_if5_l5_e ) count_if5_l5_e= tofDataMap.count(identify_if5_l5_e);
1028 if(identify_it_e!=identify_if5_l6_e ) count_if5_l6_e= tofDataMap.count(identify_if5_l6_e);
1029 if(identify_it_e!=identify_if5_l7_e ) count_if5_l7_e= tofDataMap.count(identify_if5_l7_e);
1030 if(identify_it_e!=identify_if5_l8_e ) count_if5_l8_e= tofDataMap.count(identify_if5_l8_e);
1031 if(identify_it_e!=identify_if5_l9_e ) count_if5_l9_e= tofDataMap.count(identify_if5_l9_e);
1032 if(identify_it_e!=identify_if5_l10_e ) count_if5_l10_e= tofDataMap.count(identify_if5_l10_e);
1033 if(identify_it_e!=identify_if5_l11_e ) count_if5_l11_e= tofDataMap.count(identify_if5_l11_e);
1034 if(identify_it_e!=identify_if5_l12_e ) count_if5_l12_e= tofDataMap.count(identify_if5_l12_e);
1035
1036 if(identify_it_o!=identify_if5_l1_o ) count_if5_l1_o= tofDataMap.count(identify_if5_l1_o);
1037 if(identify_it_o!=identify_if5_l2_o ) count_if5_l2_o= tofDataMap.count(identify_if5_l2_o);
1038 if(identify_it_o!=identify_if5_l3_o ) count_if5_l3_o= tofDataMap.count(identify_if5_l3_o);
1039 if(identify_it_o!=identify_if5_l4_o ) count_if5_l4_o= tofDataMap.count(identify_if5_l4_o);
1040 if(identify_it_o!=identify_if5_l5_o ) count_if5_l5_o= tofDataMap.count(identify_if5_l5_o);
1041 if(identify_it_o!=identify_if5_l6_o ) count_if5_l6_o= tofDataMap.count(identify_if5_l6_o);
1042 if(identify_it_o!=identify_if5_l7_o ) count_if5_l7_o= tofDataMap.count(identify_if5_l7_o);
1043 if(identify_it_o!=identify_if5_l8_o ) count_if5_l8_o= tofDataMap.count(identify_if5_l8_o);
1044 if(identify_it_o!=identify_if5_l9_o ) count_if5_l9_o= tofDataMap.count(identify_if5_l9_o);
1045 if(identify_it_o!=identify_if5_l10_o ) count_if5_l10_o= tofDataMap.count(identify_if5_l10_o);
1046 if(identify_it_o!=identify_if5_l11_o ) count_if5_l11_o= tofDataMap.count(identify_if5_l11_o);
1047 if(identify_it_o!=identify_if5_l12_o ) count_if5_l12_o= tofDataMap.count(identify_if5_l12_o);
1048
1049 count_if5_l1 = count_if5_l1_e + count_if5_l1_o;
1050 count_if5_l2 = count_if5_l2_e + count_if5_l2_o;
1051 count_if5_l3 = count_if5_l3_e + count_if5_l3_o;
1052 count_if5_l4 = count_if5_l4_e + count_if5_l4_o;
1053 count_if5_l5 = count_if5_l5_e + count_if5_l5_o;
1054 count_if5_l6 = count_if5_l6_e + count_if5_l6_o;
1055 count_if5_l7 = count_if5_l7_e + count_if5_l7_o;
1056 count_if5_l8 = count_if5_l8_e + count_if5_l8_o;
1057 count_if5_l9 = count_if5_l9_e + count_if5_l9_o;
1058 count_if5_l10 = count_if5_l10_e + count_if5_l10_o;
1059 count_if5_l11 = count_if5_l11_e + count_if5_l11_o;
1060 count_if5_l12 = count_if5_l12_e + count_if5_l12_o;
1061
1062
1063 if(identify_it_e!=identify_if5_r1_e ) count_if5_r1_e= tofDataMap.count(identify_if5_r1_e);
1064 if(identify_it_e!=identify_if5_r2_e ) count_if5_r2_e= tofDataMap.count(identify_if5_r2_e);
1065 if(identify_it_e!=identify_if5_r3_e ) count_if5_r3_e= tofDataMap.count(identify_if5_r3_e);
1066 if(identify_it_e!=identify_if5_r4_e ) count_if5_r4_e= tofDataMap.count(identify_if5_r4_e);
1067 if(identify_it_e!=identify_if5_r5_e ) count_if5_r5_e= tofDataMap.count(identify_if5_r5_e);
1068 if(identify_it_e!=identify_if5_r6_e ) count_if5_r6_e= tofDataMap.count(identify_if5_r6_e);
1069 if(identify_it_e!=identify_if5_r7_e ) count_if5_r7_e= tofDataMap.count(identify_if5_r7_e);
1070 if(identify_it_e!=identify_if5_r8_e ) count_if5_r8_e= tofDataMap.count(identify_if5_r8_e);
1071 if(identify_it_e!=identify_if5_r9_e ) count_if5_r9_e= tofDataMap.count(identify_if5_r9_e);
1072 if(identify_it_e!=identify_if5_r10_e ) count_if5_r10_e= tofDataMap.count(identify_if5_r10_e);
1073 if(identify_it_e!=identify_if5_r11_e ) count_if5_r11_e= tofDataMap.count(identify_if5_r11_e);
1074 if(identify_it_e!=identify_if5_r12_e ) count_if5_r12_e= tofDataMap.count(identify_if5_r12_e);
1075
1076 if(identify_it_o!=identify_if5_r1_o ) count_if5_r1_o= tofDataMap.count(identify_if5_r1_o);
1077 if(identify_it_o!=identify_if5_r2_o ) count_if5_r2_o= tofDataMap.count(identify_if5_r2_o);
1078 if(identify_it_o!=identify_if5_r3_o ) count_if5_r3_o= tofDataMap.count(identify_if5_r3_o);
1079 if(identify_it_o!=identify_if5_r4_o ) count_if5_r4_o= tofDataMap.count(identify_if5_r4_o);
1080 if(identify_it_o!=identify_if5_r5_o ) count_if5_r5_o= tofDataMap.count(identify_if5_r5_o);
1081 if(identify_it_o!=identify_if5_r6_o ) count_if5_r6_o= tofDataMap.count(identify_if5_r6_o);
1082 if(identify_it_o!=identify_if5_r7_o ) count_if5_r7_o= tofDataMap.count(identify_if5_r7_o);
1083 if(identify_it_o!=identify_if5_r8_o ) count_if5_r8_o= tofDataMap.count(identify_if5_r8_o);
1084 if(identify_it_o!=identify_if5_r9_o ) count_if5_r9_o= tofDataMap.count(identify_if5_r9_o);
1085 if(identify_it_o!=identify_if5_r10_o ) count_if5_r10_o= tofDataMap.count(identify_if5_r10_o);
1086 if(identify_it_o!=identify_if5_r11_o ) count_if5_r11_o= tofDataMap.count(identify_if5_r11_o);
1087 if(identify_it_o!=identify_if5_r12_o ) count_if5_r12_o= tofDataMap.count(identify_if5_r12_o);
1088
1089 count_if5_r1 = count_if5_r1_e + count_if5_r1_o;
1090 count_if5_r2 = count_if5_r2_e + count_if5_r2_o;
1091 count_if5_r3 = count_if5_r3_e + count_if5_r3_o;
1092 count_if5_r4 = count_if5_r4_e + count_if5_r4_o;
1093 count_if5_r5 = count_if5_r5_e + count_if5_r5_o;
1094 count_if5_r6 = count_if5_r6_e + count_if5_r6_o;
1095 count_if5_r7 = count_if5_r7_e + count_if5_r7_o;
1096 count_if5_r8 = count_if5_r8_e + count_if5_r8_o;
1097 count_if5_r9 = count_if5_r9_e + count_if5_r9_o;
1098 count_if5_r10 = count_if5_r10_e + count_if5_r10_o;
1099 count_if5_r11 = count_if5_r11_e + count_if5_r11_o;
1100 count_if5_r12 = count_if5_r12_e + count_if5_r12_o;
1101
1102 }
1103
1104 }
1105
1106
1108 {
1109 int data_map_size = tofDataMap.size();
1110 std::cout << "MrpcDBSTrack setTofData Number of elements in TofDataMap " << data_map_size << std::endl;
1112 for ( it=tofDataMap.begin() ; it != tofDataMap.end(); it++ )
1113 std::cout << " MrpcDBSTrack setTofData TofDataMap entries : "<< (*it).first <<" P_id " << (((*it).first & 0x7000)>>12) << " S_id "<< ((*it).first & 0xFFF) << std::endl;
1114 }
1115
1117 {
1118 std::cout << "Constructed Identifiers: " << std::endl;
1119 std::cout << " it "<< identify_it_e << " " << identify_it_o<< " P " << ((identify_it_o & 0x7000)>>12) <<" S " << (identify_it_o & 0xFFF) << std::endl;
1120 std::cout << " u "<< identify_u_e << " " << identify_u_o << " P " << ((identify_u_o & 0x7000)>>12) <<" S " << (identify_u_o & 0xFFF) << std::endl;
1121 std::cout << " b "<< identify_b_e << " " << identify_b_o << " P " << ((identify_b_o & 0x7000)>>12) <<" S " << (identify_b_o & 0xFFF) << std::endl;
1122 std::cout << " l "<< identify_l_e << " " << identify_l_o << " P " << ((identify_l_o & 0x7000)>>12) <<" S " << (identify_l_o & 0xFFF) << std::endl;
1123 std::cout << " r "<< identify_r_e << " " << identify_r_o << " P " << ((identify_r_o & 0x7000)>>12) <<" S " << (identify_r_o & 0xFFF) << std::endl;
1124 std::cout << " lu "<< identify_lu_e << " " << identify_lu_o<< " P " << ((identify_lu_o & 0x7000)>>12) <<" S " << (identify_lu_o & 0xFFF) << std::endl;
1125 std::cout << " ru "<< identify_ru_e << " " << identify_ru_o<< " P " << ((identify_ru_o & 0x7000)>>12) <<" S " << (identify_ru_o & 0xFFF) << std::endl;
1126 std::cout << " lb "<< identify_lb_e << " " << identify_lb_o<< " P " << ((identify_lb_o & 0x7000)>>12) <<" S " << (identify_lb_o & 0xFFF) << std::endl;
1127 std::cout << " rb "<< identify_rb_e << " " << identify_rb_o<< " P " << ((identify_rb_o & 0x7000)>>12) <<" S " << (identify_rb_o & 0xFFF) << std::endl;
1128
1129 }
1130
1131
1133 {
1134
1135
1136 std::cout << "Constructed Identifiers: " << std::endl;
1137 std::cout << " it "<< identify_it_e << " " << identify_it_o << std::endl;
1138 std::cout << " it if4 "<< identify_if4_it_e << " " << identify_if4_it_o << " P " << ((identify_if4_it_o & 0x7000)>>12) <<" S " << (identify_if4_it_o & 0xFFF) <<std::endl;
1139 std::cout << " m1 " <<identify_if4_m1_e << " " << identify_if4_m1_o << " P " << ((identify_if4_m1_o & 0x7000)>>12) <<" S " << (identify_if4_m1_o & 0xFFF) << std::endl;
1140 std::cout << " m2 " <<identify_if4_m2_e << " " << identify_if4_m2_o << " P " << ((identify_if4_m2_o & 0x7000)>>12) <<" S " << (identify_if4_m2_o & 0xFFF) << std::endl;
1141 std::cout << " m3 " <<identify_if4_m3_e << " " << identify_if4_m3_o <<" P " << ((identify_if4_m3_o & 0x7000)>>12) <<" S " << (identify_if4_m3_o & 0xFFF) << std::endl;
1142 std::cout << " m4 " <<identify_if4_m4_e << " " << identify_if4_m4_o <<" P " << ((identify_if4_m4_o & 0x7000)>>12) <<" S " << (identify_if4_m4_o & 0xFFF) << std::endl;
1143 std::cout << " m5 " <<identify_if4_m5_e << " " << identify_if4_m5_o <<" P " << ((identify_if4_m5_o & 0x7000)>>12) <<" S " << (identify_if4_m5_o & 0xFFF) << std::endl;
1144 std::cout << " m6 " <<identify_if4_m6_e << " " << identify_if4_m6_o <<" P " << ((identify_if4_m6_o & 0x7000)>>12) <<" S " << (identify_if4_m6_o & 0xFFF) << std::endl;
1145 std::cout << " m7 " <<identify_if4_m7_e << " " << identify_if4_m7_o <<" P " << ((identify_if4_m7_o & 0x7000)>>12) <<" S " << (identify_if4_m7_o & 0xFFF) << std::endl;
1146 std::cout << " m8 " <<identify_if4_m8_e << " " << identify_if4_m8_o <<" P " << ((identify_if4_m8_o & 0x7000)>>12) <<" S " << (identify_if4_m8_o & 0xFFF) << std::endl;
1147 std::cout << " m9 " <<identify_if4_m9_e << " " << identify_if4_m9_o <<" P " << ((identify_if4_m9_o & 0x7000)>>12) <<" S " << (identify_if4_m9_o & 0xFFF) << std::endl;
1148 std::cout << " m10 " <<identify_if4_m10_e << " " << identify_if4_m10_o<<" P " << ((identify_if4_m10_o & 0x7000)>>12) <<" S " << (identify_if4_m10_o & 0xFFF) << std::endl;
1149 std::cout << " m11 " <<identify_if4_m11_e << " " << identify_if4_m11_o <<" P " << ((identify_if4_m11_o & 0x7000)>>12) <<" S " << (identify_if4_m11_o & 0xFFF) << std::endl;
1150 std::cout << " m12 " <<identify_if4_m12_e << " " << identify_if4_m12_o <<" P " << ((identify_if4_m12_o & 0x7000)>>12) <<" S " << (identify_if4_m12_o & 0xFFF) << std::endl;
1151 std::cout << endl;
1152 }
1153
1154
1156 {
1157
1158
1159 std::cout << "Constructed Identifiers: " << std::endl;
1160 std::cout << " it "<< identify_it_e << " " << identify_it_o << std::endl;
1161 std::cout << " it if5 "<< identify_if5_it_e << " " << identify_if5_it_o << " P " << ((identify_if5_it_o & 0x7000)>>12) <<" S " << (identify_if5_it_o & 0xFFF) <<std::endl;
1162 std::cout << " m1 " <<identify_if5_m1_e << " " << identify_if5_m1_o << " P " << ((identify_if5_m1_o & 0x7000)>>12) <<" S " << (identify_if5_m1_o & 0xFFF) << std::endl;
1163 std::cout << " m2 " <<identify_if5_m2_e << " " << identify_if5_m2_o << " P " << ((identify_if5_m2_o & 0x7000)>>12) <<" S " << (identify_if5_m2_o & 0xFFF) << std::endl;
1164 std::cout << " m3 " <<identify_if5_m3_e << " " << identify_if5_m3_o <<" P " << ((identify_if5_m3_o & 0x7000)>>12) <<" S " << (identify_if5_m3_o & 0xFFF) << std::endl;
1165 std::cout << " m4 " <<identify_if5_m4_e << " " << identify_if5_m4_o <<" P " << ((identify_if5_m4_o & 0x7000)>>12) <<" S " << (identify_if5_m4_o & 0xFFF) << std::endl;
1166 std::cout << " m5 " <<identify_if5_m5_e << " " << identify_if5_m5_o <<" P " << ((identify_if5_m5_o & 0x7000)>>12) <<" S " << (identify_if5_m5_o & 0xFFF) << std::endl;
1167 std::cout << " m6 " <<identify_if5_m6_e << " " << identify_if5_m6_o <<" P " << ((identify_if5_m6_o & 0x7000)>>12) <<" S " << (identify_if5_m6_o & 0xFFF) << std::endl;
1168 std::cout << " m7 " <<identify_if5_m7_e << " " << identify_if5_m7_o <<" P " << ((identify_if5_m7_o & 0x7000)>>12) <<" S " << (identify_if5_m7_o & 0xFFF) << std::endl;
1169 std::cout << " m8 " <<identify_if5_m8_e << " " << identify_if5_m8_o <<" P " << ((identify_if5_m8_o & 0x7000)>>12) <<" S " << (identify_if5_m8_o & 0xFFF) << std::endl;
1170 std::cout << " m9 " <<identify_if5_m9_e << " " << identify_if5_m9_o <<" P " << ((identify_if5_m9_o & 0x7000)>>12) <<" S " << (identify_if5_m9_o & 0xFFF) << std::endl;
1171 std::cout << " m10 " <<identify_if5_m10_e << " " << identify_if5_m10_o<<" P " << ((identify_if5_m10_o & 0x7000)>>12) <<" S " << (identify_if5_m10_o & 0xFFF) << std::endl;
1172 std::cout << " m11 " <<identify_if5_m11_e << " " << identify_if5_m11_o <<" P " << ((identify_if5_m11_o & 0x7000)>>12) <<" S " << (identify_if5_m11_o & 0xFFF) << std::endl;
1173 std::cout << " m12 " <<identify_if5_m12_e << " " << identify_if5_m12_o <<" P " << ((identify_if5_m12_o & 0x7000)>>12) <<" S " << (identify_if5_m12_o & 0xFFF) << std::endl;
1174 std::cout << endl;
1175 std::cout << " l1 " <<identify_if5_l1_e << " " << identify_if5_l1_o<<" P " << ((identify_if5_l1_o & 0x7000)>>12) <<" S " << (identify_if5_l1_o & 0xFFF) << std::endl;
1176 std::cout << " l2 " <<identify_if5_l2_e << " " << identify_if5_l2_o<<" P " << ((identify_if5_l2_o & 0x7000)>>12) <<" S " << (identify_if5_l2_o & 0xFFF) <<std::endl;
1177 std::cout << " l3 " <<identify_if5_l3_e << " " << identify_if5_l3_o<<" P " << ((identify_if5_l3_o & 0x7000)>>12) <<" S " << (identify_if5_l3_o & 0xFFF) << std::endl;
1178 std::cout << " l4 " <<identify_if5_l4_e << " " << identify_if5_l4_o<<" P " << ((identify_if5_l4_o & 0x7000)>>12) <<" S " << (identify_if5_l4_o & 0xFFF) << std::endl;
1179 std::cout << " l5 " <<identify_if5_l5_e << " " << identify_if5_l5_o<<" P " << ((identify_if5_l5_o & 0x7000)>>12) <<" S " << (identify_if5_l5_o & 0xFFF) << std::endl;
1180 std::cout << " l6 " <<identify_if5_l6_e << " " << identify_if5_l6_o<<" P " << ((identify_if5_l6_o & 0x7000)>>12) <<" S " << (identify_if5_l6_o & 0xFFF) << std::endl;
1181 std::cout << " l7 " <<identify_if5_l7_e << " " << identify_if5_l7_o<<" P " << ((identify_if5_l7_o & 0x7000)>>12) <<" S " << (identify_if5_l7_o & 0xFFF) << std::endl;
1182 std::cout << " l8 " <<identify_if5_l8_e << " " << identify_if5_l8_o<<" P " << ((identify_if5_l8_o & 0x7000)>>12) <<" S " << (identify_if5_l8_o & 0xFFF) << std::endl;
1183 std::cout << " l9 " <<identify_if5_l9_e << " " << identify_if5_l9_o<<" P " << ((identify_if5_l9_o & 0x7000)>>12) <<" S " << (identify_if5_l9_o & 0xFFF) << std::endl;
1184 std::cout << " l10 " <<identify_if5_l10_e << " " << identify_if5_l10_o<<" P " << ((identify_if5_l10_o & 0x7000)>>12) <<" S " << (identify_if5_l10_o & 0xFFF) << std::endl;
1185 std::cout << " l11 " <<identify_if5_l11_e << " " << identify_if5_l11_o<<" P " << ((identify_if5_l11_o & 0x7000)>>12) <<" S " << (identify_if5_l11_o & 0xFFF) << std::endl;
1186 std::cout << " l12 " <<identify_if5_l12_e << " " << identify_if5_l12_o<<" P " << ((identify_if5_l12_o & 0x7000)>>12) <<" S " << (identify_if5_l12_o & 0xFFF) << std::endl;
1187 std::cout << endl;
1188 std::cout << " r1 " <<identify_if5_r1_e << " " << identify_if5_r1_o<<" P " << ((identify_if5_r1_o & 0x7000)>>12) <<" S " << (identify_if5_r1_o & 0xFFF) << std::endl;
1189 std::cout << " r2 " <<identify_if5_r2_e << " " << identify_if5_r2_o<<" P " << ((identify_if5_r2_o & 0x7000)>>12) <<" S " << (identify_if5_r2_o & 0xFFF) << std::endl;
1190 std::cout << " r3 " <<identify_if5_r3_e << " " << identify_if5_r3_o<<" P " << ((identify_if5_r3_o & 0x7000)>>12) <<" S " << (identify_if5_r3_o & 0xFFF) << std::endl;
1191 std::cout << " r4 " <<identify_if5_r4_e << " " << identify_if5_r4_o<<" P " << ((identify_if5_r4_o & 0x7000)>>12) <<" S " << (identify_if5_r4_o & 0xFFF) << std::endl;
1192 std::cout << " r5 " <<identify_if5_r5_e << " " << identify_if5_r5_o<<" P " << ((identify_if5_r5_o & 0x7000)>>12) <<" S " << (identify_if5_r5_o & 0xFFF) << std::endl;
1193 std::cout << " r6 " <<identify_if5_r6_e << " " << identify_if5_r6_o<<" P " << ((identify_if5_r6_o & 0x7000)>>12) <<" S " << (identify_if5_r6_o & 0xFFF) << std::endl;
1194 std::cout << " r7 " <<identify_if5_r7_e << " " << identify_if5_r7_o<<" P " << ((identify_if5_r7_o & 0x7000)>>12) <<" S " << (identify_if5_r7_o & 0xFFF) << std::endl;
1195 std::cout << " r8 " <<identify_if5_r8_e << " " << identify_if5_r8_o<<" P " << ((identify_if5_r8_o & 0x7000)>>12) <<" S " << (identify_if5_r8_o & 0xFFF) << std::endl;
1196 std::cout << " r9 " <<identify_if5_r9_e << " " << identify_if5_r9_o<<" P " << ((identify_if5_r9_o & 0x7000)>>12) <<" S " << (identify_if5_r9_o & 0xFFF) << std::endl;
1197 std::cout << " r10 " <<identify_if5_r10_e << " " << identify_if5_r10_o<<" P " << ((identify_if5_r10_o & 0x7000)>>12) <<" S " << (identify_if5_r10_o & 0xFFF) << std::endl;
1198 std::cout << " r11 " <<identify_if5_r11_e << " " << identify_if5_r11_o<<" P " << ((identify_if5_r11_o & 0x7000)>>12) <<" S " << (identify_if5_r11_o & 0xFFF) << std::endl;
1199std::cout << " r12 " <<identify_if5_r12_e << " " << identify_if5_r12_o<<" P " << ((identify_if5_r12_o & 0x7000)>>12) <<" S " << (identify_if5_r12_o & 0xFFF) << std::endl;
1200 std::cout << endl;
1201
1202 }
1203
1204
1205 if(count_it >0)
1206 {
1207 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_it > 0 count_it = " << count_it << std::endl;
1208
1209 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_it_e );
1211 for(
unsigned int i = 0; i < count_it_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 1 );
1212
1213 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_it_o );
1215 for(
unsigned int i = 0; i < count_it_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 1 );
1216
1217
1218 }
1219
1220 if(count_u >0)
1221 {
1222 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_u > 0 count_u = " << count_u << std::endl;
1223
1224
1225
1226 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_u_e );
1228 for(
unsigned int i = 0; i < count_u_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1229
1230 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_u_o );
1232 for(
unsigned int i = 0; i < count_u_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1233
1234 }
1235 if(count_b >0)
1236 {
1237 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_b > 0 count_b = " << count_b << std::endl;
1238
1239
1240 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_b_e );
1242 for(
unsigned int i = 0; i < count_b_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1243
1244 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_b_o );
1246 for(
unsigned int i = 0; i < count_b_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1247
1248 }
1249
1250 if(count_l >0)
1251 {
1252 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_l > 0 count_l = " << count_l << std::endl;
1253
1254
1255 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_l_e );
1257 for(
unsigned int i = 0; i < count_l_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1258
1259 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_l_o );
1261 for(
unsigned int i = 0; i < count_l_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1262
1263 }
1264
1265 if(count_r >0)
1266 {
1267 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_r > 0 count_r = " << count_r << std::endl;
1268
1269 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_r_e );
1271 for(
unsigned int i = 0; i < count_r_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1272
1273 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_r_o );
1275 for(
unsigned int i = 0; i < count_r_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1276
1277
1278 }
1279 if(count_lu >0)
1280 {
1281 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_lu > 0 count_lu = " << count_lu << std::endl;
1282
1283
1284
1285 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_lu_e );
1287 for(
unsigned int i = 0; i < count_lu_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1288
1289 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_lu_o );
1291 for(
unsigned int i = 0; i < count_lu_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1292
1293 }
1294
1295 if(count_ru >0)
1296 {
1297 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_ru > 0 count_ru = " << count_ru << std::endl;
1298
1299
1300 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_ru_e );
1302 for(
unsigned int i = 0; i < count_ru_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1303
1304 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_ru_o );
1306 for(
unsigned int i = 0; i < count_ru_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1307
1308 }
1309
1310 if(count_lb >0)
1311 {
1312 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_lb > 0 count_lb = " << count_lb << std::endl;
1313
1314
1315 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_lb_e );
1317 for(
unsigned int i = 0; i < count_lb_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1318
1319 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_lb_o );
1321 for(
unsigned int i = 0; i < count_lb_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1322
1323 }
1324
1325 if(count_rb >0)
1326 {
1327 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_rb > 0 count_rb = " << count_rb << std::endl;
1328
1329
1330 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_rb_e );
1332 for(
unsigned int i = 0; i < count_rb_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1333
1334 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_rb_o );
1336 for(
unsigned int i = 0; i < count_rb_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1337
1338 }
1339
1340
1341 if(count_if4_m1>0)
1342 {
1343
1344 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m1 > 0 count_if4_m1 = " << count_if4_m1 << std::endl;
1345
1346 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m1_e );
1348 for(
unsigned int i = 0; i < count_if4_m1_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1349
1350 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m1_o );
1352 for(
unsigned int i = 0; i < count_if4_m1_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1353
1354 }
1355 if(count_if4_m2>0)
1356 {
1357 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m2 > 0 count_if4_m2 = " << count_if4_m2 << std::endl;
1358
1359
1360 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m2_e );
1362 for(
unsigned int i = 0; i < count_if4_m2_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1363
1364 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m2_o );
1366 for(
unsigned int i = 0; i < count_if4_m2_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1367
1368
1369
1370
1371 }
1372 if(count_if4_m3>0)
1373 {
1374 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m3 > 0 count_if4_m3 = " << count_if4_m3 << std::endl;
1375
1376
1377 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m3_e );
1379 for(
unsigned int i = 0; i < count_if4_m3_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1380
1381 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m3_o );
1383 for(
unsigned int i = 0; i < count_if4_m3_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1384
1385
1386 }
1387 if(count_if4_m4>0)
1388 {
1389 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m4 > 0 count_if4_m4 = " << count_if4_m4 << std::endl;
1390
1391
1392 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m4_e );
1394 for(
unsigned int i = 0; i < count_if4_m4_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1395
1396 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m4_o );
1398 for(
unsigned int i = 0; i < count_if4_m4_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1399
1400
1401 }
1402 if(count_if4_m5>0)
1403 {
1404 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m5 > 0 count_if4_m5 = " << count_if4_m5 << std::endl;
1405
1406
1407 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m5_e );
1409 for(
unsigned int i = 0; i < count_if4_m5_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1410
1411 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m5_o );
1413 for(
unsigned int i = 0; i < count_if4_m5_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1414
1415
1416
1417
1418 }
1419 if(count_if4_m6>0)
1420 {
1421 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m6 > 0 count_if4_m6 = " << count_if4_m6 << std::endl;
1422
1423
1424
1425 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m6_e );
1427 for(
unsigned int i = 0; i < count_if4_m6_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1428
1429 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m6_o );
1431 for(
unsigned int i = 0; i < count_if4_m6_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1432
1433
1434
1435 }
1436 if(count_if4_m7>0)
1437 {
1438 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m7 > 0 count_if4_m7 = " << count_if4_m7 << std::endl;
1439
1440
1441 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m7_e );
1443 for(
unsigned int i = 0; i < count_if4_m7_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1444
1445 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m7_o );
1447 for(
unsigned int i = 0; i < count_if4_m7_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1448
1449
1450
1451
1452 }
1453 if(count_if4_m8>0)
1454 {
1455 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m8 > 0 count_if4_m8 = " << count_if4_m8 << std::endl;
1456
1457
1458
1459 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m8_e );
1461 for(
unsigned int i = 0; i < count_if4_m8_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1462
1463 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m8_o );
1465 for(
unsigned int i = 0; i < count_if4_m8_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1466
1467
1468
1469
1470 }
1471 if(count_if4_m9>0)
1472 {
1473 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m9 > 0 count_if4_m9 = " << count_if4_m9 << std::endl;
1474
1475
1476 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m9_e );
1478 for(
unsigned int i = 0; i < count_if4_m9_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1479
1480 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m9_o );
1482 for(
unsigned int i = 0; i < count_if4_m9_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1483
1484
1485
1486
1487 }
1488 if(count_if4_m10>0)
1489 {
1490 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m10 > 0 count_if4_m10 = " << count_if4_m10 << std::endl;
1491
1492
1493 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m10_e );
1495 for(
unsigned int i = 0; i < count_if4_m10_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1496
1497 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m10_o );
1499 for(
unsigned int i = 0; i < count_if4_m10_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1500
1501
1502
1503
1504
1505 }
1506 if(count_if4_m11>0)
1507 {
1508 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m11 > 0 count_if4_m11 = " << count_if4_m11 << std::endl;
1509
1510
1511
1512 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m11_e );
1514 for(
unsigned int i = 0; i < count_if4_m11_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1515
1516 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m11_o );
1518 for(
unsigned int i = 0; i < count_if4_m11_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1519
1520
1521
1522
1523 }
1524 if(count_if4_m12>0)
1525 {
1526 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if4_m12 > 0 count_if4_m12 = " << count_if4_m12 << std::endl;
1527
1528
1529 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if4_m12_e );
1531 for(
unsigned int i = 0; i < count_if4_m12_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1532
1533 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if4_m12_o );
1535 for(
unsigned int i = 0; i < count_if4_m12_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1536
1537
1538 }
1539
1540
1541 if(count_if5_m1>0)
1542 {
1543 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m1 > 0 count_if5_m1 = " << count_if5_m1 << std::endl;
1544
1545 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m1_e );
1547 for(
unsigned int i = 0; i < count_if5_m1_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1548
1549 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m1_o );
1551 for(
unsigned int i = 0; i < count_if5_m1_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1552
1553 }
1554 if(count_if5_m2>0)
1555 {
1556 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m2 > 0 count_if5_m2 = " << count_if5_m2 << std::endl;
1557
1558 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m2_e );
1560 for(
unsigned int i = 0; i < count_if5_m2_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1561
1562 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m2_o );
1564 for(
unsigned int i = 0; i < count_if5_m2_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1565
1566
1567 }
1568 if(count_if5_m3>0)
1569 {
1570 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m3 > 0 count_if5_m3 = " << count_if5_m3 << std::endl;
1571
1572
1573 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m3_e );
1575 for(
unsigned int i = 0; i < count_if5_m3_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1576
1577 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m3_o );
1579 for(
unsigned int i = 0; i < count_if5_m3_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1580
1581
1582 }
1583 if(count_if5_m4>0)
1584 {
1585 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m4 > 0 count_if5_m4 = " << count_if5_m4 << std::endl;
1586
1587
1588 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m4_e );
1590 for(
unsigned int i = 0; i < count_if5_m4_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1591
1592 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m4_o );
1594 for(
unsigned int i = 0; i < count_if5_m4_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1595
1596
1597 }
1598 if(count_if5_m5>0)
1599 {
1600 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m5 > 0 count_if5_m5 = " << count_if5_m5 << std::endl;
1601
1602 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m5_e );
1604 for(
unsigned int i = 0; i < count_if5_m5_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1605
1606 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m5_o );
1608 for(
unsigned int i = 0; i < count_if5_m5_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1609
1610
1611 }
1612 if(count_if5_m6>0)
1613 {
1614 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m6 > 0 count_if5_m6 = " << count_if5_m6 << std::endl;
1615
1616
1617 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m6_e );
1619 for(
unsigned int i = 0; i < count_if5_m6_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1620
1621 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m6_o );
1623 for(
unsigned int i = 0; i < count_if5_m6_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1624
1625
1626 }
1627 if(count_if5_m7>0)
1628 {
1629 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m7 > 0 count_if5_m7 = " << count_if5_m7 << std::endl;
1630
1631
1632 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m7_e );
1634 for(
unsigned int i = 0; i < count_if5_m7_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1635
1636 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m7_o );
1638 for(
unsigned int i = 0; i < count_if5_m7_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1639
1640
1641 }
1642 if(count_if5_m8>0)
1643 {
1644 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m8 > 0 count_if5_m8 = " << count_if5_m8 << std::endl;
1645
1646
1647 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m8_e );
1649 for(
unsigned int i = 0; i < count_if5_m8_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1650
1651 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m8_o );
1653 for(
unsigned int i = 0; i < count_if5_m8_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1654
1655 }
1656 if(count_if5_m9>0)
1657 {
1658 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m9 > 0 count_if5_m9 = " << count_if5_m9 << std::endl;
1659
1660
1661 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m9_e );
1663 for(
unsigned int i = 0; i < count_if5_m9_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1664
1665 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m9_o );
1667 for(
unsigned int i = 0; i < count_if5_m9_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1668
1669
1670 }
1671 if(count_if5_m10>0)
1672 {
1673 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m10 > 0 count_if5_m10 = " << count_if5_m10 << std::endl;
1674
1675
1676 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m10_e );
1678 for(
unsigned int i = 0; i < count_if5_m10_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1679
1680 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m10_o );
1682 for(
unsigned int i = 0; i < count_if5_m10_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1683
1684 }
1685 if(count_if5_m11>0)
1686 {
1687 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m11 > 0 count_if5_m11 = " << count_if5_m11 << std::endl;
1688
1689
1690 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m11_e );
1692 for(
unsigned int i = 0; i < count_if5_m11_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1693
1694 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m11_o );
1696 for(
unsigned int i = 0; i < count_if5_m11_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1697
1698 }
1699 if(count_if5_m12>0)
1700 {
1701 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_m12 > 0 count_if5_m12 = " << count_if5_m12 << std::endl;
1702
1703
1704 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_m12_e );
1706 for(
unsigned int i = 0; i < count_if5_m12_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1707
1708 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_m12_o );
1710 for(
unsigned int i = 0; i < count_if5_m12_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1711
1712 }
1713 if(count_if5_l1>0)
1714 {
1715 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l1 > 0 count_if5_l1 = " << count_if5_l1 << std::endl;
1716
1717 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l1_e );
1719 for(
unsigned int i = 0; i < count_if5_l1_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1720
1721 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l1_o );
1723 for(
unsigned int i = 0; i < count_if5_l1_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1724
1725
1726 }
1727 if(count_if5_l2>0)
1728 {
1729 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l2 > 0 count_if5_l2 = " << count_if5_l2 << std::endl;
1730
1731 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l2_e );
1733 for(
unsigned int i = 0; i < count_if5_l2_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1734
1735 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l2_o );
1737 for(
unsigned int i = 0; i < count_if5_l2_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1738
1739 }
1740 if(count_if5_l3>0)
1741 {
1742 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l3 > 0 count_if5_l3 = " << count_if5_l3 << std::endl;
1743
1744 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l3_e );
1746 for(
unsigned int i = 0; i < count_if5_l3_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1747
1748 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l3_o );
1750 for(
unsigned int i = 0; i < count_if5_l3_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1751
1752 }
1753 if(count_if5_l4>0)
1754 {
1755 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l4 > 0 count_if5_l4 = " << count_if5_l4 << std::endl;
1756
1757 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l4_e );
1759 for(
unsigned int i = 0; i < count_if5_l4_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1760
1761 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l4_o );
1763 for(
unsigned int i = 0; i < count_if5_l4_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1764
1765 }
1766 if(count_if5_l5>0)
1767 {
1768 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l5 > 0 count_if5_l5 = " << count_if5_l5 << std::endl;
1769
1770
1771 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l5_e );
1773 for(
unsigned int i = 0; i < count_if5_l5_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1774
1775 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l5_o );
1777 for(
unsigned int i = 0; i < count_if5_l5_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1778
1779 }
1780 if(count_if5_l6>0)
1781 {
1782 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l6 > 0 count_if5_l6 = " << count_if5_l6 << std::endl;
1783
1784 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l6_e );
1786 for(
unsigned int i = 0; i < count_if5_l6_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1787
1788 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l6_o );
1790 for(
unsigned int i = 0; i < count_if5_l6_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1791
1792 }
1793 if(count_if5_l7>0)
1794 {
1795 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l7 > 0 count_if5_l7 = " << count_if5_l7 << std::endl;
1796
1797 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l7_e );
1799 for(
unsigned int i = 0; i < count_if5_l7_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1800
1801 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l7_o );
1803 for(
unsigned int i = 0; i < count_if5_l7_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1804
1805 }
1806 if(count_if5_l8>0)
1807 {
1808 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l8 > 0 count_if5_l8 = " << count_if5_l8 << std::endl;
1809
1810 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l8_e );
1812 for(
unsigned int i = 0; i < count_if5_l8_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1813
1814 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l8_o );
1816 for(
unsigned int i = 0; i < count_if5_l8_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1817
1818 }
1819 if(count_if5_l9>0)
1820 {
1821 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l9 > 0 count_if5_l9 = " << count_if5_l9 << std::endl;
1822
1823 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l9_e );
1825 for(
unsigned int i = 0; i < count_if5_l9_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1826
1827 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l9_o );
1829 for(
unsigned int i = 0; i < count_if5_l9_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1830
1831 }
1832 if(count_if5_l10>0)
1833 {
1834 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l10 > 0 count_if5_l10 = " << count_if5_l10 << std::endl;
1835
1836
1837 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l10_e );
1839 for(
unsigned int i = 0; i < count_if5_l10_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1840
1841 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l10_o );
1843 for(
unsigned int i = 0; i < count_if5_l10_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1844
1845
1846 }
1847 if(count_if5_l11>0)
1848 {
1849 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l11 > 0 count_if5_l11 = " << count_if5_l11 << std::endl;
1850
1851
1852 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l11_e );
1854 for(
unsigned int i = 0; i < count_if5_l11_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1855
1856 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l11_o );
1858 for(
unsigned int i = 0; i < count_if5_l11_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1859
1860
1861 }
1862 if(count_if5_l12>0)
1863 {
1864 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_l12 > 0 count_if5_l12 = " << count_if5_l12 << std::endl;
1865
1866
1867 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_l12_e );
1869 for(
unsigned int i = 0; i < count_if5_l12_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1870
1871 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_l12_o );
1873 for(
unsigned int i = 0; i < count_if5_l12_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1874
1875
1876 }
1877
1878 if(count_if5_r1>0)
1879 {
1880 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r1 > 0 count_if5_r1 = " << count_if5_r1 << std::endl;
1881
1882 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r1_e );
1884 for(
unsigned int i = 0; i < count_if5_r1_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1885
1886 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r1_o );
1888 for(
unsigned int i = 0; i < count_if5_r1_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1889
1890
1891 }
1892 if(count_if5_r2>0)
1893 {
1894 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r2 > 0 count_if5_r2 = " << count_if5_r2 << std::endl;
1895
1896
1897 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r2_e );
1899 for(
unsigned int i = 0; i < count_if5_r2_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1900
1901 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r2_o );
1903 for(
unsigned int i = 0; i < count_if5_r2_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1904
1905
1906
1907 }
1908 if(count_if5_r3>0)
1909 {
1910 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r3 > 0 count_if5_r3 = " << count_if5_r3 << std::endl;
1911
1912
1913 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r3_e );
1915 for(
unsigned int i = 0; i < count_if5_r3_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1916
1917 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r3_o );
1919 for(
unsigned int i = 0; i < count_if5_r3_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1920
1921
1922 }
1923 if(count_if5_r4>0)
1924 {
1925 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r4 > 0 count_if5_r4 = " << count_if5_r4 << std::endl;
1926
1927
1928 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r4_e );
1930 for(
unsigned int i = 0; i < count_if5_r4_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1931
1932 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r4_o );
1934 for(
unsigned int i = 0; i < count_if5_r4_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1935
1936
1937
1938 }
1939 if(count_if5_r5>0)
1940 {
1941 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r5 > 0 count_if5_r5 = " << count_if5_r5 << std::endl;
1942
1943
1944 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r5_e );
1946 for(
unsigned int i = 0; i < count_if5_r5_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1947
1948 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r5_o );
1950 for(
unsigned int i = 0; i < count_if5_r5_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1951
1952
1953 }
1954 if(count_if5_r6>0)
1955 {
1956 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r6 > 0 count_if5_r6 = " << count_if5_r6 << std::endl;
1957
1958 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r6_e );
1960 for(
unsigned int i = 0; i < count_if5_r6_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1961
1962 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r6_o );
1964 for(
unsigned int i = 0; i < count_if5_r6_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1965
1966
1967 }
1968 if(count_if5_r7>0)
1969 {
1970 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r7 > 0 count_if5_r7 = " << count_if5_r7 << std::endl;
1971
1972
1973 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r7_e );
1975 for(
unsigned int i = 0; i < count_if5_r7_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1976
1977 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r7_o );
1979 for(
unsigned int i = 0; i < count_if5_r7_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1980
1981 }
1982 if(count_if5_r8>0)
1983 {
1984 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r8 > 0 count_if5_r8 = " << count_if5_r8 << std::endl;
1985
1986
1987 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r8_e );
1989 for(
unsigned int i = 0; i < count_if5_r8_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
1990
1991 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r8_o );
1993 for(
unsigned int i = 0; i < count_if5_r8_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
1994
1995
1996 }
1997 if(count_if5_r9>0)
1998 {
1999 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r9 > 0 count_if5_r9 = " << count_if5_r9 << std::endl;
2000
2001
2002 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r9_e );
2004 for(
unsigned int i = 0; i < count_if5_r9_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
2005
2006 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r9_o );
2008 for(
unsigned int i = 0; i < count_if5_r9_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
2009
2010
2011 }
2012 if(count_if5_r10>0)
2013 {
2014 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r10 > 0 count_if5_r10 = " << count_if5_r10 << std::endl;
2015
2016
2017 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r10_e );
2019 for(
unsigned int i = 0; i < count_if5_r10_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
2020
2021 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r10_o );
2023 for(
unsigned int i = 0; i < count_if5_r10_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
2024
2025
2026
2027 }
2028 if(count_if5_r11>0)
2029 {
2030 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r11 > 0 count_if5_r11 = " << count_if5_r11 << std::endl;
2031
2032
2033 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r11_e );
2035 for(
unsigned int i = 0; i < count_if5_r11_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
2036
2037 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r11_o );
2039 for(
unsigned int i = 0; i < count_if5_r11_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
2040
2041
2042
2043 }
2044 if(count_if5_r12>0)
2045 {
2046 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData -match count_if5_r12 > 0 count_if5_r12 = " << count_if5_r12 << std::endl;
2047
2048
2049 pair< IterTofDataMap, IterTofDataMap > range_e = tofDataMap.equal_range( identify_if5_r12_e );
2051 for(
unsigned int i = 0; i < count_if5_r12_e; i++, iter_e++ )
tofDataAnalysis( (*iter_e).second, 2 );
2052
2053 pair< IterTofDataMap, IterTofDataMap > range_o = tofDataMap.equal_range( identify_if5_r12_o );
2055 for(
unsigned int i = 0; i < count_if5_r12_o; i++, iter_o++ )
tofDataAnalysis( (*iter_o).second, 2 );
2056
2057
2058 }
2059
2060
2061
2062
2063
2064
2065
2066
2068 int tofid0 = m_id1;
2070 count0 = tofDataMap.count( identify0 );
2071 int tofid1 = tofid0 - 1;
2072 if( tofid1 == -1 ) { tofid1 = 87; }
2074 count1 = tofDataMap.count( identify1 );
2075 int tofid2 = tofid0 + 1;
2076 if( tofid2 == 88 ) { tofid2 = 0; }
2078 count2 = tofDataMap.count( identify2 );
2079
2080 }
2081
2082 if( ( m_hitCase ==
EastEndcap ) && ( m_id1 > -1 ) ) {
2083 int tofid0 = m_id1;
2085 count0 = tofDataMap.count( identify0 );
2086 int tofid1 = tofid0 - 1;
2087 if( tofid1 == -1 ) { tofid1 = 47; }
2089 count1 = tofDataMap.count( identify1 );
2090 int tofid2 = tofid0 + 1;
2091 if( tofid2 == 48 ) { tofid2 = 0; }
2093 count2 = tofDataMap.count( identify2 );
2094
2095
2096 }
2097
2098 if( ( m_hitCase ==
WestEndcap ) && ( m_id1 > -1 ) ) {
2099 int tofid0 = m_id1 - 48;
2101 count0 = tofDataMap.count( identify0 );
2102 int tofid1 = tofid0 - 1;
2103 if( tofid1 == -1 ) { tofid1 = 47; }
2105 count1 = tofDataMap.count( identify1 );
2106 int tofid2 = tofid0 + 1;
2107 if( tofid2 == 48 ) { tofid2 = 0; }
2109 count2 = tofDataMap.count( identify2 );
2110
2111
2112 }
2113
2114 if( count0 > 0 ) {
2115 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify0 );
2117 for(
unsigned int i = 0; i < count0; i++,
iter++ ) {
2119 }
2120 }
2121 if( count1 > 0 ) {
2122 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify1 );
2124 for(
unsigned int i = 0; i < count1; i++,
iter++ ) {
2126 }
2127 }
2128 if( count2 > 0 ) {
2129 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify2 );
2131 for(
unsigned int i = 0; i < count2; i++,
iter++ ) {
2133 }
2134 }
2135
2136 if( ( count0 == 0 ) && ( count1 == 0 ) && ( count2 == 0 )
2137
2138 && (count_it==0)
2139
2140 && (count_u==0) && (count_b==0)
2141
2142 && (count_l==0) && (count_lu==0) && (count_lb==0) && (count_r==0) && (count_ru==0) && (count_rb==0)
2143
2144 && (count_if4_m1==0) && (count_if4_m2==0) && (count_if4_m3==0) && (count_if4_m4==0) && (count_if4_m5==0) && (count_if4_m6==0) && (count_if4_m7==0) && (count_if4_m8==0)
2145 && (count_if4_m9==0) && (count_if4_m10==0) && (count_if4_m11==0) && (count_if4_m11==0) && (count_if4_m12==0)
2146
2147 && (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)
2148 && (count_if5_m10 ==0) && (count_if5_m11 ==0) && (count_if5_m12 ==0)
2149 && (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)
2150 && (count_if5_l10 ==0) && (count_if5_l11 ==0) && (count_if5_l12 ==0)
2151 && (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)
2152 && (count_if5_r10 ==0) && (count_if5_r11 ==0) && (count_if5_r12 ==0)
2153 ) {
2154
2155 if(
mrpc_dbs_debug_counter) std::cout <<
"MrpcDBSTrack setTofData - All count variables are equal 0. m_hitCase | m_id1 " << m_hitCase <<
" | " << m_id1 << std::endl;
2156
2159 m_quality = 12;
2160 }
2161 else {
2163 }
2164 }
2165
2167 int tofid0 = m_id2 - 88;
2169 count0 = tofDataMap.count( identify0 );
2170 int tofid1 = tofid0 - 1;
2171 if( tofid1 == -1 ) { tofid1 = 87; }
2173 count1 = tofDataMap.count( identify1 );
2174 int tofid2 = tofid0 + 1;
2175 if( tofid2 == 88 ) { tofid2 = 0; }
2177 count2 = tofDataMap.count( identify2 );
2178
2179 if( count0 > 0 ) {
2180 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify0 );
2182 for(
unsigned int i = 0; i < count0; i++,
iter++ ) {
2184 }
2185 }
2186 if( count1 > 0 ) {
2187 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify1 );
2189 for(
unsigned int i = 0; i < count1; i++,
iter++ ) {
2191 }
2192 }
2193 if( count2 > 0 ) {
2194 pair< IterTofDataMap, IterTofDataMap > range = tofDataMap.equal_range( identify2 );
2196 for(
unsigned int i = 0; i < count2; i++,
iter++ ) {
2198 }
2199 }
2200
2201 if( ( count0 == 0 ) && ( count1 == 0 ) && ( count2 == 0 ) ) {
2204 m_quality = 12;
2205 }
2206 else {
2208 }
2209 }
2210 }
2211
2212
2213 if(
mrpc_dbs_debug_counter) std::cout <<
"---------------- END EVENT -> mrpc_dbs_debug_counter ------------------------" << std::endl;
2214
2215 return;
2216}
std::multimap< unsignedint, TofData * >::iterator IterTofDataMap
bool mrpc_dbs_debug_counter
static G4int Produce_unique_identifier(G4int module_mrpc_f, G4int readoutstripnumber_f)
int get_mrpc_module_id_neighbour(string which, int stripid, int layer)
int get_strip_number_neighbour_base_12(string which, int strip_base_24)
void tofDataAnalysis(TofData *tof, unsigned int iflag)
int get_mrpc_partid_neighbour(std::string, int)
static value_type getIntID_mrpc(int partID, int scinNum)
static value_type getIntID(int barrel_ec, int layer, int phi_module, int end)