Q: fKeep thing in TClonesArray

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Mon Jul 06 1998 - 06:31:00 MEST


	Hello ,

I'm curious about the role of fKeep data member in TClonesArray.
I recently realized that TClonesArray maintains 2 parallel arrays of 
TObject*'s which it also tries to keep in sync - see 
TClonesArray::operator[]. I'd expect that this procedure roughly doubles 
the TObject* retrieval time and makes the bookkeping within the TClonesArray 
kind of non-trivial.

I guess that from educational point of view it would be pretty interesting 
(and not only for me) to know what are the advantages of keeping a duplicate 
array of TObject*'s - it is definitely not something lying on the surface.

		I'd appreciate any comments, thanks, Pasha.



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