Saving TObjArrays

From: Alberto Pulvirenti <alberto.pulvirenti_at_ct.infn.it>
Date: Fri, 03 Nov 2006 09:54:13 +0100


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

-- 

>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>>
Alberto Pulvirenti, Ph. D. University of Catania, Department of Physics & Astronomy Via Santa Sofia, 64 I-95123, Catania, Italy Tel :+39-095-3785286
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>>
Received on Fri Nov 03 2006 - 09:55:21 MET

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