]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
GerEvent implemented: gives back latest event.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Aug 2009 13:34:48 +0000 (13:34 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Aug 2009 13:34:48 +0000 (13:34 +0000)
ANALYSIS/AliMultiEventInputHandler.h

index 39fe2e5ed2ba1ef1fedf3aa9f718901555e08236..87d4287fe43592785be5157e82b3e03d79b65d30 100644 (file)
@@ -29,7 +29,7 @@ class AliMultiEventInputHandler : public AliInputEventHandler {
     Bool_t IsBufferReady()           const {return (fNBuffered >= (fBufferSize -1));}
     Bool_t IsFreshBuffer()           const {return (fIndex == (fBufferSize - 1));}
     AliVEventPool           *GetEventPool()      const {return fEventPool;}
-    virtual AliVEvent       *GetEvent()          const {return 0;}
+    virtual AliVEvent       *GetEvent()          const {return GetLatestEvent();}
     virtual AliVEvent       *GetEvent(Int_t iev) const;
     AliVEvent               *GetLatestEvent()    const {return fEventBuffer[fIndex];}
     // From the interface