Re: merging root files
Pasha Murat (murat@cdfsga.fnal.gov)
Fri, 18 Dec 1998 18:25:00 -0600 (CST)
das Boot writes:
> Dear roottalkers!
> I have multiple root files with ntuples,
> and I would like to know is there a way to merge them into one big root
> file.
> The TChain::Merge() method does not work.
> It merges chains but zeroes out the content of all ntuples.
> A macro presented in the tutorial
> http://root.cern.ch/root/html/examples/hadd.C.html
> merges histograms, but not ntuples.
> Maybe there is a trick in invoking Merge().
> I would appreciate if someone could answer this.
> thanx!
> Artur Vaitaitis
>
Hi Arthur:
please read "how to use chains" (http://root.cern.ch/root/HowtoChain.html)
under ROOT HOWTO's.
regards, pasha.