]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changes in the interface.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Oct 2007 15:11:23 +0000 (15:11 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Oct 2007 15:11:23 +0000 (15:11 +0000)
STEER/AliAODInputHandler.h
STEER/AliESDInputHandler.h
STEER/AliInputEventHandler.h

index 78abe4466177a8cec67cdab9627032dfdcdeb8ec..220999269894bc9899f56088f885a9a334438cce 100644 (file)
@@ -11,7 +11,7 @@
 //-------------------------------------------------------------------------
 
 #include "AliInputEventHandler.h"
-
+#include "AliAODEvent.h"
 
 class AliAODInputHandler : public AliInputEventHandler {
 
@@ -21,7 +21,9 @@ class AliAODInputHandler : public AliInputEventHandler {
     virtual ~AliAODInputHandler();
     virtual Bool_t       InitIO(Option_t* opt);
     virtual Bool_t       BeginEvent() {return kTRUE;}
-    private:
+    AliAODEvent         *GetEvent() const {return fEvent;}    
+ private:
+    AliAODEvent    *fEvent;   //! Pointer to the event 
     ClassDef(AliAODInputHandler, 1);
 };
 
index ac80a0d05eb1c49a41422212f1d000c0b952b8a6..9c9da7cd482adf4273c982e851c3fce9df1987c0 100644 (file)
@@ -11,7 +11,7 @@
 //-------------------------------------------------------------------------
 
 #include "AliInputEventHandler.h"
-
+#include "AliESDEvent.h"
 
 class AliESDInputHandler : public AliInputEventHandler {
 
@@ -21,7 +21,9 @@ class AliESDInputHandler : public AliInputEventHandler {
     virtual ~AliESDInputHandler();
     virtual Bool_t       InitIO(Option_t* opt);
     virtual Bool_t       BeginEvent();
+    AliESDEvent         *GetEvent() const {return fEvent;}
     private:
+    AliESDEvent    *fEvent;   //! Pointer to the event 
     ClassDef(AliESDInputHandler, 1);
 };
 
index e0733d7b51c37218518346d957476e93ede2f61d..aca5fd6bf951e895ea54689a7a2bcad121ea2e85 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "AliVEventHandler.h"
 
-class TChain;
+class TTree;
 class AliVEvent;
 
 class AliInputEventHandler : public AliVEventHandler {
@@ -31,11 +31,10 @@ class AliInputEventHandler : public AliVEventHandler {
     virtual Bool_t       TerminateIO()                      {return kTRUE;}
     // Setters
     virtual void         SetInputTree(TTree* tree)          {fTree = tree;}
-    // Getters
-    virtual AliVEvent   *GetEvent() const                   {return fEvent;}
-    virtual TTree       *GetChain() const                   {return fTree;}
+     // Getters
+    virtual AliVEvent   *GetEvent() const                   {return 0;}
+    virtual TTree       *GetTree( ) const                   {return fTree;}
  protected:
-    AliVEvent    *fEvent;   //! Pointer to the event 
     TTree        *fTree;    //! Pointer to the tree
     ClassDef(AliInputEventHandler, 1);
 };