bug-fix (Gustavo)
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Nov 2008 10:15:41 +0000 (10:15 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 24 Nov 2008 10:15:41 +0000 (10:15 +0000)
RAW/AliCaloRawStream.cxx

index 692d45c..043f3c0 100644 (file)
@@ -83,7 +83,7 @@ AliCaloRawStream::AliCaloRawStream(AliRawReader* rawReader, TString calo, AliAlt
        if(fCalo == "EMCAL") path2 += sides[j];
        path2 += ".data";
        //printf("AliCaloRawStream::RCU:  %s\n",path2.Data());
-       fMapping[i] = new AliCaloAltroMapping(path2.Data());
+       fMapping[j*fNRCU+ i] = new AliCaloAltroMapping(path2.Data());
       }
     }
   }