Reader for AOD information. (D. Perrino)
[u/mrichter/AliRoot.git] / JETAN / AliJetAODReader.h
CommitLineData
586f2bc3 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"
14class AliJetAODReaderHeader;
15class AliJetReaderHeader;
16class AliAODEvent;
17class TRefArray;
18
19class 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 SetEvent(TObject *ev) {fAOD = (AliAODEvent*) ev;}
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