X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenReaderTreeK.h;h=d31cf1cf136844edcbaa70bb560cd47d7e49a075;hb=7f11c77845e649edcf6599ceb3b0d08923e449f7;hp=487d2f4fa8f09d1c28cc7e4124b0b4f6c1e5531f;hpb=88cb7938ca21d4a80991d4e7aa564008c29340f7;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenReaderTreeK.h b/EVGEN/AliGenReaderTreeK.h index 487d2f4fa8f..d31cf1cf136 100644 --- a/EVGEN/AliGenReaderTreeK.h +++ b/EVGEN/AliGenReaderTreeK.h @@ -4,13 +4,17 @@ * See cxx source for full Copyright notice */ /* $Id$ */ - +// +// Realisation of AliGenReader to be used with AliGenExtFile +// It reads events from a kinematics TreeK. +// Author: andreas.morsch@cern.ch +// #include "AliGenReader.h" #include "AliStack.h" class TFile; -class AliHeader; class AliRunLoader; +class AliStack; class TString; class TObjArray; @@ -30,6 +34,8 @@ class AliGenReaderTreeK : public AliGenReader AliGenReaderTreeK & operator=(const AliGenReaderTreeK & rhs); void SetDirs(TObjArray* dirs){fDirs = dirs;} //sets array directories names void AddDir(const char* dirname); + AliRunLoader * GetRunLoader() const {return fInRunLoader;} + protected: Int_t fNcurrent; // points to the next entry Int_t fNparticle; // Next particle in list @@ -44,7 +50,8 @@ class AliGenReaderTreeK : public AliGenReader TString& GetDirName(Int_t entry); TParticle* GetParticle(Int_t i); - + private: + void Copy(TObject&) const; ClassDef(AliGenReaderTreeK,1) // Read particles from TreeK };