[ROOT] Re:

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Sep 17 2001 - 18:45:29 MEST


Hi Brandon,

  use a TTree. See the many tutorials on TTree's for examples.

Cheers, Fons.



> Brandon Kohn wrote:
> 
> Hello again,
> 
> I'm looking for a root container class that will allow me to store a possibly
> large number of objects, while at the same time allowing me to access those
> objects singularly from a TFile.  I would use a TObjArray, but it seems to me
> that you must load the entire array into memory even if you are only accessing
> one element.  Could someone recommend a better structure, or correct me on
> this?
> 
> Thanks
> 
> Brandon Kohn
> +377 97 97 41 50 ext. 306 (Work)
> +377 99 99 89 08 (Home)
> Monaco
> 
> --No matter where you go, &this.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET