]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliMath.h
Bug fix. Missing {} that was causing a false information message that the trigger...
[u/mrichter/AliRoot.git] / RALICE / AliMath.h
index 66ac6bb6364cf2d9e6299add1ba41f12c373082a..e0c71b088590865af77b8c272b8dd54673360354 100644 (file)
@@ -44,8 +44,8 @@ class AliMath : public TObject
   Double_t LogNfac(Int_t n,Int_t mode=2) const; // Compute log_10(n!) 
   Double_t PsiValue(Int_t m,Int_t* n,Double_t* p=0,Int_t f=0) const;   // Bayesian Psi value of a counting exp. w.r.t. hypothesis
   Double_t PsiValue(TH1F* his,TH1F* hyp=0,TF1* pdf=0,Int_t f=0) const; // Bayesian Psi value of a counting exp. w.r.t. hypothesis
-  Double_t Chi2Value(Int_t m,Int_t* n,Double_t* p=0) const;   // Frequentist Chi2 value of a counting exp. w.r.t. hypothesis
-  Double_t Chi2Value(TH1F* his,TH1F* hyp=0,TF1* pdf=0) const; // Frequentist Chi2 value of a counting exp. w.r.t. hypothesis
+  Double_t Chi2Value(Int_t m,Int_t* n,Double_t* p=0,Int_t* ndf=0) const;   // Frequentist Chi2 value of a counting exp. w.r.t. hypothesis
+  Double_t Chi2Value(TH1F* his,TH1F* hyp=0,TF1* pdf=0,Int_t* ndf=0) const; // Frequentist Chi2 value of a counting exp. w.r.t. hypothesis
 
  protected:
   Double_t GamSer(Double_t a,Double_t x) const; // Compute P(a,x) via serial representation
@@ -55,7 +55,7 @@ class AliMath : public TObject
   Double_t BesselI1(Double_t x) const;          // Compute modified Bessel function I_1(x)
   Double_t BesselK1(Double_t x) const;          // Compute modified Bessel function K_1(x)
  
- ClassDef(AliMath,6) // Various mathematical tools for physics analysis.
+ ClassDef(AliMath,7) // Various mathematical tools for physics analysis.
  
 };
 #endif