Re: [ROOT] Chain to Tree

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Oct 08 2001 - 17:22:04 MEST


Hi Andrey,

It works with TChain too, but you must move to 3.02

Rene Brun

Andrey Shchukin wrote:
> 
> Hi Rene,
> 
> Actually, I need to use the chains, but when I'm trying to extract some
> branches to new tree like copytree.C example it does not work. I'm 100% sure
> that all branch addresses are set up. No way to do it with chains? ROOT
> version is 3.01/06.
> 
> Thank You!
> 
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Rene Brun
> Sent: Monday, October 08, 2001 1:16 AM
> To: Andrey Shchukin
> Cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] Chain to Tree
> 
> Hi Andrey,
> 
> Use TTree::CopyTree
> 
> http://root.cern.ch/root/htmldoc/TTree.html#TTree:CopyTree
> 
> Rene Brun
> 
> Andrey Shchukin wrote:
> >
> > Hello!
> >
> > What I have:
> >         a chain;
> >         each chain/tree contains a huge amount of branches;
> > What I need:
> >         I need to create new tree which will contain just small part of
> initial
> > branches.
> >
> > What is the simplest way to do it?
> >
> > Thank You!



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