2 |
* FTrkCalibQLookExpert.cxx |
* FTrkCalibQLookExpert.cxx |
3 |
* |
* |
4 |
* autor: D.Fedele |
* autor: D.Fedele |
5 |
* version v1r18 |
* version v1r25 |
6 |
* Parameters: |
* Parameters: |
7 |
* file - the data file to analyze |
* file - the data file to analyze |
8 |
* step - select =1 in order to analyze one event at time |
* step - select =1 in order to analyze one event at time |
541 |
if(nn==0){ |
if(nn==0){ |
542 |
b.SetFillColor(107); |
b.SetFillColor(107); |
543 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
544 |
|
b.DrawBox(256.,2200.,384.,maxhist); |
545 |
b.DrawBox(768.,2200.,2047.,maxhist); |
b.DrawBox(768.,2200.,2047.,maxhist); |
546 |
} |
} |
547 |
else if(nn==1){ |
else if(nn==1){ |
551 |
|
|
552 |
b.SetFillColor(107); |
b.SetFillColor(107); |
553 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
554 |
|
b.DrawBox(384.,700.,512.,maxhist); |
555 |
|
b.DrawBox(2048.,700.,2432.,maxhist); |
556 |
b.DrawBox(2816.,700.,2944.,maxhist); |
b.DrawBox(2816.,700.,2944.,maxhist); |
557 |
b.DrawBox(2048.,700.,2176.,maxhist); |
} |
558 |
|
else if(nn==3){ |
559 |
|
b.SetFillColor(107); |
560 |
|
b.SetFillStyle(3954); |
561 |
|
b.DrawBox(2816.,700.,3070.,maxhist); |
562 |
} |
} |
563 |
else if(nn==4){ |
else if(nn==4){ |
564 |
b.SetFillColor(107); |
b.SetFillColor(107); |
565 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
566 |
b.DrawBox(384.,2200.,512.,maxhist); |
b.DrawBox(256.,2200.,512.,maxhist); |
567 |
|
b.DrawBox(2816.,2200.,3070.,maxhist); |
568 |
|
} |
569 |
|
else if(nn==5){ |
570 |
|
b.SetFillColor(107); |
571 |
|
b.SetFillStyle(3954); |
572 |
|
b.DrawBox(896.,700.,1024.,maxhist); |
573 |
} |
} |
574 |
else if(nn==6){ |
else if(nn==6){ |
575 |
b.SetFillColor(6); |
b.SetFillColor(6); |
576 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
577 |
b.DrawBox(2560.,2200.,2816.,maxhist); |
b.DrawBox(1024.,2200.,1280.,maxhist); |
|
b.DrawBox(1024.,2200.,1535.,maxhist); |
|
578 |
|
|
579 |
b.SetFillColor(107); |
b.SetFillColor(107); |
580 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
581 |
b.DrawBox(512.,2200.,768.,maxhist); |
b.DrawBox(512.,2200.,768.,maxhist); |
582 |
b.DrawBox(1536.,2200.,1792.,maxhist); |
b.DrawBox(1280.,2200.,1792.,maxhist); |
583 |
|
b.DrawBox(2560.,2200.,2816.,maxhist); |
584 |
} |
} |
585 |
else if(nn==7){ |
else if(nn==7){ |
586 |
b.SetFillColor(107); |
b.SetFillColor(107); |
587 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
588 |
b.DrawBox(512.,700.,768.,maxhist); |
b.DrawBox(512.,700.,768.,maxhist); |
589 |
|
b.DrawBox(896.,700.,1535.,maxhist); |
590 |
} |
} |
591 |
else if(nn==8){ |
else if(nn==8){ |
592 |
b.SetFillColor(107); |
b.SetFillColor(107); |
597 |
b.SetFillColor(107); |
b.SetFillColor(107); |
598 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
599 |
b.DrawBox(256.,700.,384.,maxhist); |
b.DrawBox(256.,700.,384.,maxhist); |
600 |
|
b.DrawBox(1280.,700.,1535.,maxhist); |
601 |
|
b.DrawBox(1792.,700.,1920.,maxhist); |
602 |
} |
} |
603 |
else if(nn==10){ |
else if(nn==10){ |
604 |
b.SetFillColor(107); |
b.SetFillColor(107); |
605 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
606 |
b.DrawBox(2560.,2200.,3070.,maxhist); |
b.DrawBox(1024.,2200.,1152.,maxhist); |
607 |
|
b.DrawBox(2048.,2200.,3070.,maxhist); |
608 |
} |
} |
609 |
else if(nn==11){ |
else if(nn==11){ |
610 |
b.SetFillColor(6); |
b.SetFillColor(6); |
664 |
if(nn==0){ |
if(nn==0){ |
665 |
b.SetFillColor(107); |
b.SetFillColor(107); |
666 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
667 |
|
b.DrawBox(256.,0.,384.,maxhist); |
668 |
b.DrawBox(768.,0.,2047.,maxhist); |
b.DrawBox(768.,0.,2047.,maxhist); |
669 |
} |
} |
670 |
else if(nn==1){ |
else if(nn==1){ |
674 |
|
|
675 |
b.SetFillColor(107); |
b.SetFillColor(107); |
676 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
677 |
|
b.DrawBox(384.,0.,512.,maxhist); |
678 |
|
b.DrawBox(2048.,0.,2432.,maxhist); |
679 |
b.DrawBox(2816.,0.,2944.,maxhist); |
b.DrawBox(2816.,0.,2944.,maxhist); |
680 |
b.DrawBox(2048.,0.,2176.,maxhist); |
} |
681 |
|
else if(nn==3){ |
682 |
|
b.SetFillColor(107); |
683 |
|
b.SetFillStyle(3954); |
684 |
|
b.DrawBox(2816.,0.,3070.,maxhist); |
685 |
} |
} |
686 |
else if(nn==4){ |
else if(nn==4){ |
687 |
b.SetFillColor(107); |
b.SetFillColor(107); |
688 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
689 |
b.DrawBox(384.,0.,512.,maxhist); |
b.DrawBox(256.,0.,512.,maxhist); |
690 |
|
b.DrawBox(2816.,0.,3070.,maxhist); |
691 |
|
} |
692 |
|
else if(nn==5){ |
693 |
|
b.SetFillColor(107); |
694 |
|
b.SetFillStyle(3954); |
695 |
|
b.DrawBox(896.,0.,1024.,maxhist); |
696 |
} |
} |
697 |
else if(nn==6){ |
else if(nn==6){ |
698 |
b.SetFillColor(6); |
b.SetFillColor(6); |
699 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
700 |
b.DrawBox(2560.,0.,2816.,maxhist); |
b.DrawBox(1024.,0.,1280.,maxhist); |
|
b.DrawBox(1024.,0.,1535.,maxhist); |
|
701 |
|
|
702 |
b.SetFillColor(107); |
b.SetFillColor(107); |
703 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
704 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
705 |
b.DrawBox(1536.,0.,1792.,maxhist); |
b.DrawBox(1280.,0.,1792.,maxhist); |
706 |
|
b.DrawBox(2560.,0.,2816.,maxhist); |
707 |
} |
} |
708 |
else if(nn==7){ |
else if(nn==7){ |
709 |
b.SetFillColor(107); |
b.SetFillColor(107); |
710 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
711 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
712 |
|
b.DrawBox(896.,0.,1535.,maxhist); |
713 |
} |
} |
714 |
else if(nn==8){ |
else if(nn==8){ |
715 |
b.SetFillColor(107); |
b.SetFillColor(107); |
720 |
b.SetFillColor(107); |
b.SetFillColor(107); |
721 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
722 |
b.DrawBox(256.,0.,384.,maxhist); |
b.DrawBox(256.,0.,384.,maxhist); |
723 |
|
b.DrawBox(1280.,0.,1535.,maxhist); |
724 |
|
b.DrawBox(1792.,0.,1920.,maxhist); |
725 |
} |
} |
726 |
else if(nn==10){ |
else if(nn==10){ |
727 |
b.SetFillColor(107); |
b.SetFillColor(107); |
728 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
729 |
b.DrawBox(2560.,0.,3070.,maxhist); |
b.DrawBox(1024.,0.,1152.,maxhist); |
730 |
|
b.DrawBox(2048.,0.,3070.,maxhist); |
731 |
} |
} |
732 |
else if(nn==11){ |
else if(nn==11){ |
733 |
b.SetFillColor(6); |
b.SetFillColor(6); |