Re: [ROOT] store TArrayI

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Oct 15 2001 - 09:29:00 MEST


Classes not derived from TObject can be stored in a ROOT file when they are
members of a class itself derived from TObject.
If you have TArrayI *array
you cannot do array->Write() or give array as argument of TTree::Branch.
The array must be inside a class derived from TObject.

Rene Brun


Chia Ming, Kuo wrote:
> 
> Hi folks,
> 
> a stupid question ...
> How can I store TArrayI in a root file and read it ?



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