Changeset 2764


Ignore:
Timestamp:
01/09/04 22:52:28 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2763 r2764  
    1010
    1111   * mcalib/MHCalibrationPixel.[h,cc]
     12   * mcalib/MCalibrationPix.[h,cc]
    1213     - Ranges of time slices stored independently for HiGain and LoGain
    1314       in order to allow consecutive checks
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPix.h

    r2759 r2764  
    2929  Float_t fTime;                         // The mean arrival time after the fit 
    3030  Float_t fSigmaTime;                    // The error of the mean arrival time after the fit
    31   Float_t fTimeChiSquare;                // The probability of the fit function
     31  Float_t fTimeChiSquare;                // The Chi Square of the fit function
     32  Float_t fTimeProb;                     // The probability of the fit function
    3233 
    3334  Float_t fFactor;                       // The laboratory F-factor
     
    7879  Bool_t IsPINDiodeMethodValid()   const { return fPINDiodeMethodValid;  }
    7980
     81  // Charges
    8082  Float_t GetCharge()              const { return fCharge;         }
    81   Float_t GetRSigmaSquare()        const { return fRSigmaSquare;   }
    82    
    8383  Float_t GetErrCharge()           const { return fErrCharge;      }
    8484  Float_t GetChargeProb()          const { return fChargeProb;     }   
    85  
    8685  Float_t GetSigmaCharge()         const { return fSigmaCharge;    }
    8786  Float_t GetErrSigmaCharge()      const { return fErrSigmaCharge; }
     87  Float_t GetRSigmaSquare()        const { return fRSigmaSquare;   }
     88
     89  // Times 
    8890  Float_t GetTime()                const { return fTime;           }
    8991  Float_t GetSigmaTime()           const { return fSigmaTime;      }
    90   Float_t GetTimeChiSquare()       const { return fTimeChiSquare;  }   
     92  Float_t GetTimeChiSquare()       const { return fTimeChiSquare;  }
     93  Float_t GetTimeProb()            const { return fTimeProb;  }     
    9194
    9295  Float_t GetConversionHiLo()                 const  { return fConversionHiLo;        }
     
    167170 
    168171  MHCalibrationPixel *GetHist() const   { return fHist;     }
    169   void Draw(Option_t *opt="")           { fHist->Draw(opt); }
     172  void Draw(Option_t *opt="")            { fHist->Draw(opt); }
    170173 
    171174  ClassDef(MCalibrationPix, 1)  // Storage Container for Calibration information of one pixel
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc

    r2734 r2764  
    8888        fTimeMean(-1.),
    8989        fTimeSigma(-1.),
    90         fTimeLowerFitRange(3.),
    91         fTimeUpperFitRange(9.),
     90        fTimeLowerFitRangeHiGain(0),
     91        fTimeUpperFitRangeHiGain(0),
     92        fTimeLowerFitRangeLoGain(0),
     93        fTimeUpperFitRangeLoGain(0),
    9294        fUseLoGain(kFALSE),
    9395        fOffset(0.),
     
    123125    fHTimeHiGain->SetXTitle("Mean Arrival Times [Hi Gain FADC slice nr]");
    124126    fHTimeHiGain->SetYTitle("Nr. of events");
    125     // fHTimeHiGain->Sumw2();
    126 
    127127    fHTimeHiGain->SetDirectory(NULL);
    128128
     
    131131    fHTimeLoGain->SetXTitle("Mean Arrival Times [Lo Gain FADC slice nr]");
    132132    fHTimeLoGain->SetYTitle("Nr. of events");
    133     //    fHTimeLoGain->Sumw2();
    134 
    135133    fHTimeLoGain->SetDirectory(NULL);
    136134
     
    590588    return kFALSE;
    591589
    592   rmin = (rmin != 0.) ? rmin : fTimeLowerFitRange;
    593   rmax = (rmax != 0.) ? rmax : fTimeUpperFitRange;
     590  rmin = (rmin != 0.) ? rmin : (Axis_t)fTimeLowerFitRangeHiGain;
     591  rmax = (rmax != 0.) ? rmax : (Axis_t)fTimeUpperFitRangeHiGain;
    594592
    595593  const Stat_t entries       = fHTimeHiGain->Integral();
     
    646644    return kFALSE;
    647645
    648   rmin = (rmin != 0.) ? rmin : fTimeLowerFitRange;
    649   rmax = (rmax != 0.) ? rmax : fTimeUpperFitRange;
     646  rmin = (rmin != 0.) ? rmin : (Axis_t)fTimeLowerFitRangeLoGain;
     647  rmax = (rmax != 0.) ? rmax : (Axis_t)fTimeUpperFitRangeLoGain;
    650648
    651649  const Stat_t   entries     = fHTimeLoGain->Integral();
Note: See TracChangeset for help on using the changeset viewer.