]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Shadowed methods corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 May 2008 07:20:10 +0000 (07:20 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 May 2008 07:20:10 +0000 (07:20 +0000)
STEER/AliMultiAODInputHandler.cxx
STEER/AliMultiAODInputHandler.h

index 7eae0e528995156640718c8b62d1289113157dfc..10b7e17b99efd95a5df343d25cd5a1e7e66c1671 100644 (file)
@@ -95,7 +95,7 @@ Bool_t AliMultiAODInputHandler::FinishEvent()
 }
 
 
-AliAODEvent* AliMultiAODInputHandler::GetEvent(Int_t iev)
+AliAODEvent* AliMultiAODInputHandler::GetEvent(Int_t iev) const
 {
     // Get event number iev from buffer
     if ((iev < 0) || (iev >= fBufferSize))
index b6f9e7ef94e7674f81a91648039058ca0867bd61..a53e3aff000a8440b54a21321b6c5b0c55f38595 100644 (file)
@@ -28,9 +28,11 @@ class AliMultiAODInputHandler : public AliInputEventHandler {
     Bool_t IsBufferReady()           const {return (fNBuffered >= fBufferSize);}
     Bool_t IsFreshBuffer()           const {return (fIndex == (fBufferSize - 1));}
            
-    TObject*       GetEventPool()    const {return fEventPool;}
-    AliAODEvent*   GetEvent(Int_t iev);
+    TObject              *GetEventPool()      const {return fEventPool;}
+    virtual AliVEvent    *GetEvent()          const {return 0;}
+    virtual AliAODEvent  *GetEvent(Int_t iev) const;
     // From the interface
+    virtual Bool_t Init(Option_t* /*opt*/)    {return kTRUE;}
     virtual Bool_t Init(TTree* tree, Option_t* /*opt*/);
     virtual Bool_t FinishEvent();
  private: