#ifndef ALIINPUTEVENTHANDLER_H #define ALIINPUTEVENTHANDLER_H /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ //------------------------------------------------------------------------- // Input Handler realisation of the AliVEventHandler interface // Author: Andreas Morsch, CERN //------------------------------------------------------------------------- #include "AliVEventHandler.h" class TTree; class AliVEvent; class AliInputEventHandler : public AliVEventHandler { public: AliInputEventHandler(); AliInputEventHandler(const char* name, const char* title); virtual ~AliInputEventHandler(); virtual void SetOutputFileName(char* /*fname*/) {;} virtual char *GetOutputFileName() {return 0;} virtual Bool_t InitIO(Option_t* /*opt*/) {return kTRUE;} virtual Bool_t BeginEvent() {return kTRUE;} virtual Bool_t Notify(const char */*path*/) {return kTRUE;} virtual Bool_t FinishEvent() {return kTRUE;} virtual Bool_t Terminate() {return kTRUE;} virtual Bool_t TerminateIO() {return kTRUE;} // Setters virtual void SetInputTree(TTree* tree) {fTree = tree;} // Getters virtual AliVEvent *GetEvent() const {return 0;} virtual TTree *GetTree( ) const {return fTree;} protected: TTree *fTree; //! Pointer to the tree ClassDef(AliInputEventHandler, 1); }; #endif