Changeset 2763


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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2762 r2763  
    88   * mcalib/MHCalibrationBlindPixel.h
    99     - make the fit by default quiet
     10
     11   * mcalib/MHCalibrationPixel.[h,cc]
     12     - Ranges of time slices stored independently for HiGain and LoGain
     13       in order to allow consecutive checks
    1014
    1115   * mhist/MHCamera.[h.cc]
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.h

    r2734 r2763  
    115115                           Double_t sigma1);
    116116 
    117   Bool_t FitSinglePhe(Axis_t rmin=0, Axis_t rmax=0, Option_t *opt="RL0+");
    118   Bool_t FitTime(Axis_t rmin=0., Axis_t rmax=0.,Option_t *opt="R0+");
     117  Bool_t FitSinglePhe(Axis_t rmin=0, Axis_t rmax=0, Option_t *opt="RL0+Q");
     118  Bool_t FitTime(Axis_t rmin=0., Axis_t rmax=0.,Option_t *opt="R0+Q");
    119119
    120120  void ChangeFitFunc(BlindPixelFitFunc fitfunc, Int_t par=5);
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.h

    r2734 r2763  
    8585  Double_t fTimeSigma;
    8686
    87   Stat_t   fTimeLowerFitRange;
    88   Stat_t   fTimeUpperFitRange;
     87  Byte_t   fTimeLowerFitRangeHiGain;
     88  Byte_t   fTimeUpperFitRangeHiGain;
     89  Byte_t   fTimeLowerFitRangeLoGain;
     90  Byte_t   fTimeUpperFitRangeLoGain;
    8991 
    9092  Bool_t fUseLoGain;
     
    106108
    107109  void   SetPointInGraph(Float_t qhi, Float_t qlo);
    108   void   FitHiGainvsLoGain();
    109110
    110111  Bool_t FillChargeLoGain(Float_t q)             { return (fHChargeLoGain->Fill(q) > -1); }
     
    116117  Bool_t FillChargevsNHiGain(Float_t q, Int_t n) { return (fHChargevsNHiGain->Fill(n,q) > -1); }
    117118
    118   void   SetUseLoGain()                          { fUseLoGain = kTRUE; }
     119  void   SetUseLoGain()                               { fUseLoGain = kTRUE; }
    119120  Bool_t UseLoGain();
    120121
     122  void SetTimeFitRangesHiGain(Byte_t low, Byte_t up) { fTimeLowerFitRangeHiGain = low,
     123                                               fTimeUpperFitRangeHiGain = up ;  }
     124  void SetTimeFitRangesLoGain(Byte_t low, Byte_t up) { fTimeLowerFitRangeLoGain = low,
     125                                               fTimeUpperFitRangeLoGain = up ;  }
     126 
    121127  const TH1F *GetHCharge()                 { return fHChargeHiGain;    }
    122128  const TH1F *GetHCharge() const           { return fHChargeHiGain;    }
     
    136142  const Double_t GetTimeSigma()       const { return fTimeSigma; }
    137143
    138   const Stat_t   GetTimeLowerFitRange()  const { return fTimeLowerFitRange;  }
    139   const Stat_t   GetTimeUpperFitRange()  const { return fTimeUpperFitRange;  }
     144  const Byte_t   GetTimeLowerFitRangeHiGain()  const { return fTimeLowerFitRangeHiGain;  }
     145  const Byte_t   GetTimeUpperFitRangeHiGain()  const { return fTimeUpperFitRangeHiGain;  }
     146  const Byte_t   GetTimeLowerFitRangeLoGain()  const { return fTimeLowerFitRangeLoGain;  }
     147  const Byte_t   GetTimeUpperFitRangeLoGain()  const { return fTimeUpperFitRangeLoGain;  }
    140148 
    141   const Double_t GetTimeChiSquare()   const { return fTimeChisquare; }
     149  const Double_t GetTimeChiSquare()     const { return fTimeChisquare; }
    142150  const Double_t GetTimeProb()        const { return fTimeProb;      }
    143151  const Int_t    GetTimeNdf()         const { return fTimeNdf;       }   
     
    158166  Bool_t FitTimeLoGain(Axis_t rmin=0, Axis_t rmax=0, Option_t *option="RQ0");   
    159167
     168  void   FitHiGainvsLoGain();
     169
    160170  virtual void Draw(Option_t *option="");
    161171  virtual void CutAllEdges();
Note: See TracChangeset for help on using the changeset viewer.