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 */
8 #include "AliGenReader.h"
11 class AliGenReaderEcalHijing : public AliGenReader
14 AliGenReaderEcalHijing();
16 AliGenReaderEcalHijing(const AliGenReaderEcalHijing &reader){;}
17 virtual ~AliGenReaderEcalHijing(){;}
21 virtual Int_t NextEvent();
22 virtual TParticle* NextParticle();
23 AliGenReaderEcalHijing & operator=(const AliGenReaderEcalHijing & rhs);
25 Int_t fNcurrent; // points to the next entry
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.
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