]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Protection against too small betaGamma. Thanks to Ivana and Yves.
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Apr 2001 08:16:47 +0000 (08:16 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Apr 2001 08:16:47 +0000 (08:16 +0000)
TPC/AliTPCv2.cxx

index 67f830eff1e1dc4a1b41e3612e5753b1c006df86..bf1bce4798cce798cd2e89d83de1ce7b289891ff 100644 (file)
 
 /*
 $Log$
+Revision 1.32  2001/03/13 13:07:34  kowal2
+Corrected bug in the TPC mother volume geometry.
+Thanks to A. Morsch
+
 Revision 1.31  2000/11/30 11:48:50  kowal2
 TLorentzVector.h adde to satisfy the latest changes by Federico
 
@@ -2188,7 +2192,10 @@ void AliTPCv2::StepManager()
     }
   else
     {
-      pp=kprim*BetheBloch(betaGamma);    
+
+      betaGamma = TMath::Max(betaGamma,7.e-3); // protection against too small bg
+      pp=kprim*BetheBloch(betaGamma); 
+   
       if(TMath::Abs(charge) > 1.) pp *= (charge*charge);
     }