Don't symmetrise x,y.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 May 2005 09:25:21 +0000 (09:25 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 May 2005 09:25:21 +0000 (09:25 +0000)
STEER/AliFieldMap.cxx

index 081506e..8b8dc5c 100644 (file)
@@ -221,9 +221,9 @@ void AliFieldMap::Field(Float_t *x, Float_t *b) const
     b[0]=b[1]=b[2]=0;
     //
     
-    xl[0]=TMath::Abs(x[0])-fXbeg;
-    xl[1]=TMath::Abs(x[1])-fYbeg;
-    xl[2]=x[2]-fZbeg;
+    xl[0] = x[0] - fXbeg;
+    xl[1] = x[1] - fYbeg;
+    xl[2] = x[2] - fZbeg;
     
     hix=xl[0]*fXdeli;
     ratx=hix-int(hix);