]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenReaderTreeK.h
missing commits
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderTreeK.h
index 487d2f4fa8f09d1c28cc7e4124b0b4f6c1e5531f..d31cf1cf136844edcbaa70bb560cd47d7e49a075 100644 (file)
@@ -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
 };