Fix mapping of column number
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 Aug 2009 07:51:07 +0000 (07:51 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 Aug 2009 07:51:07 +0000 (07:51 +0000)
TRD/AliTRDfeeParam.cxx

index 06b2bac..f951dcf 100644 (file)
@@ -258,7 +258,7 @@ Int_t AliTRDfeeParam::GetExtendedPadColFromADC(Int_t irob, Int_t imcm, Int_t iad
     
   if (iadc < 0 || iadc > fgkNadcMcm ) return -100;
   Int_t mcmcol = imcm%fgkNmcmRobInCol + GetRobSide(irob)*fgkNmcmRobInCol;  // MCM column number on ROC [0..7]
-  Int_t padcol = mcmcol*fgkNadcMcm + fgkNcolMcm + 1 - iadc;
+  Int_t padcol = mcmcol*fgkNadcMcm + fgkNcolMcm + 2 - iadc;
 
   return padcol;