Reset the raw-reader before using it
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Mar 2008 10:08:33 +0000 (10:08 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Mar 2008 10:08:33 +0000 (10:08 +0000)
FMD/AliFMDRawStream.cxx

index 7502788..f463cc7 100644 (file)
@@ -32,6 +32,7 @@
 #include "AliFMDDebug.h" // Better debug macros
 // #include <iomanip>
 // #include <iostream>
+#include "AliRawReader.h"
 
 //____________________________________________________________________
 ClassImp(AliFMDRawStream)
@@ -44,6 +45,7 @@ AliFMDRawStream::AliFMDRawStream(AliRawReader* reader)
   : AliAltroRawStream(reader)
 {
   // CTOR 
+  reader->Reset();
   fNoAltroMapping = kFALSE;
   // Select FMD DDL's 
   SelectRawData("FMD");