[ROOT] Re: Copy Tree with TChain

From: Chris Roat (croat@HEP.Stanford.EDU)
Date: Fri Jun 29 2001 - 23:22:51 MEST


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