]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliAODInputHandler.h
fix
[u/mrichter/AliRoot.git] / STEER / AliAODInputHandler.h
1 #ifndef ALIAODINPUTHANDLER_H
2 #define ALIAODINPUTHANDLER_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 //     AOD Input Handler realisation of the AliVEventHandler interface
10 //     Author: Andreas Morsch, CERN
11 //-------------------------------------------------------------------------
12
13 #include "AliInputEventHandler.h"
14 #include "AliAODEvent.h"
15
16 class TList;
17
18 class AliAODInputHandler : public AliInputEventHandler {
19
20  public:
21     AliAODInputHandler();
22     AliAODInputHandler(const char* name, const char* title);
23     virtual ~AliAODInputHandler();
24     virtual Bool_t       Init(Option_t* /*opt*/) {return kTRUE;}
25     virtual Bool_t       Init(TTree* tree, Option_t* opt);
26     AliAODEvent         *GetEvent() const {return fEvent;}
27     virtual void         AddFriend(char* filename);
28     virtual Bool_t       BeginEvent(Long64_t entry);
29     Option_t            *GetDataType() const;
30  private:
31     AliAODInputHandler(const AliAODInputHandler& handler);             
32     AliAODInputHandler& operator=(const AliAODInputHandler& handler);  
33  private:
34     AliAODEvent    *fEvent;   //! Pointer to the event
35     TList          *fFriends; //  List of friend trees 
36     ClassDef(AliAODInputHandler, 1);
37 };
38
39 #endif