Re: Saving TObjArrays

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Fri, 03 Nov 2006 11:52:45 +0100


Hi Alberto,

   what object do you have in the TObjArray? Is I/O properly enabled for these objects?

Cheers, Fons.

Alberto Pulvirenti wrote:
> Dear Rooters,
>
> I have a classe containing some (filled) TObjArrays as data members.
> When I save an instance of this class into a TFile, and I try to
> retrieve the objects stored in its TObjArray data members, I find that
> the TObjArrays are empty.
>
> What should I do in order to be sure that invoking object::Write() will
> save also the content of the TObjArray data members?
>
> Cheers
>
> Alberto
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Fri Nov 03 2006 - 11:52:51 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET