]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliAODInputHandler.h
No optimization with gcc 4.3.0
[u/mrichter/AliRoot.git] / STEER / AliAODInputHandler.h
CommitLineData
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
26772015 16class TList;
17
397596ed 18class AliAODInputHandler : public AliInputEventHandler {
19
20 public:
21 AliAODInputHandler();
22 AliAODInputHandler(const char* name, const char* title);
23 virtual ~AliAODInputHandler();
300d5701 24 virtual Bool_t Init(Option_t* /*opt*/) {return kTRUE;}
25 virtual Bool_t Init(TTree* tree, Option_t* opt);
87d395bd 26 AliAODEvent *GetEvent() const {return fEvent;}
fbb264e0 27 virtual void AddFriend(char* filename);
28 virtual Bool_t BeginEvent(Long64_t entry);
87d395bd 29 private:
30 AliAODInputHandler(const AliAODInputHandler& handler);
31 AliAODInputHandler& operator=(const AliAODInputHandler& handler);
fedd7a0d 32 private:
4195c9c9 33 AliAODEvent *fEvent; //! Pointer to the event
26772015 34 TList *fFriends; // List of friend trees
397596ed 35 ClassDef(AliAODInputHandler, 1);
36};
37
38#endif