cloning TIter with state

From: George Irwin (gmieg@EGNEXT1.SLAC.STANFORD.EDU)
Date: Fri Jun 25 1999 - 01:20:09 MEST


Hi Root Team,  I'm looking for a way to do nested loops using TIter.
In particular, I'd like to repeatedly initialize the inner TIter to
the current state of the outer TIter, so that the inner loop doesn't
repeat the items that the outer loop has already accessed.  In CLHEP,
the HepAListIterator copy constructor can be used to clone another
HepAListIterator with the current state of the original.  What is the
best way to do something similar using the ROOT iterators?
Thanks.  George



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET