]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Read events are enumerated from 1
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Aug 2004 09:07:48 +0000 (09:07 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 30 Aug 2004 09:07:48 +0000 (09:07 +0000)
ANALYSIS/AliReader.cxx

index 5ccf0152188d34f4b34319d1fbe0c3a3ffaca419..ff29a5765d98673aeafa434d68c587440642c723 100644 (file)
@@ -171,7 +171,7 @@ Int_t AliReader::Next()
 //moves to next event
 
   //if asked to read up to event nb. fLast, and it is overcome, report no more events
-  if ((fNEventsRead > fLast) && (fLast > 0) ) return kTRUE;
+  if ((fNEventsRead >= fLast) && (fLast > 0) ) return kTRUE;
   
   if (fTrackCounter == 0x0)//create Track Counter
    {