]>
Commit | Line | Data |
---|---|---|
b152a071 | 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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "AliGenReader.h" | |
9 | ||
10 | ||
11 | class AliGenReaderEcalJets : public AliGenReader | |
12 | { | |
13 | public: | |
14 | AliGenReaderEcalJets(); | |
15 | ||
198bb1c7 | 16 | AliGenReaderEcalJets(const AliGenReaderEcalJets &reader):AliGenReader(reader) |
17 | {reader.Copy(*this);} | |
b152a071 | 18 | virtual ~AliGenReaderEcalJets(){;} |
19 | // Initialise | |
20 | virtual void Init(); | |
21 | // Read | |
22 | virtual Int_t NextEvent(); | |
23 | virtual TParticle* NextParticle(); | |
24 | AliGenReaderEcalJets & operator=(const AliGenReaderEcalJets & rhs); | |
198bb1c7 | 25 | private: |
26 | void Copy(AliGenReaderEcalJets&) const; | |
b152a071 | 27 | protected: |
28 | Int_t fNcurrent; // points to the next event | |
29 | Int_t fNparticle; // points to the next particle | |
30 | Int_t fNev; // event number | |
31 | Float_t fX[2]; // | |
32 | Int_t fXtyp[2]; // parton type | |
33 | Int_t fNpart; // number of particles | |
34 | Float_t fXpt[200]; // pt of particle | |
35 | Float_t fXeta[200]; // eta of particle | |
36 | Float_t fXphi[200]; // phi of particle | |
37 | Int_t fXid[200]; // id of particle | |
38 | Int_t fNjet; // number of jets | |
39 | Float_t fJet[10]; // E_t of jet | |
40 | Float_t fJeta[10]; // eta of jet | |
41 | Float_t fJphi[10]; // phi of jet | |
42 | Int_t fNsjet; // number of clusters | |
43 | Float_t fJset[10]; // E_t of cluster | |
44 | Float_t fJseta[10]; // eta of cluster | |
45 | Float_t fJsphi[10]; // phi of cluster | |
46 | Int_t fNpjet; // ? | |
47 | Float_t fJpet[10]; // ? | |
48 | Float_t fJpeta[10]; // ? | |
49 | Float_t fJpphi[10]; // ? | |
50 | ||
51 | TTree *fTreeNtuple; // pointer to the TTree | |
52 | //Declaration of leaves types | |
53 | ClassDef(AliGenReaderEcalJets,1) // Read particles from cwn-ntuple | |
54 | }; | |
55 | #endif | |
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 |