RE: [ROOT] Merging a set of rootfiles

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Mar 01 2002 - 00:56:17 MET


Hi Jyothsna,

> Is there a way to do so?

Yes :)

Depending of the content of your files, you should look at creating TChain
objects listing 50 of your files at a time and use TChain::Merge.  If you
have also histograms to be merge, check the tutorials/hadd.C (depending
of the version of ROOT you are using the name varies sligthly).

Cheers,
Philippe.


-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jyothsna Rani
Sent: Thursday, February 28, 2002 2:11 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Merging a set of rootfiles



Hi,

I've a set of 200 rootfiles. What I would like to do is merge only 50
files at a time and get a set of 4 merged root-tuples.

Is there a way to do so?

Thanks,
Jyothsna



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET