]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMathBase.h
protection agains wrong centrality bin
[u/mrichter/AliRoot.git] / STEER / AliMathBase.h
index 3b16daa8991015a0ea5f1bd36ddd07aa3a9a1780..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:
   //