Re: [ROOT] Write/read of a Tree and array of int

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Oct 11 2000 - 18:06:31 MEST


Hi Yves,
Please read the following URL:
http://root.cern.ch/root/HowtoWriteTree.html

in particular the section "Making a Tree with many branches"

It is our intention to remove several limitations in the split mode
with TClonesArray, including teh one you are referring to in your mail.

Rene Brun



Yves SCHUTZ wrote:
> 
>    Part 1.1       Type: Plain Text (text/plain)
>               Encoding: 7bit
I put several objects of the following class into
A TClonesArray:

class test : TObject {

    private :
     Int_t length
     Int_t * array // [length]
}
This TclonesArray is then put into a branch of a
Tree. When I fill this Tree or read it I cannot
figure out
which streamer is used.... definitively no the one
generated by cint. The problem is that I do not
write(?)/read
the correct array.

What did I not understand ?

Yves



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET