[ROOT] CopyTree() with chain of multiple ntuples

From: Jedong Lee (jdlee@fnal.gov)
Date: Fri Feb 28 2003 - 22:07:25 MET


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