Changeset 5996
- Timestamp:
- 01/25/05 14:55:42 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.h
r5988 r5996 98 98 if (IsUncalibrated( kMeanTimeInFirstBin )) return 4; 99 99 if (IsUncalibrated( kMeanTimeInLast2Bins )) return 5; 100 if (IsUncalibrated( kDeviatingNumPhes )) return 6; 101 if (IsUncalibrated( kDeviatingNumPhots )) return 7; 102 if (IsUncalibrated( kHiGainOverFlow )) return 8; 103 if (IsUncalibrated( kLoGainOverFlow )) return 9; 104 return 10; 100 if (IsUncalibrated( kDeviatingNumPhots )) return 6; 101 if (IsUncalibrated( kHiGainOverFlow )) return 7; 102 if (IsUncalibrated( kLoGainOverFlow )) return 8; 103 return 9; 105 104 } 106 105 … … 108 107 if (!IsUnreliable() || IsUnsuitable()) return 0; 109 108 if (IsUncalibrated( kChargeSigmaNotValid )) return 1; 110 if (IsUncalibrated( kHiGainNotFitted )) return 2; 111 if (IsUncalibrated( kLoGainNotFitted )) return 3; 112 if (IsUncalibrated( kRelTimeNotFitted )) return 4; 113 if (IsUncalibrated( kHiGainOscillating )) return 5; 114 if (IsUncalibrated( kLoGainOscillating )) return 6; 115 if (IsUncalibrated( kRelTimeOscillating )) return 7; 116 if (IsUncalibrated( kDeviatingFFactor )) return 8; 117 return 9; 109 if (IsUncalibrated( kDeviatingNumPhes )) return 2; 110 if (IsUncalibrated( kHiGainNotFitted )) return 3; 111 if (IsUncalibrated( kLoGainNotFitted )) return 4; 112 if (IsUncalibrated( kRelTimeNotFitted )) return 5; 113 if (IsUncalibrated( kHiGainOscillating )) return 6; 114 if (IsUncalibrated( kLoGainOscillating )) return 7; 115 if (IsUncalibrated( kRelTimeOscillating )) return 8; 116 if (IsUncalibrated( kDeviatingFFactor )) return 9; 117 return 10; 118 118 } 119 119 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r5983 r5996 857 857 t6->SetTextColor(gStyle->GetColorPalette(Int_t(5./max*numcol + 1.))); 858 858 t6->SetTextAlign(12); 859 TText *t 7 = pave->AddText(Form("Deviating Number of Photo-electrons:%3i pixels",859 TText *t9 = pave->AddText(Form("Deviating Number of Photons: %3i pixels", 860 860 CountBadPixels(&disp24,6))); 861 t7->SetTextColor(gStyle->GetColorPalette(Int_t(6./max*numcol + 1.))); 862 t7->SetTextAlign(12); 863 TText *t9 = pave->AddText(Form("Deviating Number of Photons: %3i pixels", 864 CountBadPixels(&disp24,7))); 865 t9->SetTextColor(gStyle->GetColorPalette(Int_t(7./max*numcol + 1.))); 861 t9->SetTextColor(gStyle->GetColorPalette(Int_t(6./max*numcol + 1.))); 866 862 t9->SetTextAlign(12); 867 863 TText *t10= pave->AddText(Form("High-Gain Histogram Overflow: %3i pixels", 868 CountBadPixels(&disp24, 8)));869 t10->SetTextColor(gStyle->GetColorPalette(Int_t( 8./max*numcol + 1.)));864 CountBadPixels(&disp24,7 ))); 865 t10->SetTextColor(gStyle->GetColorPalette(Int_t(7./max*numcol + 1.))); 870 866 t10->SetTextAlign(12); 871 867 TText *t11= pave->AddText(Form("Low-Gain Histogram Overflow: %3i pixels", 872 CountBadPixels(&disp24, 9)));873 t11->SetTextColor(gStyle->GetColorPalette(Int_t( 9./max*numcol + 1.)));868 CountBadPixels(&disp24,8 ))); 869 t11->SetTextColor(gStyle->GetColorPalette(Int_t(8./max*numcol + 1.))); 874 870 t11->SetTextAlign(12); 875 871 TText *t12= pave->AddText(Form("Previously Excluded: %3i pixels", 876 CountBadPixels(&disp24, 10)));877 t12->SetTextColor(gStyle->GetColorPalette(Int_t( 10./max*numcol + 1.)));872 CountBadPixels(&disp24,9))); 873 t12->SetTextColor(gStyle->GetColorPalette(Int_t(9./max*numcol + 1.))); 878 874 t12->SetTextAlign(12); 879 875 pave->Draw(); … … 915 911 t3->SetTextColor(gStyle->GetColorPalette(Int_t(1./max*numcol + 1.))); 916 912 t3->SetTextAlign(12); 913 914 TText *t7 = pave2->AddText(Form("Deviating Number of Photo-electrons: %3i pixels", 915 CountBadPixels(&disp25,2))); 916 t7->SetTextColor(gStyle->GetColorPalette(Int_t(2./max*numcol + 1.))); 917 t7->SetTextAlign(12); 918 917 919 TText *tt1 = pave2->AddText(Form("High Gain Signals could not be fitted: %3i pixels", 918 CountBadPixels(&disp25, 2)));919 tt1->SetTextColor(gStyle->GetColorPalette(Int_t( 2./max2*numcol + 1.)));920 CountBadPixels(&disp25,3))); 921 tt1->SetTextColor(gStyle->GetColorPalette(Int_t(3./max2*numcol + 1.))); 920 922 tt1->SetTextAlign(12); 921 923 TText *tt2 = pave2->AddText(Form("Low Gain Signals could not be fitted: %3i pixels", 922 CountBadPixels(&disp25, 3)));923 tt2->SetTextColor(gStyle->GetColorPalette(Int_t( 3./max2*numcol + 1.)));924 CountBadPixels(&disp25,4))); 925 tt2->SetTextColor(gStyle->GetColorPalette(Int_t(4./max2*numcol + 1.))); 924 926 tt2->SetTextAlign(12); 925 927 TText *tt3 = pave2->AddText(Form("Relative Arr. Times could not be fitted: %3i pixels", 926 CountBadPixels(&disp25, 4)));927 tt3->SetTextColor(gStyle->GetColorPalette(Int_t( 4./max2*numcol + 1.)));928 CountBadPixels(&disp25,5))); 929 tt3->SetTextColor(gStyle->GetColorPalette(Int_t(5./max2*numcol + 1.))); 928 930 tt3->SetTextAlign(12); 929 931 TText *tt4 = pave2->AddText(Form("High Gain Signals Oscillation: %3i pixels", 930 CountBadPixels(&disp25, 5)));931 tt4->SetTextColor(gStyle->GetColorPalette(Int_t( 5./max2*numcol + 1.)));932 CountBadPixels(&disp25,6))); 933 tt4->SetTextColor(gStyle->GetColorPalette(Int_t(6./max2*numcol + 1.))); 932 934 tt4->SetTextAlign(12); 933 935 TText *tt5 = pave2->AddText(Form("Low Gain Signals Oscillation: %3i pixels", 934 CountBadPixels(&disp25, 6)));935 tt5->SetTextColor(gStyle->GetColorPalette(Int_t( 6./max2*numcol + 1.)));936 CountBadPixels(&disp25,7))); 937 tt5->SetTextColor(gStyle->GetColorPalette(Int_t(7./max2*numcol + 1.))); 936 938 tt5->SetTextAlign(12); 937 939 TText *tt6 = pave2->AddText(Form("Relative Arr. Times Oscillation: %3i pixels", 938 CountBadPixels(&disp25, 7)));939 tt6->SetTextColor(gStyle->GetColorPalette(Int_t( 7./max2*numcol + 1.)));940 CountBadPixels(&disp25,8))); 941 tt6->SetTextColor(gStyle->GetColorPalette(Int_t(8./max2*numcol + 1.))); 940 942 tt6->SetTextAlign(12); 941 943 TText *tt8 = pave2->AddText(Form("Deviating global F-Factor: %3i pixels", 942 CountBadPixels(&disp25, 8)));943 tt8->SetTextColor(gStyle->GetColorPalette(Int_t( 8./max2*numcol + 1.)));944 CountBadPixels(&disp25,9))); 945 tt8->SetTextColor(gStyle->GetColorPalette(Int_t(9./max2*numcol + 1.))); 944 946 tt8->SetTextAlign(12); 945 947 pave2->Draw();
Note:
See TracChangeset
for help on using the changeset viewer.