Correct response function in the clusterization (M.Ivanov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Feb 2006 14:35:50 +0000 (14:35 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Feb 2006 14:35:50 +0000 (14:35 +0000)
TRD/AliTRDclusterizerV1.cxx

index 901544b4fa54199c6317c4da47e43a60c4c0c392..1f2613f0a161de06fc193ae55c998bcde13d5b6b 100644 (file)
@@ -485,7 +485,7 @@ Bool_t AliTRDclusterizerV1::MakeClusters()
                 Double_t colSize = padPlane->GetColSize(col);
                 Double_t rowSize = padPlane->GetRowSize(row);
                 Double_t clusterPos[3];
                 Double_t colSize = padPlane->GetColSize(col);
                 Double_t rowSize = padPlane->GetRowSize(row);
                 Double_t clusterPos[3];
-               clusterPos[0] = padPlane->GetColPos(col) + (clusterPads[1]-0.5)*colSize;  // MI change
+               clusterPos[0] = padPlane->GetColPos(col) - (clusterPads[1]+0.5)*colSize;  // MI change
                clusterPos[1] = padPlane->GetRowPos(row) -0.5*rowSize; //MI change
                 clusterPos[2] = CalcXposFromTimebin(clusterPads[2], vdrift);
                 Double_t clusterSig[2];
                clusterPos[1] = padPlane->GetRowPos(row) -0.5*rowSize; //MI change
                 clusterPos[2] = CalcXposFromTimebin(clusterPads[2], vdrift);
                 Double_t clusterSig[2];