1 #ifndef ALIGENREADERECALJETS_H
2 #define ALIGENREADERECALJETS_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 AliGenReaderEcalJets : public AliGenReader
14 AliGenReaderEcalJets();
16 AliGenReaderEcalJets(const AliGenReaderEcalJets &reader){;}
17 virtual ~AliGenReaderEcalJets(){;}
21 virtual Int_t NextEvent();
22 virtual TParticle* NextParticle();
23 AliGenReaderEcalJets & operator=(const AliGenReaderEcalJets & rhs);
25 Int_t fNcurrent; // points to the next event
26 Int_t fNparticle; // points to the next particle
27 Int_t fNev; // event number
29 Int_t fXtyp[2]; // parton type
30 Int_t fNpart; // number of particles
31 Float_t fXpt[200]; // pt of particle
32 Float_t fXeta[200]; // eta of particle
33 Float_t fXphi[200]; // phi of particle
34 Int_t fXid[200]; // id of particle
35 Int_t fNjet; // number of jets
36 Float_t fJet[10]; // E_t of jet
37 Float_t fJeta[10]; // eta of jet
38 Float_t fJphi[10]; // phi of jet
39 Int_t fNsjet; // number of clusters
40 Float_t fJset[10]; // E_t of cluster
41 Float_t fJseta[10]; // eta of cluster
42 Float_t fJsphi[10]; // phi of cluster
44 Float_t fJpet[10]; // ?
45 Float_t fJpeta[10]; // ?
46 Float_t fJpphi[10]; // ?
48 TTree *fTreeNtuple; // pointer to the TTree
49 //Declaration of leaves types
50 ClassDef(AliGenReaderEcalJets,1) // Read particles from cwn-ntuple