X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenReaderEcalJets.h;h=41cc85af07e14ae809ee6e11c05bf1fe5e0134c2;hb=807016ea8594b6bdec8fd7e14b779f0529d4fed0;hp=fe60a76c7d361485fcabad66c9dc408fda101a58;hpb=b152a0716ca13dd767f4c1a070160024f481cbd0;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenReaderEcalJets.h b/EVGEN/AliGenReaderEcalJets.h index fe60a76c7d3..41cc85af07e 100644 --- a/EVGEN/AliGenReaderEcalJets.h +++ b/EVGEN/AliGenReaderEcalJets.h @@ -4,7 +4,11 @@ * See cxx source for full Copyright notice */ /* $Id$ */ - +// +// Realisation of AliGenReader to be used with AliGenExtFile +// It reads Hijing events from a ntuple like event structure. +// Author: andreas.morsch@cern.ch +// #include "AliGenReader.h" @@ -12,20 +16,21 @@ class AliGenReaderEcalJets : public AliGenReader { public: AliGenReaderEcalJets(); - - AliGenReaderEcalJets(const AliGenReaderEcalJets &reader){;} + AliGenReaderEcalJets(const AliGenReaderEcalJets &reader); virtual ~AliGenReaderEcalJets(){;} // Initialise virtual void Init(); // Read virtual Int_t NextEvent(); virtual TParticle* NextParticle(); + virtual void RewindEvent(){;} AliGenReaderEcalJets & operator=(const AliGenReaderEcalJets & rhs); + protected: Int_t fNcurrent; // points to the next event Int_t fNparticle; // points to the next particle Int_t fNev; // event number - Float_t fX[2]; // + Float_t fX[2]; // vertex ? Int_t fXtyp[2]; // parton type Int_t fNpart; // number of particles Float_t fXpt[200]; // pt of particle @@ -40,13 +45,14 @@ class AliGenReaderEcalJets : public AliGenReader Float_t fJset[10]; // E_t of cluster Float_t fJseta[10]; // eta of cluster Float_t fJsphi[10]; // phi of cluster - Int_t fNpjet; // ? - Float_t fJpet[10]; // ? - Float_t fJpeta[10]; // ? - Float_t fJpphi[10]; // ? + Int_t fNpjet; // Jet p + Float_t fJpet[10]; // Jet Et + Float_t fJpeta[10]; // Jet eta + Float_t fJpphi[10]; // Jet phi + TTree *fTreeNtuple; // pointer to the TTree - TTree *fTreeNtuple; // pointer to the TTree - //Declaration of leaves types + private: + void Copy(TObject&) const; ClassDef(AliGenReaderEcalJets,1) // Read particles from cwn-ntuple }; #endif