]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALRawUtils.h
Added methods for chi2 calculation
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRawUtils.h
index b04a12938f21bf1162cae505a4598db01bf66963..cab4a88eaaacb98ac8eb812831b32d16f003b5f7 100644 (file)
@@ -95,6 +95,8 @@ class AliEMCALRawUtils : public TObject {
   static Double_t RawResponseFunctionLog(Double_t *x, Double_t *par); 
   Bool_t   RawSampledResponse(Double_t dtime, Double_t damp, Int_t * adcH, Int_t * adcL, const Int_t keyErr=0) const;  
 
+  static void CalculateChi2(const Double_t* t,const Double_t* y,const Int_t nPoints, 
+                           const Double_t sig, const Double_t tau, const Double_t amp, const Double_t t0, Double_t &chi2);
 
  private:
   Double_t fHighLowGainFactor ;         // high to low gain factor for the raw RO signal