]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMathBase.h
correct for omission
[u/mrichter/AliRoot.git] / STEER / AliMathBase.h
index 7fb2d40f477d2cf5869fc754f5bcdbbfae975db8..fdbec7d01075fb657985aac11ca2043ed2ba9444 100644 (file)
@@ -35,6 +35,9 @@ class AliMathBase : public TObject
   static TGraph2D *  MakeStat2D(TH3 * his, Int_t delta0, Int_t delta1, Int_t type);
   static TGraph *  MakeStat1D(TH3 * his, Int_t delta1, Int_t type);
 
+  static Double_t ErfcFast(Double_t x);                           // Complementary error function erfc(x)
+  static Double_t ErfFast(Double_t x) {return 1-ErfcFast(x);}     // Error function erf(x)
+
   //
   // TestFunctions:
   //
@@ -50,13 +53,6 @@ class AliMathBase : public TObject
                                   Double_t kp4=1.8631,
                                   Double_t kp5=1.9479
                                  );
-  static Double_t BetheBlochGeant(Double_t bg,
-                                  Double_t kp0=2.33,
-                                  Double_t kp1=0.20,
-                                  Double_t kp2=3.00,
-                                  Double_t kp3=173e-9,
-                                  Double_t kp4=0.49848
-                                 );
     
  ClassDef(AliMathBase,0) // Various mathematical tools for physics analysis - which are not included in ROOT TMath