Changeset 15369 for fact/tools/rootmacros/PulseTemplates
- Timestamp:
- 04/19/13 01:40:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pixel.C
r15120 r15369 442 442 (mGainMean*(order+1)) + 10, 443 443 "Y"); 444 hMaxOverlay[order]->SetDrawOption("colz"); 444 445 hMaxOverlay[order]->GetXaxis()->SetTitle( "Timeslices [a.u.]" ); 445 446 hMaxOverlay[order]->GetYaxis()->SetTitle( "Amplitude [mV]" ); … … 466 467 (mGainMean*(order+1)) + 10, 467 468 "Y"); 469 hEdgeOverlay[order]->SetDrawOption("colz"); 468 470 hEdgeOverlay[order]->GetXaxis()->SetTitle( "Timeslices [a.u.]" ); 469 471 hEdgeOverlay[order]->GetYaxis()->SetTitle( "Amplitude [mV]" ); … … 629 631 "hMaxPos", 630 632 "Distribution of arrival times according to the EdgePos", 631 102 4,632 0,633 1025, 634 -1, 633 635 1024 634 636 ); … … 637 639 // 1024, 638 640 // "X"); 641 hMaxPos->SetDrawOption("colz"); 639 642 hMaxPos->GetXaxis()->SetTitle( " arrival time [timeslices]" ); 640 643 hMaxPos->GetYaxis()->SetTitle( "counts" ); … … 646 649 "hEdgePos", 647 650 "Distribution of arrival times according to the EdgePos", 648 1 024,649 0,650 1 024651 1125, 652 -1, 653 1124 651 654 ); 652 655 // hEdgePos->SetAxisRange( … … 654 657 // 1024, 655 658 // "X"); 659 hEdgePos->SetDrawOption("colz"); 656 660 hEdgePos->GetXaxis()->SetTitle( " arrival time [timeslices]" ); 657 661 hEdgePos->GetYaxis()->SetTitle( "counts" ); … … 665 669 "hEdgeSlope", 666 670 "Distribution of slope of leading edges", 667 100*10, 668 -9, 669 90 670 ); 671 // hEdgeSlope->SetAxisRange( 672 // 0, 673 // 1024, 674 // "X"); 671 100, 672 -1.55, 673 8.45 674 ); 675 hEdgeSlope->SetAxisRange( 676 0.5, 677 7, 678 "X"); 679 hEdgeSlope->SetDrawOption("colz"); 675 680 hEdgeSlope->GetXaxis()->SetTitle( " slope [a.u.]" ); 676 681 hEdgeSlope->GetYaxis()->SetTitle( "counts" ); 677 682 hEdgeSlope->SetStats(mStats); 678 683 hList->Add( hEdgeSlope ); 684 685 // Edge Slope Distributions 686 //---------------------------------- 687 if (mVerbosityLevel > 3) cout << "\t...booking " << "hMaxEdgeSlope" << endl; 688 hMaxEdgeSlope = new TH1F ( 689 "hMaxEdgeSlope", 690 "Distribution of maximum slope in slices of leading edges", 691 100, 692 -1.55, 693 8.45 694 ); 695 hMaxEdgeSlope->SetAxisRange( 696 0.5, 697 7, 698 "X"); 699 hMaxEdgeSlope->SetDrawOption("colz"); 700 hMaxEdgeSlope->GetXaxis()->SetTitle( " slope [a.u.]" ); 701 hMaxEdgeSlope->GetYaxis()->SetTitle( "counts" ); 702 hMaxEdgeSlope->SetStats(mStats); 703 hList->Add( hMaxEdgeSlope ); 679 704 680 705 // Intercept Distributions … … 684 709 "hIntercept", 685 710 "Distribution of Intercept of leading edges", 686 100*10, 687 -9, 688 90 689 ); 690 // hEdgeSlope->SetAxisRange( 691 // 0, 692 // 1024, 693 // "X"); 711 1041, 712 -1, 713 1040 714 ); 715 hIntercept->SetAxisRange( 716 -100, 717 100, 718 "X"); 719 hIntercept->SetDrawOption("colz"); 694 720 hIntercept->GetXaxis()->SetTitle( " Intercept [a.u.]" ); 695 721 hIntercept->GetYaxis()->SetTitle( "counts" ); … … 701 727 if (mVerbosityLevel > 3) cout << "\t...booking " << "hEdgeLength" << endl; 702 728 hEdgeLength = new TH1F ( 703 "h Intercept",729 "hEdgeLength", 704 730 "Distribution of hEdgeLength of leading edges", 705 20*10, 706 0, 707 20 708 ); 709 // hEdgeLength->SetAxisRange( 710 // 0, 711 // 1024, 712 // "X"); 731 200, 732 -0.5, 733 199.5 734 ); 735 hEdgeLength->SetAxisRange( 736 0, 737 100, 738 "X"); 739 hEdgeLength->SetDrawOption("colz"); 713 740 hEdgeLength->GetXaxis()->SetTitle( " edge length [a.u.]" ); 714 741 hEdgeLength->GetYaxis()->SetTitle( "counts" ); … … 723 750 "Distribution of pulse lengthes", 724 751 1024, 725 0, 726 1024 727 ); 728 // hPulseLength->SetAxisRange( 729 // 0, 730 // 1024, 731 // "X"); 752 -0.5, 753 1023.5 754 ); 755 hPulseLength->SetAxisRange( 756 0, 757 600, 758 "X"); 759 hPulseLength->SetDrawOption("colz"); 732 760 hPulseLength->GetXaxis()->SetTitle( " pulse length [samples]" ); 733 761 hPulseLength->GetYaxis()->SetTitle( "counts" ); … … 740 768 "Distribution of pulse lengthes due to afterpulse cut off", 741 769 1024, 742 0,743 102 4770 -0.5, 771 1023.5 744 772 ); 745 773 // hPulseLength->SetAxisRange( … … 747 775 // 1024, 748 776 // "X"); 777 hPulseLengthAPcutoff->SetDrawOption("colz"); 749 778 hPulseLengthAPcutoff->GetXaxis()->SetTitle( " pulse length [samples]" ); 750 779 hPulseLengthAPcutoff->GetYaxis()->SetTitle( "counts" ); … … 757 786 "Distribution of pulse lengthes due to time line cut off", 758 787 1024, 759 0,760 102 4788 -0.5, 789 1023.5 761 790 ); 762 791 // hPulseLengthTLcutoff->SetAxisRange( … … 764 793 // 1024, 765 794 // "X"); 795 hPulseLengthTLcutoff->SetDrawOption("colz"); 766 796 hPulseLengthTLcutoff->GetXaxis()->SetTitle( " pulse length [samples]" ); 767 797 hPulseLengthTLcutoff->GetYaxis()->SetTitle( "counts" ); … … 776 806 "hMaxAmpl", 777 807 "Distribution of MaxAmpl of leading edges", 778 20*10,808 100*10, 779 809 0, 780 20810 100 781 811 ); 782 812 // hMaxAmpl->SetAxisRange( … … 784 814 // 1024, 785 815 // "X"); 816 hMaxAmpl->SetDrawOption("colz"); 786 817 hMaxAmpl->GetXaxis()->SetTitle( " Amplitude [a.u.]" ); 787 818 hMaxAmpl->GetYaxis()->SetTitle( "counts" ); 788 819 hMaxAmpl->SetStats(mStats); 789 hList->Add( h EdgeLength);820 hList->Add( hMaxAmpl ); 790 821 791 822 // Discarted Pulses Distributions 792 823 //---------------------------------- 793 824 if (mVerbosityLevel > 3) cout << "\t...booking " << "hDiscartedPulses" << endl; 794 hDiscartedPulses=new T H2F(825 hDiscartedPulses=new TProfile( 795 826 "hDiscartedPulses", 796 827 "DiscartedPulses vs. preperation step", 797 828 15 , 829 -0.5, 830 14.5 /*, 831 100, 798 832 0, 799 15 , 800 1000000, 801 0, 802 1000000 803 ); 804 805 // hMaxOverlay[order]->SetAxisRange( 806 // mBSLMean - 5, 807 // (mGainMean*(order+1)) + 10, 833 1*/ 834 ); 835 836 // hDiscartedPulses->SetAxisRange( 837 // 0, 838 // 50, 808 839 // "Y"); 840 hDiscartedPulses->SetAxisRange( 841 -0.5, 842 9.5, 843 "X"); 844 hDiscartedPulses->SetDrawOption("colz"); 809 845 hDiscartedPulses->GetXaxis()->SetTitle( "step [a.u.]" ); 810 846 hDiscartedPulses->GetYaxis()->SetTitle( "# discartep pulses [a.u.]" ); … … 815 851 // Afterpulse Distributions 816 852 //---------------------------------- 817 if (mVerbosityLevel > 3) cout << "\t...booking " << hAfterPulses<< endl;853 if (mVerbosityLevel > 3) cout << "\t...booking " << "hAfterPulses" << endl; 818 854 hAfterPulses=new TH2F( 819 855 "hAfterPulses", … … 831 867 // (mGainMean*(order+1)) + 10, 832 868 // "Y"); 869 hAfterPulses->SetDrawOption("colz"); 833 870 hAfterPulses->GetXaxis()->SetTitle( "delay [sample/ 0.5 ns]" ); 834 871 hAfterPulses->GetYaxis()->SetTitle( "amplitude [mV]" ); … … 1133 1170 delete hEdgePos; 1134 1171 delete hEdgeSlope; 1172 delete hMaxEdgeSlope; 1135 1173 delete hIntercept; 1136 1174 delete hEdgeLength;
Note:
See TracChangeset
for help on using the changeset viewer.