Changeset 2791 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/13/04 17:31:36 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2790 r2791  
    1717     - declare fit as not valid, if less than 100 events
    1818       in single photo-electron peak
     19
     20   * mcalib/MHCalibrationPixel.[h.cc]
     21     - new function IsEmpty()
     22     - Time fit accepted if ChiSquare less than 30. (instead of 20.)
    1923
    2024
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.h

    r2763 r2791  
    121121
    122122  void CutAllEdges();
     123
     124  TObject *DrawClone(Option_t *option="") const;
    123125  void Draw(Option_t *option="");
    124126
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc

    r2764 r2791  
    7979        fChargeLastLoGain(9999.5),
    8080        fChargeNbinsLoGain(1200),
    81         fFitOK(kFALSE),
    8281        fChargeChisquare(-1.),
    8382        fChargeProb(-1.),
     
    9392        fTimeUpperFitRangeLoGain(0),
    9493        fUseLoGain(kFALSE),
     94        fFitOK(kFALSE),
    9595        fOffset(0.),
    9696        fSlope(0.)
     
    628628  fTimeSigma     = fTimeGausFit->GetParameter(2);
    629629
    630   if (fTimeChisquare > 20.)  // Cannot use Probability because Ndf is sometimes < 1
     630  if (fTimeChisquare > 30.)  // Cannot use Probability because Ndf is sometimes < 1
    631631    {
    632632      *fLog << warn << "Fit of the Arrival times failed ! " << endl;
     
    684684  fTimeSigma     = fTimeGausFit->GetParameter(2);
    685685
    686   if (fTimeChisquare > 20.)  // Cannot use Probability because Ndf is sometimes < 1
     686  if (fTimeChisquare > 30.)  // Cannot use Probability because Ndf is sometimes < 1
    687687    {
    688688      *fLog << warn << "Fit of the Arrival times failed ! " << endl;
Note: See TracChangeset for help on using the changeset viewer.