]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
o small fix
authorwiechula <wiechula@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Nov 2013 12:02:52 +0000 (12:02 +0000)
committerwiechula <wiechula@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Nov 2013 12:02:52 +0000 (12:02 +0000)
TPC/Base/AliTPCCorrectionLookupTable.cxx

index 9084911eaa8898d03df492e706d27f168e4f6a9d..312d30502d2f6eb80eb122ddc8cd7be647cf5bb0 100644 (file)
@@ -355,16 +355,16 @@ void AliTPCCorrectionLookupTable::CreateResidual(AliTPCCorrection *distortion, A
         x[2]=z;
 
         //original point
-        Float_t xo[3]={x[0], x[1], x[2]};
+        Float_t xdc[3]={x[0], x[1], x[2]};
         
         Int_t roc=TMath::Nint(phi*TMath::RadToDeg()/20.)%18;
         if (r>133.) roc+=36;
         if (z<0)    roc+=18;
 
         //get residual distortion
-        distortion->DistortPoint(x, roc);
-        correction->CorrectPoint(x, roc);
-        Float_t dx[3]={xo[0]-x[0], xo[1]-x[1], xo[2]-x[2]};
+        distortion->DistortPoint(xdc, roc);
+        correction->CorrectPoint(xdc, roc);
+        Float_t dx[3]={x[0]-xdc[0], x[1]-xdc[1], x[2]-xdc[2]};
         
         mDxDist(ir,iz)=dx[0];
         mDyDist(ir,iz)=dx[1];