1 #ifndef ALIHLTTESTINPUTHANDLER_H
2 #define ALIHLTTESTINPUTHANDLER_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 //-------------------------------------------------------------------------
7 // Reconstruction-specific input handler
8 // Author: Andrei Gheata, CERN
9 //-------------------------------------------------------------------------
11 #ifndef ALIVEVENTHANDLER_H
12 #include "AliVEventHandler.h"
18 class AliHLTTestInputHandler : public AliVEventHandler {
21 AliHLTTestInputHandler() {}
22 AliHLTTestInputHandler(const char* name, const char* title);
23 virtual ~AliHLTTestInputHandler() {}
24 virtual Bool_t Notify() { return kFALSE; }
25 virtual Bool_t Notify(const char *) {return kTRUE;}
26 virtual Bool_t Init(Option_t* /*opt*/) {return kTRUE;}
27 virtual Bool_t Init(TTree* /*tree*/, Option_t* /*opt*/);
28 virtual Bool_t BeginEvent(Long64_t entry);
29 virtual Bool_t FinishEvent() {return kTRUE;}
30 virtual void SetOutputFileName(const char* /*fname*/) {};
31 virtual const char* GetOutputFileName() const {return NULL;}
33 virtual void SetInputTree(TTree* /*tree*/) {};
35 virtual Bool_t GetEntry() {return kTRUE;}
36 virtual Bool_t Terminate() {return kTRUE;}
37 virtual Bool_t TerminateIO() {return kTRUE;}
39 // Especially needed for HLT
40 Bool_t InitTaskInputData(AliVEvent* /*esdEvent*/, TObjArray* /*arrTasks*/);
42 AliVEvent* GetEvent() const {return fEvent;}
43 void SetEvent(AliVEvent *event) {fEvent = event;}
46 AliHLTTestInputHandler(const AliVEventHandler& handler);
47 AliHLTTestInputHandler& operator=(const AliVEventHandler& handler);
49 AliVEvent *fEvent; //! Pointer to the event
51 ClassDef(AliHLTTestInputHandler, 1);