fixing bug
authormfloris <mfloris@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Mar 2013 18:42:44 +0000 (18:42 +0000)
committermfloris <mfloris@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 13 Mar 2013 18:42:44 +0000 (18:42 +0000)
PWG/Tools/AliPWGFunc.cxx
PWG/Tools/AliPWGFunc.h

index 825e6c1..5ccd43c 100644 (file)
@@ -960,7 +960,7 @@ TF1 * AliPWGFunc::GetMTExpdNdmt(Double_t mass, Double_t temp, Double_t norm, con
   else if (var == kdNdmt) 
     snprintf(formula,500,"[0] * x * exp (-x/[1]) + %f ", mass);
   if (var == kOneOverMtdNdmtMinusM)
-    snprintf(formula,500,"[0] * exp (-x/[1])", mass);
+    snprintf(formula,500,"[0] * exp (-x/[1])");
 
   //sprintf(formula,"( [0]*([1]-1)*([1]-2)  )/( [1]*[2]*( [1]*[2]+[3]*([1]-2) )  ) * ( 1 + x/([1]*[2])  )^(-[1])");
   //  sprintf(formula,"[0] * ( 1 + x/([1]*[2])  )^(-[1])");
index a64abb5..fa0f324 100644 (file)
@@ -161,7 +161,7 @@ protected:
   TF1 * GetLevidNdmt(Double_t mass, Double_t T, Double_t n, Double_t norm, const char * name = "fLeviMt", VarType_t var = kOneOverMtdNdmt);
 
   // mt exp
-  TF1 * AliPWGFunc::GetMTExpdNdmt(Double_t mass, Double_t temp, Double_t norm, const char * name, VarType_t var);
+  TF1 * GetMTExpdNdmt(Double_t mass, Double_t temp, Double_t norm, const char * name, VarType_t var);
 
 
   // gereral setters