]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/AliGenReaderTreeK.h
Generators using external code moved to corresponding module.
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderTreeK.h
CommitLineData
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"
9class TFile;
10class AliStack;
11class AliHeader;
12
13
14class 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();
d1d1da57 25 virtual void RewindEvent();
de905919 26 AliGenReaderTreeK & operator=(const AliGenReaderTreeK & rhs);
ae872676 27
8020fb14 28 protected:
29 Int_t fNcurrent; // points to the next entry
30 Int_t fNparticle; // Next particle in list
31 Int_t fNp; // number of particles
32 TFile *fFile; //! pointer to file
33 TFile *fBaseFile; //! pointer to base file
34 AliStack *fStack; //! Particle stack
35 AliHeader *fHeader; //! Pointer to event header
ae872676 36 TTree *fTreeE; //! Pointer to header tree
8020fb14 37 ClassDef(AliGenReaderTreeK,1) // Read particles from TreeK
38};
39#endif
40
41
42
43
44
45