Re: [ROOT] A simple question about TClonesArray

From: Pasha Murat (murat@fnal.gov)
Date: Tue Mar 05 2002 - 17:25:36 MET


On Tue, 05 Mar 2002 09:42:07 -0600
"Philippe Canal" <pcanal@fnal.gov> wrote:

> Hi,
> 
> In a TClonesArray, you can (in recent version of ROOT) put objects of
> the same class (which inherit directly or indirectly from TObject), but
> the object can be of different 'size' (where the difference is actually
> in the indirect memory foot-print).
> 
>
There is a couple of non-obvious (at least for me) issues here:

- how memory is being reused and 
- how splitting is done 

in case objects of the same class stored in TClonesArray have different sizes.
Wondering if it is documented - didn't find anything in  TClonesArray section
of 3.02a user guide.

					best, Pasha



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET