Re: combining files

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Oct 13 1999 - 16:52:08 MEST


Hi Stephen,
You can do this via TTree::CloneTree.
see http://root.cern.ch/root/html/TTree.html#TTree:CloneTree

we provide examples in the tutorials copytree and copytree2
See URLs:
  http://root.cern.ch/root/html/examples/copytree.C.html
  http://root.cern.ch/root/html/examples/copytree2.C.html

You can easily adapt these two examples to your case.

Rene Brun


Stephen Markacs wrote:
> 
> I have three different root files, each with one TNtuple in it.  The
> ntuples are entirely different ntuples.  I want to make one file that has
> all three of the TNtuples in it - that is, I don't want to merge the
> ntuples, I just want the three to appear individually all in the same
> file.  Is there a straightforward way to do this?
> 
>    S t e p h e n   M a r k a c s
>    stephen@phys.columbia.edu
>    http://phys.columbia.edu/~stephen/



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET