Re: [ROOT] CopyTree() with chain of multiple ntuples

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Mar 01 2003 - 00:03:28 MET


Hi Jedong,

Thanks for reporting this problem. It was a side-effect of a recent 
restructuring of the TTreePlayer class. Now fixed in CVS

Rene Brun

On Fri, 28 Feb 
2003, Jedong Lee wrote:

> Hello,
> 
> TTree::CopyTree() crashes when it sees an end of an ntuple in a TChain of
> multiple ntuples.
> If I try something like this:
> 
> []  .L myclass.C
> []  myclass mmm
> []  TTree* small = mmm.fChain->CopyTree("cal[0]>80")
> 
>  *** Break *** segmentation violation
> 
>  Generating stack trace...
> 
>  0x401a9ab7 in TUnixSystem::StackTrace(void) at /scr/misc1/jeffk/root_cutting/Linux+2.2/KCC_4_0/root/unix/src/TUnixSystem.cxx:1357 from /home/cdfsoft/products/root/v3_05_00aKCC_4_0/Linux+2.2/lib/libCore.so
>  0x401a8da3 in TUnixSystem::DispatchSignals(E............
> 
> 
> 
> 'myclass' was generated with MakeClass(), from TChain of multiple
> ntuple files.
> 
> I am working on the version 3.05/00.
> 
> Best,
> Jedong
> 



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