Re: [ROOT] Re: Copy Tree with TChain

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jul 04 2001 - 08:20:07 MEST


Hi Chris, Cyril,

The problem with CopyTree in case of TChains has been fixed in the CVS version.
Thanks for reporting the problem.

Rene Brun

Chris Roat wrote:
> 
> Hi,
> 
> I recently posted the following, and I have received no response.  Can
> someone at least tell me if TChain::CopyTree  (inherited from TTree)
> should work?  Then I would know if I am doing something wrong?
> 
> Chris
> 
> -----
> 
> In a follow-up to Cyril's posting
> http://root.cern.ch/root/roottalk/roottalk00/3479.html
> I do have evidence that CopyTree doesn't work with TTree, I think.  I get
> tons of errors
> 
> Warning in <TChain::TChain::Fill()>: may not use this method
> 
> when I try to use the CopyTree method with a TChain.  Since I want to do
> more than draw a histogram after my selection, I need this functionality.
> I want to save my new "reduced" tree to a file!
> 
> Any suggestions, or am I doing something in error?



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET