Ignore:
Timestamp:
02/02/04 22:52:53 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPix.h

    r2950 r3007  
    1212private:
    1313
     14  static const Float_t gkElectronicPedRms;    // The pure electronic component of the RMS
     15  static const Float_t gkErrElectronicPedRms; // The error of the pure electronic component of the RMS
     16  static const Float_t gkFFactor;             // The laboratory F-factor
     17  static const Float_t gkFFactorError;        // The laboratory F-factor Error
     18  static const Float_t gkChargeLimit;         // The limit (in units of PedRMS) for acceptance of the fitted mean charge
     19  static const Float_t gkChargeErrLimit;      // The limit (in units of PedRMS) for acceptance of the fitted charge sigma
     20  static const Float_t gkChargeRelErrLimit;   // The limit (in units of Error of fitted charge) for acceptance of the fitted mean 
     21  static const Float_t gkTimeLimit;           // The limit (in units of FADC slices) for acceptance of the fitted time
     22  static const Float_t gkTimeErrLimit;        // The limit (in units of FADC slices) for acceptance of the fitted time sigma
     23   
    1424  Int_t   fPixId;                     // the pixel Id
    15  
    16   const Float_t fElectronicPedRms;    // The pure electronic component of the RMS
    17   const Float_t fErrElectronicPedRms; // The error of the pure electronic component of the RMS
    1825
    19   const Float_t fFactor;              // The laboratory F-factor
    20   const Float_t fFactorError;         // The laboratory F-factor Error
    21 
    22   const Float_t fChargeLimit;         // The limit (in units of PedRMS) for acceptance of the fitted mean charge
    23   const Float_t fChargeErrLimit;      // The limit (in units of PedRMS) for acceptance of the fitted charge sigma
    24   const Float_t fChargeRelErrLimit;   // The limit (in units of Error of fitted charge) for acceptance of the fitted mean 
    25   Byte_t  fFlags;               // Flag for the set Bits
     26  UInt_t  fFlags;               // Flag for the set Bits
    2627 
    2728  Float_t fCharge;              // The mean reduced charge after the fit
     
    3637  Float_t fErrPedRms;           // The error of the pedestal  RMS (from MPedestalPix) 
    3738
    38   Float_t fTime;                // The mean arrival time after the fit 
     39  Float_t fTime;                // The mean arrival time after the fit
     40  Float_t fErrTime;             // The mean arrival time error after the fit   
    3941  Float_t fSigmaTime;           // The error of the mean arrival time after the fit
    40   Float_t fTimeChiSquare;       // The Chi Square of the fit function
    4142  Float_t fTimeProb;            // The probability of the fit function
     43
     44  Byte_t  fTimeFirstHiGain;           // The first used FADC slice
     45  Byte_t  fTimeLastHiGain;            // The last used FADC slice
     46 
     47  Byte_t  fTimeFirstLoGain;           // The first used FADC slice
     48  Byte_t  fTimeLastLoGain;            // The last used FADC slice
    4249 
    4350  Float_t fPheFFactorMethod;                // The number of Phe's calculated (F-factor method)
     
    6168  enum  { kHiGainSaturation,
    6269          kExcluded, kExcludeQualityCheck,
    63           kFitValid, kFitted,
     70          kChargeFitValid, kTimeFitValid,
     71          kFitted,
    6472          kBlindPixelMethodValid, kFFactorMethodValid, kPINDiodeMethodValid };
    6573 
     
    9098  // Times 
    9199  Float_t GetTime()                const { return fTime;           }
     100  Float_t GetErrTime()             const { return fErrTime;        } 
    92101  Float_t GetSigmaTime()           const { return fSigmaTime;      }
    93   Float_t GetTimeChiSquare()       const { return fTimeChiSquare;  }
    94102  Float_t GetTimeProb()            const { return fTimeProb;  }     
    95103
     
    118126
    119127  Bool_t IsExcluded()              const;
    120   Bool_t IsFitValid()              const;
     128  Bool_t IsChargeFitValid()        const;
     129  Bool_t IsTimeFitValid()          const;
    121130  Bool_t IsFitted()                const;
    122131  Bool_t IsBlindPixelMethodValid() const;
     
    138147  void SetExcluded(Bool_t b = kTRUE);
    139148  void SetExcludeQualityCheck(Bool_t b = kTRUE);
    140   void SetFitValid(Bool_t b = kTRUE);
     149  void SetChargeFitValid(Bool_t b = kTRUE);
     150  void SetTimeFitValid(Bool_t b = kTRUE);
    141151  void SetFitted(Bool_t b = kTRUE);
    142152  void SetBlindPixelMethodValid(Bool_t b = kTRUE);
    143153  void SetFFactorMethodValid(Bool_t b = kTRUE);
    144154  void SetPINDiodeMethodValid(Bool_t b = kTRUE);
     155  void SetAbsTimeBordersHiGain(Byte_t f, Byte_t l);
     156  void SetAbsTimeBordersLoGain(Byte_t f, Byte_t l);
    145157 
    146158  // Fill histos
    147   Bool_t FillChargeHiGain(Float_t q) const                  { return fHist->FillChargeHiGain(q); }
    148   Bool_t FillTimeHiGain(Float_t t)   const                  { return fHist->FillTimeHiGain(t); } 
     159  Bool_t FillChargeHiGain(Float_t q)                  const { return fHist->FillChargeHiGain(q); }
     160  Bool_t FillAbsTimeHiGain(Float_t t)                 const { return fHist->FillAbsTimeHiGain(t); }
     161  Bool_t FillRelTimeHiGain(Float_t t)                 const { return fHist->FillRelTimeHiGain(t); } 
    149162  Bool_t FillRChargevsTimeHiGain(Float_t rq, Int_t t) const { return fHist->FillChargevsNHiGain(rq,t); }   
    150163
    151   Bool_t FillChargeLoGain(Float_t q) const                  { return fHist->FillChargeLoGain(q); }
    152   Bool_t FillTimeLoGain(Float_t t)   const                  { return fHist->FillTimeLoGain(t); } 
     164  Bool_t FillChargeLoGain(Float_t q)                  const { return fHist->FillChargeLoGain(q); }
     165  Bool_t FillAbsTimeLoGain(Float_t t)                 const { return fHist->FillAbsTimeLoGain(t); }
     166  Bool_t FillRelTimeLoGain(Float_t t)                 const { return fHist->FillRelTimeLoGain(t); }   
    153167  Bool_t FillRChargevsTimeLoGain(Float_t rq, Int_t t) const { return fHist->FillChargevsNLoGain(rq,t); }   
    154168 
Note: See TracChangeset for help on using the changeset viewer.