* 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)
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");
}
+
+
+