]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliInputEventHandler.h
Compilation on win32gcc: AliGRPPreprocessor moved to STEER to resolve circular dependence
[u/mrichter/AliRoot.git] / STEER / AliInputEventHandler.h
CommitLineData
76147823 1#ifndef ALIINPUTEVENTHANDLER_H
2#define ALIINPUTEVENTHANDLER_H
3/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Input Handler realisation of the AliVEventHandler interface
10// Author: Andreas Morsch, CERN
11//-------------------------------------------------------------------------
12
13#include "AliVEventHandler.h"
14
fedd7a0d 15class TTree;
76147823 16class AliVEvent;
17
18class AliInputEventHandler : public AliVEventHandler {
19
20 public:
21 AliInputEventHandler();
22 AliInputEventHandler(const char* name, const char* title);
23 virtual ~AliInputEventHandler();
24 virtual void SetOutputFileName(char* /*fname*/) {;}
300d5701 25 virtual char *GetOutputFileName() {return 0;}
26 virtual Bool_t Init(Option_t* /*opt*/) {return kTRUE;}
27 virtual Bool_t Init(TTree* /*tree*/, Option_t* /*opt*/) {return kTRUE;}
28 virtual Bool_t BeginEvent(Long64_t /*entry*/) {return kTRUE;}
276be602 29 virtual Bool_t Notify() { return AliVEventHandler::Notify(); };
300d5701 30 virtual Bool_t Notify(const char */*path*/) {return kTRUE;}
31 virtual Bool_t FinishEvent() {return kTRUE;}
32 virtual Bool_t Terminate() {return kTRUE;}
33 virtual Bool_t TerminateIO() {return kTRUE;}
76147823 34 // Setters
300d5701 35 virtual void SetInputTree(TTree* tree) {fTree = tree;}
fedd7a0d 36 // Getters
300d5701 37 virtual AliVEvent *GetEvent() const {return 0;}
38 virtual TTree *GetTree( ) const {return fTree;}
76147823 39 protected:
933fd60f 40 TTree *fTree; //! Pointer to the tree
76147823 41 ClassDef(AliInputEventHandler, 1);
42};
43
44#endif