]>
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(); | |
18 | ||
19 | AliGenReaderTreeK(const AliGenReaderTreeK &reader){;} | |
20 | virtual ~AliGenReaderTreeK(){;} | |
21 | // Initialise | |
22 | virtual void Init(); | |
23 | // Read | |
24 | virtual Int_t NextEvent(); | |
25 | virtual TParticle* NextParticle(); | |
26 | AliGenReaderTreeK & operator=(const AliGenReader & rhs); | |
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 | |
35 | ClassDef(AliGenReaderTreeK,1) // Read particles from TreeK | |
36 | }; | |
37 | #endif | |
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 |