]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenReader.cxx
Converting PWG/TRD to native cmake
[u/mrichter/AliRoot.git] / EVGEN / AliGenReader.cxx
index 970bb782035e87c5306aa2897563140ca0b296d9..e28f4e4eb5282109086f7cb123e0c5afbe7352fd 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.1  2001/11/09 09:09:59  morsch
-Base class with responsibility to read events and particles from a file. To be used
-with AliGenExtFile.
+/* $Id$ */
+//
+// Interface for reading events from files.
+// Realisations of this interface have to be used with AliGenExFile.
+// NextEvent() loops over events 
+// and NextParticle() loops over particles. 
+// Author: andreas.morsch@cern.ch
 
-*/
 #include "AliGenReader.h"
 ClassImp(AliGenReader)
 
@@ -27,12 +28,17 @@ ClassImp(AliGenReader)
 AliGenReader& AliGenReader::operator=(const  AliGenReader& rhs)
 {
 // Assignment operator
+    rhs.Copy(*this);
     return *this;
 }
 
-void AliGenReader::RewindEvent()
+void AliGenReader::Copy(TObject&) const
 {
-  // Go back to the first particle of the event.
-  // Need to be implemented in the implementation classes. Interface dies.
-  Fatal("AliGenReader::RewindEvent","\nMethod RewindEvent not present in the implementation class.\n");
+    //
+    // Copy 
+    //
+    Fatal("Copy","Not implemented!\n");
 }
+
+
+