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 */
8 #include "AliGenReader.h"
14 class AliGenReaderTreeK : public AliGenReader
18 AliGenReaderTreeK(const AliGenReaderTreeK &reader);
19 virtual ~AliGenReaderTreeK();
23 virtual Int_t NextEvent();
24 virtual TParticle* NextParticle();
25 AliGenReaderTreeK & operator=(const AliGenReaderTreeK & rhs);
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 TTree *fTreeE; //! Pointer to header tree
36 ClassDef(AliGenReaderTreeK,1) // Read particles from TreeK