Classed moved form libJETANMC to libJETAN.
[u/mrichter/AliRoot.git] / JETAN / AliJetAODReader.h
1 #ifndef ALIJETAODREADER_H
2 #define ALIJETAODREADER_H
3  
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6  
7 //---------------------------------------------------------------------
8 // Jet AOD Reader
9 // AOD reader for jet analysis
10 // Author: Davide Perrino (davide.perrino@cern.ch)
11 //---------------------------------------------------------------------
12
13 #include "AliJetReader.h"
14 class AliJetAODReaderHeader;
15 class AliJetReaderHeader;
16 class AliAODEvent;
17 class TRefArray;
18
19 class AliJetAODReader : public AliJetReader
20 {
21  public: 
22   AliJetAODReader();
23   virtual ~AliJetAODReader();
24
25   TRefArray*   GetReferences() const {return fRef;}
26
27   Bool_t FillMomentumArray(Int_t event); 
28   void   OpenInputFiles();
29   void   ConnectTree(TTree* tree, TObject* data);
30   void   SetInputEvent(TObject* /*esd*/, TObject* aod, TObject* /*mc*/) {fAOD = (AliAODEvent*) aod;}
31
32  private:
33   TChain                     *fChain;  //! chain for reconstructed tracks
34   AliAODEvent                *fAOD;    //! pointer to aod
35   TRefArray                  *fRef;    // pointer to array of references to tracks
36   Int_t                       fDebug;  // Debug option
37   Int_t                       fOpt;    // Detector to be used for jet reconstruction
38   ClassDef(AliJetAODReader,1)
39 };
40  
41 #endif