Bugfix in CalculateHelix(). Kappa is given proper sign, earlier it was always positive.
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Mar 2002 10:09:35 +0000 (10:09 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 6 Mar 2002 10:09:35 +0000 (10:09 +0000)
HLT/src/AliL3Track.cxx

index 2f11d8e..17a56e8 100644 (file)
@@ -153,7 +153,7 @@ void AliL3Track::CalculateHelix(){
   //
   
   fRadius = fPt / (BFACT*BField);
-  if(fRadius) fKappa = 1./fRadius;
+  if(fRadius) fKappa = -fQ*1./fRadius;
   else fRadius = 999999;  //just zero
   Double_t trackPhi0 = fPsi + fQ *0.5 * pi;