cloning TIter with state
George Irwin (gmieg@EGNEXT1.SLAC.STANFORD.EDU)
Thu, 24 Jun 1999 16:20:09 -0700
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