]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliVEventHandler.h
Update the mult corr histograms
[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();
7970f4ac 23 // Handled tree
11326411 24 virtual TTree *GetTree() const { return NULL; }
c2b6979d 25 virtual Option_t *GetDataType() const { return NULL; }
5b173801 26 virtual void SetFillAOD(Bool_t) {}
933fd60f 27 // Output
0931e76a 28 virtual void SetOutputFileName(const char* fname) = 0;
29 virtual const char* GetOutputFileName() = 0;
90d50a8c 30 // Extra outputs as a string separated by commas
31 virtual const char* GetExtraOutputs() const {return NULL;}
933fd60f 32 // Input
300d5701 33 virtual void SetInputTree(TTree* tree) = 0;
933fd60f 34 // Steering
300d5701 35 virtual Bool_t Init(Option_t* opt) = 0;
36 virtual Bool_t Init(TTree* tree, Option_t* opt) = 0;
37 virtual Bool_t BeginEvent(Long64_t entry) = 0;
0d6a82a5 38 virtual Bool_t GetEntry() = 0;
300d5701 39 virtual Bool_t Notify(const char *path) = 0;
40 virtual Bool_t FinishEvent() = 0;
41 virtual Bool_t Terminate() = 0;
42 virtual Bool_t TerminateIO() = 0;
43 //
276be602 44 virtual Bool_t Notify() { return TNamed::Notify(); };
6bc03c45 45 private :
300d5701 46 ClassDef(AliVEventHandler, 1);
6bc03c45 47};
48
49#endif