]>
Commit | Line | Data |
---|---|---|
6bc03c45 | 1 | #ifndef ALIVEVENTHANDLER_H |
2 | #define ALIVEVENTHANDLER_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 | // Event Handler base class | |
10 | // Author: Andreas Morsch, CERN | |
11 | //------------------------------------------------------------------------- | |
12 | ||
13 | #include <TNamed.h> | |
14 | ||
15 | ||
16 | class AliVEventHandler : public TNamed { | |
17 | ||
18 | public: | |
19 | AliVEventHandler(); | |
20 | AliVEventHandler(const char* name, const char* title); | |
21 | virtual ~AliVEventHandler(); | |
22 | virtual void SetOutputFileName(char* fname) = 0; | |
23 | virtual char* GetOutputFileName() = 0; | |
24 | virtual Bool_t InitIO(Option_t* opt) = 0; | |
25 | virtual Bool_t BeginEvent() = 0; | |
26 | virtual Bool_t Notify(const char *path) = 0; | |
27 | virtual Bool_t FinishEvent() = 0; | |
28 | virtual Bool_t Terminate() = 0; | |
29 | virtual Bool_t TerminateIO() = 0; | |
30 | private : | |
31 | ClassDef(AliVEventHandler, 0); | |
32 | }; | |
33 | ||
34 | #endif |