RE: TChain -> Merge()

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Fri, 18 Feb 2005 12:45:22 -0600


Hi,

Can you provide me with a way to reproduce this problem?

Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Giovanni Franzoni
Sent: Friday, February 18, 2005 10:40 AM To: roottalk
Subject: [ROOT] TChain -> Merge()

Hi Rooters,

I am trying to merge trees of the same kind which sit in different (smaller) files into one.

Sorry, I know this issue has already been proposed in the past but I was not able to find the reply to noeding (<merging root files>, Fri May 28, 2004 14:04).

I use a TChain and:

m_The_Chain->Merge(FileToWriteFinal,100000,"C");

crashes, while

m_The_Chain->Merge("AllTheTrees.root");

gives me a final file whose size is roughly one hundred times bigger than the sum of the initial smaller files.
I have tried both with uncompressed and compressed (level 9 files). I tried with several releases, for instance v4.02.00/rh73_gcc296/.

        What am I doing wrong?

                Thanks, regards, Giovanni Received on Fri Feb 18 2005 - 19:49:36 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET