[ROOT] filling a tree

From: Thomas Eberl (Thomas.Eberl@ph.tum.de)
Date: Fri Feb 02 2001 - 14:01:00 MET


Dear rooters,

I have a simple question.
I have written a TObject derived class that is used to store arrays of
fundamental type variables. I want to put these objects in a TTree
branch on a event-by-event basis. Variables that are not arrays are
correctly split and displayed in the TBrowser. The Int_t* and Double_t*
type arrays do not appear in the tree at all. I have tried TArrays but
it seems that they are ignored as well, as they do not inherit from
TObject.

What is the best way to write such a simple container class ? How do I
get arrays of floats e.g. in my tree ?

thanks 

Thomas



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