1 |
/** |
`/** |
2 |
* FTrkCalibQLookExpert.cxx |
* FTrkCalibQLookExpert.cxx |
3 |
* |
* |
4 |
* autor: D.Fedele |
* autor: D.Fedele |
5 |
* version v1r18 |
* version v1r23 |
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==6){ |
else if(nn==6){ |
570 |
b.SetFillColor(6); |
b.SetFillColor(6); |
571 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
572 |
b.DrawBox(2560.,2200.,2816.,maxhist); |
b.DrawBox(1024.,2200.,1280.,maxhist); |
|
b.DrawBox(1024.,2200.,1535.,maxhist); |
|
573 |
|
|
574 |
b.SetFillColor(107); |
b.SetFillColor(107); |
575 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
576 |
b.DrawBox(512.,2200.,768.,maxhist); |
b.DrawBox(512.,2200.,768.,maxhist); |
577 |
b.DrawBox(1536.,2200.,1792.,maxhist); |
b.DrawBox(1280.,2200.,1792.,maxhist); |
578 |
|
b.DrawBox(2560.,2200.,2816.,maxhist); |
579 |
} |
} |
580 |
else if(nn==7){ |
else if(nn==7){ |
581 |
b.SetFillColor(107); |
b.SetFillColor(107); |
582 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
583 |
b.DrawBox(512.,700.,768.,maxhist); |
b.DrawBox(512.,700.,768.,maxhist); |
584 |
|
b.DrawBox(1024.,700.,1535.,maxhist); |
585 |
} |
} |
586 |
else if(nn==8){ |
else if(nn==8){ |
587 |
b.SetFillColor(107); |
b.SetFillColor(107); |
592 |
b.SetFillColor(107); |
b.SetFillColor(107); |
593 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
594 |
b.DrawBox(256.,700.,384.,maxhist); |
b.DrawBox(256.,700.,384.,maxhist); |
595 |
|
b.DrawBox(1280.,700.,1535.,maxhist); |
596 |
|
b.DrawBox(1792.,700.,1920.,maxhist); |
597 |
} |
} |
598 |
else if(nn==10){ |
else if(nn==10){ |
599 |
b.SetFillColor(107); |
b.SetFillColor(107); |
600 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
601 |
b.DrawBox(2560.,2200.,3070.,maxhist); |
b.DrawBox(1024.,2200.,1152.,maxhist); |
602 |
|
b.DrawBox(2048.,2200.,3070.,maxhist); |
603 |
} |
} |
604 |
else if(nn==11){ |
else if(nn==11){ |
605 |
b.SetFillColor(6); |
b.SetFillColor(6); |
659 |
if(nn==0){ |
if(nn==0){ |
660 |
b.SetFillColor(107); |
b.SetFillColor(107); |
661 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
662 |
|
b.DrawBox(256.,0.,384.,maxhist); |
663 |
b.DrawBox(768.,0.,2047.,maxhist); |
b.DrawBox(768.,0.,2047.,maxhist); |
664 |
} |
} |
665 |
else if(nn==1){ |
else if(nn==1){ |
669 |
|
|
670 |
b.SetFillColor(107); |
b.SetFillColor(107); |
671 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
672 |
|
b.DrawBox(384.,0.,512.,maxhist); |
673 |
|
b.DrawBox(2048.,0.,2432.,maxhist); |
674 |
b.DrawBox(2816.,0.,2944.,maxhist); |
b.DrawBox(2816.,0.,2944.,maxhist); |
675 |
b.DrawBox(2048.,0.,2176.,maxhist); |
} |
676 |
|
else if(nn==3){ |
677 |
|
b.SetFillColor(107); |
678 |
|
b.SetFillStyle(3954); |
679 |
|
b.DrawBox(2816.,0.,3070.,maxhist); |
680 |
} |
} |
681 |
else if(nn==4){ |
else if(nn==4){ |
682 |
b.SetFillColor(107); |
b.SetFillColor(107); |
683 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
684 |
b.DrawBox(384.,0.,512.,maxhist); |
b.DrawBox(256.,0.,512.,maxhist); |
685 |
|
b.DrawBox(2816.,0.,3070.,maxhist); |
686 |
} |
} |
687 |
else if(nn==6){ |
else if(nn==6){ |
688 |
b.SetFillColor(6); |
b.SetFillColor(6); |
689 |
b.SetFillStyle(3945); |
b.SetFillStyle(3945); |
690 |
b.DrawBox(2560.,0.,2816.,maxhist); |
b.DrawBox(1024.,0.,1280.,maxhist); |
|
b.DrawBox(1024.,0.,1535.,maxhist); |
|
691 |
|
|
692 |
b.SetFillColor(107); |
b.SetFillColor(107); |
693 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
694 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
695 |
b.DrawBox(1536.,0.,1792.,maxhist); |
b.DrawBox(1280.,0.,1792.,maxhist); |
696 |
|
b.DrawBox(2560.,0.,2816.,maxhist); |
697 |
} |
} |
698 |
else if(nn==7){ |
else if(nn==7){ |
699 |
b.SetFillColor(107); |
b.SetFillColor(107); |
700 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
701 |
b.DrawBox(512.,0.,768.,maxhist); |
b.DrawBox(512.,0.,768.,maxhist); |
702 |
|
b.DrawBox(1024.,0.,1535.,maxhist); |
703 |
} |
} |
704 |
else if(nn==8){ |
else if(nn==8){ |
705 |
b.SetFillColor(107); |
b.SetFillColor(107); |
710 |
b.SetFillColor(107); |
b.SetFillColor(107); |
711 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
712 |
b.DrawBox(256.,0.,384.,maxhist); |
b.DrawBox(256.,0.,384.,maxhist); |
713 |
|
b.DrawBox(1280.,0.,1535.,maxhist); |
714 |
|
b.DrawBox(1792.,0.,1920.,maxhist); |
715 |
} |
} |
716 |
else if(nn==10){ |
else if(nn==10){ |
717 |
b.SetFillColor(107); |
b.SetFillColor(107); |
718 |
b.SetFillStyle(3954); |
b.SetFillStyle(3954); |
719 |
b.DrawBox(2560.,0.,3070.,maxhist); |
b.DrawBox(1024.,0.,1152.,maxhist); |
720 |
|
b.DrawBox(2048.,0.,3070.,maxhist); |
721 |
} |
} |
722 |
else if(nn==11){ |
else if(nn==11){ |
723 |
b.SetFillColor(6); |
b.SetFillColor(6); |