]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenReaderTreeK.cxx
Merging the VirtualMC branch to the main development branch (HEAD)
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderTreeK.cxx
index b269972d9ccdba4ee4a00b342210036f31b63c31..4463f781d9f109d216ad8f0d572209dbb9f39d26 100644 (file)
 
 /*
 $Log$
+Revision 1.4.4.1  2002/06/10 14:57:41  hristov
+Merged with v3-08-02
+
+Revision 1.5  2002/04/26 10:37:23  morsch
+Method RewindEvent() added. (N. Carrer)
+
+Revision 1.4  2002/03/22 08:25:33  morsch
+TreeE connected correctly.
+
 Revision 1.3  2001/12/12 11:21:37  morsch
 Dummy copy constructor added.
 
@@ -112,6 +121,11 @@ TParticle* AliGenReaderTreeK::NextParticle()
     return part;
 }
 
+void AliGenReaderTreeK::RewindEvent()
+{
+  // Go back to the first particle of the event
+  fNparticle = 0;
+}
 
 
 AliGenReaderTreeK& AliGenReaderTreeK::operator=(const  AliGenReaderTreeK& rhs)