]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
PWGPP-102, ATO-135 - dNdx adjustement for the MC simulation
authormivanov <marian.ivanov@cern.ch>
Fri, 23 Jan 2015 21:58:49 +0000 (22:58 +0100)
committermivanov <marian.ivanov@cern.ch>
Fri, 23 Jan 2015 22:14:18 +0000 (23:14 +0100)
TPC/TPCbase/AliTPCParam.cxx

index e8a86614307e2ea92f0ba5bc89787a9c80af9468..6cddad111519e51e9179ee859844e044a3d495b5 100644 (file)
@@ -1026,11 +1026,12 @@ TVectorD * AliTPCParam::GetBetheBlochParamAliceMC(){
   //  Parameters of the BB for the Aleph parametrization AliMathBase::BetheBlochAleph
   //  dNdx parameterization
   TVectorD v(5);
-  v[0] =0.0816056; 
-  v[1] =10.0163 ;
-  v[2] =9.43982e-05; 
-  v[3] =2.0425;
-  v[4] =1.64609; 
+  v[0] =0.0820172 ;
+  v[1] =9.94795 ;
+  v[2] =8.97292e-05; 
+  v[3] =2.05873 ;
+  v[4] =1.65272 ;
+
   return new TVectorD(v);
 }
 
@@ -1044,7 +1045,7 @@ Double_t  AliTPCParam::BetheBlochAleph(Double_t bg, Int_t type){
     AliTPCParam* param = AliTPCcalibDB::Instance()->GetParameters();
     if (param) paramBB=param->GetBetheBlochParameters();
   } 
-  if (type>0){
+  if (type==1){
     paramBB = (TVectorD*)fBBParam->At(type);
   }
   if (!paramBB) return 0;