]>
Commit | Line | Data |
---|---|---|
397596ed | 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" | |
fedd7a0d | 14 | #include "AliAODEvent.h" |
397596ed | 15 | |
16 | class AliAODInputHandler : public AliInputEventHandler { | |
17 | ||
18 | public: | |
19 | AliAODInputHandler(); | |
20 | AliAODInputHandler(const char* name, const char* title); | |
21 | virtual ~AliAODInputHandler(); | |
300d5701 | 22 | virtual Bool_t Init(Option_t* /*opt*/) {return kTRUE;} |
23 | virtual Bool_t Init(TTree* tree, Option_t* opt); | |
87d395bd | 24 | AliAODEvent *GetEvent() const {return fEvent;} |
4195c9c9 | 25 | virtual void AddFriend(char* filename) {fFriend = filename;} |
26 | ||
87d395bd | 27 | private: |
28 | AliAODInputHandler(const AliAODInputHandler& handler); | |
29 | AliAODInputHandler& operator=(const AliAODInputHandler& handler); | |
fedd7a0d | 30 | private: |
4195c9c9 | 31 | AliAODEvent *fEvent; //! Pointer to the event |
32 | char *fFriend; //! File with friend tree | |
397596ed | 33 | ClassDef(AliAODInputHandler, 1); |
34 | }; | |
35 | ||
36 | #endif |