]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Constant casted to avoid ambiguity
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Apr 2001 10:20:18 +0000 (10:20 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Apr 2001 10:20:18 +0000 (10:20 +0000)
TPC/AliTPCv2.cxx

index bf1bce4798cce798cd2e89d83de1ce7b289891ff..baf3fa17e3ee788600103614d4ea833e1b13b301 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.33  2001/04/20 08:16:47  kowal2
+Protection against too small betaGamma. Thanks to Ivana and Yves.
+
 Revision 1.32  2001/03/13 13:07:34  kowal2
 Corrected bug in the TPC mother volume geometry.
 Thanks to A. Morsch
@@ -2193,7 +2196,7 @@ void AliTPCv2::StepManager()
   else
     {
 
-      betaGamma = TMath::Max(betaGamma,7.e-3); // protection against too small bg
+      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);