Re: TTree with TClonesArray

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jan 07 1998 - 09:18:23 MET


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET