Changeset 4789
- Timestamp:
- 08/29/04 16:22:14 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4787 r4789 22 22 23 23 * mbadpixels/MBadPixelsPix.[h,cc] 24 * mbadpixels/MBadPixelsCam.cc 25 * mjobs/MJCalibration.cc 24 26 - introduced new calibration bits: kHiGainOverFlow 25 27 and kLoGainOverFlow being filled when the calibration histograms 26 28 overflow. Will cause an kUnsuitableRun afterwards. 29 - added in datacheck-display of MJCalibration 30 31 * mcalib/MHCalibrationChargeLoGainPix.cc 32 - default lower histogram limit moved to -100.5 27 33 28 34 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeLoGainPix.cc
r4631 r4789 40 40 using namespace std; 41 41 42 const Int_t MHCalibrationChargeLoGainPix::fgChargeNbins = 500;43 const Axis_t MHCalibrationChargeLoGainPix::fgChargeFirst = - 0.5;42 const Int_t MHCalibrationChargeLoGainPix::fgChargeNbins = 600; 43 const Axis_t MHCalibrationChargeLoGainPix::fgChargeFirst = -100.5; 44 44 const Axis_t MHCalibrationChargeLoGainPix::fgChargeLast = 499.5; 45 45 const Int_t MHCalibrationChargeLoGainPix::fgAbsTimeNbins = 15; -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4764 r4789 707 707 t2->SetTextColor(gStyle->GetColorPalette(Int_t(2./max*numcol + 1.))); 708 708 t2->SetTextAlign(12); 709 TText *t 3 = pave->AddText(Form("Signal Sigma smaller than Pedestal RMS:%3i pixels",709 TText *t4 = pave->AddText(Form("Low Gain Saturation: %3i pixels", 710 710 CountBadPixels(&disp24,3))); 711 t3->SetTextColor(gStyle->GetColorPalette(Int_t(3./max*numcol + 1.))); 712 t3->SetTextAlign(12); 713 TText *t4 = pave->AddText(Form("Low Gain Saturation: %3i pixels", 714 CountBadPixels(&disp24,4))); 715 t4->SetTextColor(gStyle->GetColorPalette(Int_t(4./max*numcol + 1.))); 711 t4->SetTextColor(gStyle->GetColorPalette(Int_t(3./max*numcol + 1.))); 716 712 t4->SetTextAlign(12); 717 713 TText *t5 = pave->AddText(Form("Mean Arr. Time In First Extraction Bin: %3i pixels", 718 CountBadPixels(&disp24, 5)));719 t5->SetTextColor(gStyle->GetColorPalette(Int_t( 5./max*numcol + 1.)));714 CountBadPixels(&disp24,4))); 715 t5->SetTextColor(gStyle->GetColorPalette(Int_t(4./max*numcol + 1.))); 720 716 t5->SetTextAlign(12); 721 717 TText *t6 = pave->AddText(Form("Mean Arr. Time In Last 2 Extraction Bins: %3i pixels", 722 CountBadPixels(&disp24, 6)));723 t6->SetTextColor(gStyle->GetColorPalette(Int_t( 6./max*numcol + 1.)));718 CountBadPixels(&disp24,5))); 719 t6->SetTextColor(gStyle->GetColorPalette(Int_t(5./max*numcol + 1.))); 724 720 t6->SetTextAlign(12); 725 721 TText *t7 = pave->AddText(Form("Deviating Number of Photo-electrons: %3i pixels", 722 CountBadPixels(&disp24,6))); 723 t7->SetTextColor(gStyle->GetColorPalette(Int_t(6./max*numcol + 1.))); 724 t7->SetTextAlign(12); 725 TText *t8 = pave->AddText(Form("Deviating global F-Factor: %3i pixels", 726 726 CountBadPixels(&disp24,7))); 727 t 7->SetTextColor(gStyle->GetColorPalette(Int_t(7./max*numcol + 1.)));728 t 7->SetTextAlign(12);729 TText *t 8 = pave->AddText(Form("Deviating global F-Factor:%3i pixels",727 t8->SetTextColor(gStyle->GetColorPalette(Int_t(7./max*numcol + 1.))); 728 t8->SetTextAlign(12); 729 TText *t9 = pave->AddText(Form("Deviating Number of Photons: %3i pixels", 730 730 CountBadPixels(&disp24,8))); 731 t8->SetTextColor(gStyle->GetColorPalette(Int_t(8./max*numcol + 1.))); 732 t8->SetTextAlign(12); 733 TText *t9 = pave->AddText(Form("Deviating Number of Photons: %3i pixels", 734 CountBadPixels(&disp24,9))); 735 t9->SetTextColor(gStyle->GetColorPalette(Int_t(9./max*numcol + 1.))); 731 t9->SetTextColor(gStyle->GetColorPalette(Int_t(8./max*numcol + 1.))); 736 732 t9->SetTextAlign(12); 737 TText *t10= pave->AddText(Form("Previously Excluded: %3i pixels", 733 TText *t10= pave->AddText(Form("High-Gain Histogram Overflow: %3i pixels", 734 CountBadPixels(&disp24,9 ))); 735 t10->SetTextColor(gStyle->GetColorPalette(Int_t(9./max*numcol + 1.))); 736 t10->SetTextAlign(12); 737 TText *t11= pave->AddText(Form("Low-Gain Histogram Overflow: %3i pixels", 738 738 CountBadPixels(&disp24,10))); 739 t10->SetTextColor(gStyle->GetColorPalette(Int_t(10./max*numcol + 1.))); 740 t10->SetTextAlign(12); 739 t11->SetTextColor(gStyle->GetColorPalette(Int_t(10./max*numcol + 1.))); 740 t11->SetTextAlign(12); 741 TText *t12= pave->AddText(Form("Previously Excluded: %3i pixels", 742 CountBadPixels(&disp24,11))); 743 t12->SetTextColor(gStyle->GetColorPalette(Int_t(11./max*numcol + 1.))); 744 t12->SetTextAlign(12); 741 745 pave->Draw(); 742 746 … … 773 777 pave2->SetTextSize(0.05); 774 778 pave2->AddText(" "); 779 TText *t3 = pave2->AddText(Form("Signal Sigma smaller Pedestal RMS: %3i pixels", 780 CountBadPixels(&disp24,1))); 781 t3->SetTextColor(gStyle->GetColorPalette(Int_t(1./max*numcol + 1.))); 782 t3->SetTextAlign(12); 775 783 TText *tt1 = pave2->AddText(Form("High Gain Signals could not be fitted: %3i pixels", 776 CountBadPixels(&disp25, 1)));777 tt1->SetTextColor(gStyle->GetColorPalette(Int_t( 1./max2*numcol + 1.)));784 CountBadPixels(&disp25,2))); 785 tt1->SetTextColor(gStyle->GetColorPalette(Int_t(2./max2*numcol + 1.))); 778 786 tt1->SetTextAlign(12); 779 787 TText *tt2 = pave2->AddText(Form("Low Gain Signals could not be fitted: %3i pixels", 780 CountBadPixels(&disp25, 2)));781 tt2->SetTextColor(gStyle->GetColorPalette(Int_t( 2./max2*numcol + 1.)));788 CountBadPixels(&disp25,3))); 789 tt2->SetTextColor(gStyle->GetColorPalette(Int_t(3./max2*numcol + 1.))); 782 790 tt2->SetTextAlign(12); 783 791 TText *tt3 = pave2->AddText(Form("Relative Arr. Times could not be fitted: %3i pixels", 784 CountBadPixels(&disp25, 3)));785 tt3->SetTextColor(gStyle->GetColorPalette(Int_t( 3./max2*numcol + 1.)));792 CountBadPixels(&disp25,4))); 793 tt3->SetTextColor(gStyle->GetColorPalette(Int_t(4./max2*numcol + 1.))); 786 794 tt3->SetTextAlign(12); 787 TText *tt4 = pave2->AddText(Form("High Gain Signals Oscillation: %3i pixels",788 CountBadPixels(&disp25, 4)));789 tt4->SetTextColor(gStyle->GetColorPalette(Int_t( 4./max2*numcol + 1.)));795 TText *tt4 = pave2->AddText(Form("High Gain Signals Oscillation: %3i pixels", 796 CountBadPixels(&disp25,5))); 797 tt4->SetTextColor(gStyle->GetColorPalette(Int_t(5./max2*numcol + 1.))); 790 798 tt4->SetTextAlign(12); 791 799 TText *tt5 = pave2->AddText(Form("Low Gain Signals Oscillation: %3i pixels", 792 CountBadPixels(&disp25, 5)));793 tt5->SetTextColor(gStyle->GetColorPalette(Int_t( 5./max2*numcol + 1.)));800 CountBadPixels(&disp25,6))); 801 tt5->SetTextColor(gStyle->GetColorPalette(Int_t(6./max2*numcol + 1.))); 794 802 tt5->SetTextAlign(12); 795 803 TText *tt6 = pave2->AddText(Form("Relative Arr. Times Oscillation: %3i pixels", 796 CountBadPixels(&disp25, 6)));797 tt6->SetTextColor(gStyle->GetColorPalette(Int_t( 6./max2*numcol + 1.)));804 CountBadPixels(&disp25,7))); 805 tt6->SetTextColor(gStyle->GetColorPalette(Int_t(7./max2*numcol + 1.))); 798 806 tt6->SetTextAlign(12); 799 807 pave2->Draw();
Note:
See TracChangeset
for help on using the changeset viewer.