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