]>
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$ */ | |
93de1f83 | 7 | // |
8 | // Realisation of AliGenReader to be used with AliGenExtFile | |
9 | // It reads Hijing events from a ntuple like event structure. | |
10 | // Author: andreas.morsch@cern.ch | |
11 | // | |
b152a071 | 12 | #include "AliGenReader.h" |
13 | ||
14 | ||
15 | class AliGenReaderEcalJets : public AliGenReader | |
16 | { | |
17 | public: | |
18 | AliGenReaderEcalJets(); | |
1c56e311 | 19 | AliGenReaderEcalJets(const AliGenReaderEcalJets &reader); |
b152a071 | 20 | virtual ~AliGenReaderEcalJets(){;} |
21 | // Initialise | |
22 | virtual void Init(); | |
23 | // Read | |
24 | virtual Int_t NextEvent(); | |
25 | virtual TParticle* NextParticle(); | |
e033748b | 26 | virtual void RewindEvent(){;} |
b152a071 | 27 | AliGenReaderEcalJets & operator=(const AliGenReaderEcalJets & rhs); |
93de1f83 | 28 | |
b152a071 | 29 | protected: |
30 | Int_t fNcurrent; // points to the next event | |
31 | Int_t fNparticle; // points to the next particle | |
32 | Int_t fNev; // event number | |
93de1f83 | 33 | Float_t fX[2]; // vertex ? |
b152a071 | 34 | Int_t fXtyp[2]; // parton type |
35 | Int_t fNpart; // number of particles | |
36 | Float_t fXpt[200]; // pt of particle | |
37 | Float_t fXeta[200]; // eta of particle | |
38 | Float_t fXphi[200]; // phi of particle | |
39 | Int_t fXid[200]; // id of particle | |
40 | Int_t fNjet; // number of jets | |
41 | Float_t fJet[10]; // E_t of jet | |
42 | Float_t fJeta[10]; // eta of jet | |
43 | Float_t fJphi[10]; // phi of jet | |
44 | Int_t fNsjet; // number of clusters | |
45 | Float_t fJset[10]; // E_t of cluster | |
46 | Float_t fJseta[10]; // eta of cluster | |
47 | Float_t fJsphi[10]; // phi of cluster | |
93de1f83 | 48 | Int_t fNpjet; // Jet p |
49 | Float_t fJpet[10]; // Jet Et | |
50 | Float_t fJpeta[10]; // Jet eta | |
51 | Float_t fJpphi[10]; // Jet phi | |
52 | TTree *fTreeNtuple; // pointer to the TTree | |
b152a071 | 53 | |
93de1f83 | 54 | private: |
dc1d768c | 55 | void Copy(TObject&) const; |
b152a071 | 56 | ClassDef(AliGenReaderEcalJets,1) // Read particles from cwn-ntuple |
57 | }; | |
58 | #endif | |
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 |