Re: [ROOT] TTree or TChain ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Dec 19 2000 - 14:59:41 MET


Hi Cyril,
Do you have any evidence that CopyTree does not work for a TChain ?
Did you set the branch addresses before calling CopyTree ?

If you want to make only a selection, you do not need Copytree, you can use
TTree::Draw directly.

Rene Brun

Cyril Lachaud wrote:
> 
> Hi rooters,
> 
> I've got a probably naive question :
> - I want to use a tree coming from 10 files (so I have to use TChain)
> - Then I want to make a selection (I would like to use something like
> copyTree but it does not work with TChain)
> 
> So how can I do the both things ???
> 
> Thank you
> 
> Cyril Lachaud



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:40 MET