Corrected for a double counting for charges >1
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Mar 2008 12:29:58 +0000 (12:29 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Mar 2008 12:29:58 +0000 (12:29 +0000)
TPC/AliTPCv2.cxx

index 194c24d..26e84c5 100644 (file)
@@ -1335,7 +1335,6 @@ void AliTPCv2::StepManager()
         betaGamma = TMath::Max(betaGamma,(Float_t)7.e-3); // protection against too small bg
         pp=kprim*BetheBloch(betaGamma); 
    
-        if(TMath::Abs(charge) > 1.) pp *= (charge*charge);
     }
   
     Double_t rnd = gMC->GetRandom()->Rndm();