]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliMath.h
Coding Convention Violation correction
[u/mrichter/AliRoot.git] / RALICE / AliMath.h
index c53ba81bd16f8ad56dc3cf18f7497a574271d93a..8c5b310fb0f94204a657b0a81f854c6b6fb4b62c 100644 (file)
@@ -5,7 +5,6 @@
 
 // $Id$
 
-#include <iostream.h>
 #include <math.h>
  
 #include "TObject.h"
 class AliMath : public TObject
 {
  public:
-  AliMath();                              // Default constructor
-  ~AliMath();                             // Destructor
-  Double_t Gamma(Double_t z);             // Standard gamma function Gamma(z)
-  Double_t Gamma(Double_t a,Double_t x);  // Incomplete gamma function P(a,x)
-  Double_t LnGamma(Double_t z);           // Compute ln[Gamma(z)]
-  Double_t Erf(Double_t x);               // Error function erf(x)
-  Double_t Erfc(Double_t x);              // Complementary error function erfc(x)
-  Double_t Prob(Double_t chi2,Int_t ndf); // Compute Chi-squared probability
-  Double_t BesselI(Int_t n,Double_t x);   // Compute integer order modified Bessel function I_n(x)
-  Double_t BesselK(Int_t n,Double_t x);   // Compute integer order modified Bessel function K_n(x)
+  AliMath();                                           // Default constructor
+  virtual ~AliMath();                                  // Destructor
+  AliMath(AliMath& m);                                 // Copy constructor
+  Double_t Gamma(Double_t z);                          // Standard gamma function Gamma(z)
+  Double_t Gamma(Double_t a,Double_t x);               // Incomplete gamma function P(a,x)
+  Double_t LnGamma(Double_t z);                        // Compute ln[Gamma(z)]
+  Double_t Erf(Double_t x);                            // Error function erf(x)
+  Double_t Erfc(Double_t x);                           // Complementary error function erfc(x)
+  Double_t Prob(Double_t chi2,Int_t ndf,Int_t mode=1); // Compute Chi-squared probability
+  Double_t BesselI(Int_t n,Double_t x);                // Compute integer order modified Bessel function I_n(x)
+  Double_t BesselK(Int_t n,Double_t x);                // Compute integer order modified Bessel function K_n(x)
  
  protected:
   Double_t GamSer(Double_t a,Double_t x); // Compute P(a,x) via serial representation
@@ -32,7 +32,7 @@ class AliMath : public TObject
   Double_t BesselI1(Double_t x);          // Compute modified Bessel function I_1(x)
   Double_t BesselK1(Double_t x);          // Compute modified Bessel function K_1(x)
  
- ClassDef(AliMath,1) // Various mathematical tools for physics analysis.
+ ClassDef(AliMath,2) // Various mathematical tools for physics analysis.
  
 };
 #endif