]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenReaderEcalHijing.h
export AliGenCocktail.h
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderEcalHijing.h
1 #ifndef ALIGENREADERECALHIJING_H
2 #define ALIGENREADERECALHIJING_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
10
11 class AliGenReaderEcalHijing : public AliGenReader
12 {
13  public:
14     AliGenReaderEcalHijing();
15     
16     AliGenReaderEcalHijing(const AliGenReaderEcalHijing &reader){;}
17     virtual ~AliGenReaderEcalHijing(){;}
18     // Initialise 
19     virtual void Init();
20     // Read
21     virtual Int_t NextEvent();
22     virtual TParticle*  NextParticle();
23     AliGenReaderEcalHijing & operator=(const AliGenReaderEcalHijing & rhs);
24  protected:
25     Int_t             fNcurrent;      // points to the next entry
26     Int_t             fNparticle;     // 
27     
28     TTree            *fTreeNtuple;    // pointer to the TTree
29     //Declaration of leaves types
30     Int_t           fNjatt;           // Number of particles
31     Int_t           fNahij;           // Number of particles in alice accept. 
32     Int_t           fNphij;           // ?
33     Int_t           fKhij[10000];     // particle code
34     Float_t         fPxhij[10000];    // px
35     Float_t         fPyhij[10000];    // py
36     Float_t         fPzhij[10000];    // pz
37     Float_t         fEhij[10000];     // energy
38     ClassDef(AliGenReaderEcalHijing,1) // Read particles from cwn-ntuple
39 };
40 #endif
41
42
43
44
45
46