[ROOT] Problem with hadd

From: Matthew D Wood (mdwood@lotus.phys.nwu.edu)
Date: Wed Feb 11 2004 - 17:28:31 MET


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