Re: [ROOT] Problem with MakeClass for TChain

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun Dec 14 2003 - 18:04:49 MET


In the CVS version, TTree::MakeClass generates the correct dimensions
for variable length arrays, taking into account the maximum length
in all files of the TChain. This change will be included in 3.10/02
coming in the next few days.

Rene Brun

On 
Fri, 12 Dec 2003, Bernard Andrieu wrote:

> Hi,
> 
> I would like to do a MakeClass for a TChain. The problem is that the 
> maximum dimensions written by MakeClass for the arrays in the TChain are 
> valid only for the first tree in the chain. So if I don't change by hand 
> these maximum values, my program crashes when it tries to run on the 
> whole chain.
> 
> The same problem was already reported more than 1 year ago (see link 
> below) but apparently was not solved at that time.
> http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk02/3487.html
> 
> I'm using root 3.05/04 compiled with gcc 3.1 on Linux/RedHat 7.2.
> 
> Thanks for help. Cheers,
>     Bernard Andrieu
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET