]>
Commit | Line | Data |
---|---|---|
8020fb14 | 1 | #ifndef ALIGENREADERTreeK_H |
2 | #define ALIGENREADERTREEK_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "AliGenReader.h" | |
9 | class TFile; | |
10 | class AliStack; | |
11 | class AliHeader; | |
12 | ||
13 | ||
14 | class AliGenReaderTreeK : public AliGenReader | |
15 | { | |
16 | public: | |
17 | AliGenReaderTreeK(); | |
add7d558 | 18 | AliGenReaderTreeK(const AliGenReaderTreeK &reader); |
ae872676 | 19 | virtual ~AliGenReaderTreeK(); |
8020fb14 | 20 | // Initialise |
21 | virtual void Init(); | |
22 | // Read | |
23 | virtual Int_t NextEvent(); | |
24 | virtual TParticle* NextParticle(); | |
de905919 | 25 | AliGenReaderTreeK & operator=(const AliGenReaderTreeK & rhs); |
ae872676 | 26 | |
8020fb14 | 27 | protected: |
28 | Int_t fNcurrent; // points to the next entry | |
29 | Int_t fNparticle; // Next particle in list | |
30 | Int_t fNp; // number of particles | |
31 | TFile *fFile; //! pointer to file | |
32 | TFile *fBaseFile; //! pointer to base file | |
33 | AliStack *fStack; //! Particle stack | |
34 | AliHeader *fHeader; //! Pointer to event header | |
ae872676 | 35 | TTree *fTreeE; //! Pointer to header tree |
8020fb14 | 36 | ClassDef(AliGenReaderTreeK,1) // Read particles from TreeK |
37 | }; | |
38 | #endif | |
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 |