]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenReaderTreeK.h
Fixes for bug #62149 AliITSTrackleterSPDEff returns an error in case of 'empty' events
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderTreeK.h
index 7ab6023e922b7116a98d97f25f19d4296f2e8184..d31cf1cf136844edcbaa70bb560cd47d7e49a075 100644 (file)
@@ -34,6 +34,7 @@ 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
@@ -50,7 +51,7 @@ class AliGenReaderTreeK : public AliGenReader
     TString&   GetDirName(Int_t entry);
     TParticle* GetParticle(Int_t i);
  private:
-    void Copy(AliGenReaderTreeK&) const;    
+    void Copy(TObject&) const;    
     ClassDef(AliGenReaderTreeK,1) // Read particles from TreeK
 };