Interface to the new class for storing and retrieving of the raw-data decoding errors...
[u/mrichter/AliRoot.git] / RAW / AliRawReaderRoot.cxx
index f2575dc7c3c4ffae9c83b78ab41b4df4bd6f3e7c..c1252ef055018ea18ed3a76a571a699247790a98 100644 (file)
@@ -477,6 +477,7 @@ Bool_t AliRawReaderRoot::NextEvent()
       return kFALSE;
     fEventIndex++;
   } while (!IsEventSelected());
+  fEventNumber++;
   return Reset();
 }
 
@@ -490,6 +491,7 @@ Bool_t AliRawReaderRoot::RewindEvents()
   delete fEvent;
   fEvent = new AliRawEvent;
   fBranch->SetAddress(&fEvent);
+  fEventNumber = -1;
   return Reset();
 }