]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix sign error in Transform()
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Aug 2008 12:48:25 +0000 (12:48 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Aug 2008 12:48:25 +0000 (12:48 +0000)
TRD/AliTRDtransform.cxx

index 9bf7ed845c98fe87b946d30f98d9b62578e3cda2..3ee56e7f74446654e4739df55bea4792e2c0719e 100644 (file)
@@ -277,7 +277,7 @@ Bool_t AliTRDtransform::Transform(Double_t *x, Int_t *i, UInt_t time, Bool_t &ou
     // apply ExB correction to the Y-position
     // and move to the Z-position relative to the middle of the chamber
     posLocal[0] = -xLocal;
-    posLocal[1] =  (fPadPlane->GetColPos(col) + (0.5 - x[0]) * colSize) - driftLength * exbCorr;
+    posLocal[1] =  (fPadPlane->GetColPos(col) + (0.5 + x[0]) * colSize) - driftLength * exbCorr;
     posLocal[2] =  (fPadPlane->GetRowPos(row) -         0.5  * rowSize) - fZShiftIdeal;
 
     // Go to tracking coordinates