Re: [ROOT] Problem with hadd

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 11 2004 - 18:11:26 MET


Hi Matt,

You are likely using an old version.
Move to something more recent such as 3.10/02 or 4.00/01

Rene Brun

Matthew D Wood wrote:
> 
> Hi.  I am trying to use the 'hadd.C' macro in $ROOTSYS/tutorials to
> combine a series of files containing both histograms and ntuples.  The
> program works fine in the case of histograms -- however I find that in the
> case of ntuples/trees what it creates is a chain of pointers to trees
> in files and not a new tree.  So if I delete one of the files I used for
> merging I get an error like:
> 
> Error in <TFile::TFile>: file ... does not exist
> 
> I'm sure it is a very simple fix to this macro to have it save the actual
> tree to the file rather than the pointers to trees.  Thanks.
> 
> Matthew Wood



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET