Ignore:
Timestamp:
01/16/04 15:17:09 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc

    r2831 r2834  
    600600  if (!fTimeGausFit)
    601601    {
    602     *fLog << err << dbginf << "Could not create fit function for Gauss fit" << endl;
     602    *fLog << warn << dbginf << "WARNING: Could not create fit function for Time fit" << endl;
    603603    return kFALSE;
    604604    }
     
    626626  fTimeSigma     = fTimeGausFit->GetParameter(2);
    627627
    628   if (fTimeChisquare > 30.)  // Cannot use Probability because Ndf is sometimes < 1
    629     {
    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;
    631631      return kFALSE;
    632632    }
     
    656656  if (!fTimeGausFit)
    657657    {
    658     *fLog << err << dbginf << "Could not create fit function for Gauss fit" << endl;
     658    *fLog << warn << dbginf << "WARNING: Could not create fit function for Time fit" << endl;
    659659    return kFALSE;
    660660    }
     
    682682  fTimeSigma     = fTimeGausFit->GetParameter(2);
    683683
    684   if (fTimeChisquare > 30.)  // Cannot use Probability because Ndf is sometimes < 1
    685     {
    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;
    687687      return kFALSE;
    688688    }
     
    720720  if (!fChargeGausFit)
    721721    {
    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;
    723723    return kFALSE;
    724724    }
     
    755755  if (fChargeProb < gkProbLimit)
    756756    {
    757       *fLog << warn << "Prob: " << fChargeProb
     757      *fLog << warn << "WARNING: Fit Probability " << fChargeProb
    758758            << " is smaller than the allowed value: " << gkProbLimit << endl;
    759759      fFitOK = kFALSE;
     
    794794  if (!fChargeGausFit)
    795795    {
    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;
    797797    return kFALSE;
    798798    }
     
    835835  if (fChargeProb < gkProbLimit)
    836836    {
    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;
    838839      fFitOK = kFALSE;
    839840      return kFALSE;
     
    874875{
    875876 
    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;
    881882 
    882883}
     
    885886{
    886887
    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.