Re: [ROOT] Re: Copy Tree with TChain

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Jun 30 2001 - 09:18:25 MEST


Hi Chris,

Sorry, I thought I had already replied to your mail.
TChain::CopyTree should be implemented. TTree::CopyTree cannot work
as it is in case of a TChain. I will fix this.

Rene Brun

On Fri, 29 Jun 2001, 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