Re: TTree with TClonesArray

Rene Brun (Rene.Brun@cern.ch)
Wed, 07 Jan 1998 09:18:23 +0100


William J. Deninger wrote:

> Hello all,
>
> I'm still hoping that someone out there will discover a cure to my
> TClonesArray dilemma. Although adding the "new" call before the Branch
> eliminates ROOT crashes with other data types (haven't checked but
> simplest), the TClonesArray type still seems to crash ROOT during the
> TTree::Fill() call.

Your class Simple has a data member TclonesArray. In split mode
only pointers to TClonesArray are accepted.
See rules at URL:
http://root.cern.ch/root/HowtoWriteTree.html
and look at section "many branches"

Rene Brun