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):AliGenReader(reader)
18 virtual ~AliGenReaderEcalHijing(){;}
22 virtual Int_t NextEvent();
23 virtual TParticle* NextParticle();
24 AliGenReaderEcalHijing & operator=(const AliGenReaderEcalHijing & rhs);
26 void Copy(AliGenReaderEcalHijing&) const;
28 Int_t fNcurrent; // points to the next entry
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.
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