Changeset 2834 for trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
- Timestamp:
- 01/16/04 15:17:09 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
r2831 r2834 600 600 if (!fTimeGausFit) 601 601 { 602 *fLog << err << dbginf << "Could not create fit function for Gaussfit" << endl;602 *fLog << warn << dbginf << "WARNING: Could not create fit function for Time fit" << endl; 603 603 return kFALSE; 604 604 } … … 626 626 fTimeSigma = fTimeGausFit->GetParameter(2); 627 627 628 if (fTimeChisquare > 30.) // Cannot use Probability because Ndf is sometimes < 1629 { 630 *fLog << warn << " Fit of the Arrival times failed ! " << endl;628 if (fTimeChisquare > 20.) // Cannot use Probability because Ndf is sometimes < 1 629 { 630 *fLog << warn << "WARNING: Fit of the Arrival times failed ! " << endl; 631 631 return kFALSE; 632 632 } … … 656 656 if (!fTimeGausFit) 657 657 { 658 *fLog << err << dbginf << "Could not create fit function for Gaussfit" << endl;658 *fLog << warn << dbginf << "WARNING: Could not create fit function for Time fit" << endl; 659 659 return kFALSE; 660 660 } … … 682 682 fTimeSigma = fTimeGausFit->GetParameter(2); 683 683 684 if (fTimeChisquare > 30.) // Cannot use Probability because Ndf is sometimes < 1685 { 686 *fLog << warn << " Fit of the Arrival times failed ! " << endl;684 if (fTimeChisquare > 20.) // Cannot use Probability because Ndf is sometimes < 1 685 { 686 *fLog << warn << "WARNING: Fit of the Arrival times failed ! " << endl; 687 687 return kFALSE; 688 688 } … … 720 720 if (!fChargeGausFit) 721 721 { 722 *fLog << err << dbginf << "Could not create fit function for Gauss fit" << endl;722 *fLog << warn << dbginf << "WARNING: Could not create fit function for Gauss fit" << endl; 723 723 return kFALSE; 724 724 } … … 755 755 if (fChargeProb < gkProbLimit) 756 756 { 757 *fLog << warn << " Prob:" << fChargeProb757 *fLog << warn << "WARNING: Fit Probability " << fChargeProb 758 758 << " is smaller than the allowed value: " << gkProbLimit << endl; 759 759 fFitOK = kFALSE; … … 794 794 if (!fChargeGausFit) 795 795 { 796 *fLog << err << dbginf << "Could not create fit function for Gauss fit" << endl;796 *fLog << warn << dbginf << "WARNING: Could not create fit function for Charges fit" << endl; 797 797 return kFALSE; 798 798 } … … 835 835 if (fChargeProb < gkProbLimit) 836 836 { 837 *fLog << warn << "Prob: " << fChargeProb << " is smaller than the allowed value: " << gkProbLimit << endl; 837 *fLog << warn << "WARNING: Fit Probability " << fChargeProb 838 << " is smaller than the allowed value: " << gkProbLimit << endl; 838 839 fFitOK = kFALSE; 839 840 return kFALSE; … … 874 875 { 875 876 876 *fLog << "Results of the Summed Charges Fit: " << endl;877 *fLog << "Chisquare: " << fChargeChisquare << endl;878 *fLog << "DoF: " << fChargeNdf << endl;879 *fLog << "Probability: " << fChargeProb << endl;880 *fLog << endl;877 *fLog << all << "Results of the Summed Charges Fit: " << endl; 878 *fLog << all << "Chisquare: " << fChargeChisquare << endl; 879 *fLog << all << "DoF: " << fChargeNdf << endl; 880 *fLog << all << "Probability: " << fChargeProb << endl; 881 *fLog << all << endl; 881 882 882 883 } … … 885 886 { 886 887 887 *fLog << "Results of the Time Slices Fit: " << endl;888 *fLog << "Chisquare: " << fTimeChisquare << endl;889 *fLog << "Ndf: " << fTimeNdf << endl;890 *fLog << "Probability: " << fTimeProb << endl;891 *fLog << endl;892 893 } 888 *fLog << all << "Results of the Time Slices Fit: " << endl; 889 *fLog << all << "Chisquare: " << fTimeChisquare << endl; 890 *fLog << all << "Ndf: " << fTimeNdf << endl; 891 *fLog << all << "Probability: " << fTimeProb << endl; 892 *fLog << all << endl; 893 894 }
Note:
See TracChangeset
for help on using the changeset viewer.