]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliReader.h
Obsolete code
[u/mrichter/AliRoot.git] / ANALYSIS / AliReader.h
index b4b4f246cae0fee1f5542bb2a266191d5f652444..7988dfd2007621882645611703b852127f9aa95a 100644 (file)
@@ -37,8 +37,8 @@
 // that read next event in queue.
 //
 // The others are:
-// Bool_t  ReadsRec() const; specifies if reader is able to read simulated particles
-// Bool_t  ReadsSim() const; specifies if reader is able to read reconstructed tracks
+// Bool_t  ReadsSim() const; specifies if reader is able to read simulated particles
+// Bool_t  ReadsRec() const; specifies if reader is able to read reconstructed tracks
 // void    Rewind(); rewind reading to the beginning
 //
 // This class provides full functionality for reading from many sources
@@ -86,6 +86,7 @@ class AliReader: public TNamed
     virtual AliAOD*      GetEventRec(Int_t n);//returns event number n
     virtual AliAOD*      GetEventSim(Int_t n);
     
+    virtual Int_t        Read(const char * name) {return TObject::Read(name);}
     virtual Int_t        Read(AliAODRun* particles, AliAODRun *tracks);//Reads all available evenets and stores them in 'particles' and 'tracks'
 
     virtual Int_t        GetNumberOfRecEvents();//Returns number of available events -> usually conncected with reading all events