]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliAODInputHandler.h
solved problems with the cycles when running QA during reconstruction
[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 AliAODInputHandler : public AliInputEventHandler {
17
18  public:
19     AliAODInputHandler();
20     AliAODInputHandler(const char* name, const char* title);
21     virtual ~AliAODInputHandler();
22     virtual Bool_t       Init(Option_t* /*opt*/) {return kTRUE;}
23     virtual Bool_t       Init(TTree* tree, Option_t* opt);
24     AliAODEvent         *GetEvent() const {return fEvent;}
25  private:
26     AliAODInputHandler(const AliAODInputHandler& handler);             
27     AliAODInputHandler& operator=(const AliAODInputHandler& handler);  
28  private:
29     AliAODEvent    *fEvent;   //! Pointer to the event 
30     ClassDef(AliAODInputHandler, 1);
31 };
32
33 #endif