Getter for entry in tree addded.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Mar 2008 16:53:25 +0000 (16:53 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Mar 2008 16:53:25 +0000 (16:53 +0000)
STEER/AliInputEventHandler.h

index 99b3d58..71ed3f0 100644 (file)
@@ -11,8 +11,9 @@
 //-------------------------------------------------------------------------
 
 #include "AliVEventHandler.h"
+#include <TTree.h>
+
 
-class TTree;
 class AliVEvent;
 
 class AliInputEventHandler : public AliVEventHandler {
@@ -36,6 +37,7 @@ class AliInputEventHandler : public AliVEventHandler {
      // Getters
     virtual AliVEvent   *GetEvent() const                             {return 0;}
     virtual TTree       *GetTree( ) const                             {return fTree;}
+    virtual Long64_t     GetReadEntry() const                         {return fTree->GetReadEntry();}
  private:
     AliInputEventHandler(const AliInputEventHandler& handler);             
     AliInputEventHandler& operator=(const AliInputEventHandler& handler);