ALTRO mappings gets from OCDB and keeps in the reco-config object.
[u/mrichter/AliRoot.git] / STEER / AliVEventHandler.h
CommitLineData
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
933fd60f 15class TTree;
6bc03c45 16
17class AliVEventHandler : public TNamed {
18
19 public:
20 AliVEventHandler();
21 AliVEventHandler(const char* name, const char* title);
22 virtual ~AliVEventHandler();
933fd60f 23 // Output
6bc03c45 24 virtual void SetOutputFileName(char* fname) = 0;
25 virtual char* GetOutputFileName() = 0;
933fd60f 26 // Input
27 virtual void SetInputTree(TTree* tree) = 0;
28 // Steering
6bc03c45 29 virtual Bool_t InitIO(Option_t* opt) = 0;
ed97dc98 30 virtual Bool_t BeginEvent(Long64_t entry) = 0;
276be602 31 // needed to prevent warning of hidden virtual Bool_t TObject::Notify()
32 virtual Bool_t Notify() { return TNamed::Notify(); };
33 virtual Bool_t Notify(const char *path) = 0;
6bc03c45 34 virtual Bool_t FinishEvent() = 0;
35 virtual Bool_t Terminate() = 0;
36 virtual Bool_t TerminateIO() = 0;
37 private :
38 ClassDef(AliVEventHandler, 0);
39};
40
41#endif