nasty bug fix
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Dec 2009 00:19:12 +0000 (00:19 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Dec 2009 00:19:12 +0000 (00:19 +0000)
FMD/AliFMDReconstructor.cxx

index 2f65537..224dac0 100644 (file)
@@ -167,8 +167,8 @@ AliFMDReconstructor::ConvertDigits(AliRawReader* reader,
   rawRead.Exec();
   AliFMDAltroMapping* map = AliFMDParameters::Instance()->GetAltroMap();
   for (size_t i = 1; i <= 3; i++) { 
-    fZS[i]       = rawRead.IsZeroSuppressed(map->Detector2DDL(i));
-    fZSFactor[i] = rawRead.NoiseFactor(map->Detector2DDL(i));
+    fZS[i-1]       = rawRead.IsZeroSuppressed(map->Detector2DDL(i));
+    fZSFactor[i-1] = rawRead.NoiseFactor(map->Detector2DDL(i));
   }
 }