[ROOT] A histogram is not a tree or how do we add?

From: Arthur E. Snyder (snyder@SLAC.stanford.edu)
Date: Thu Feb 14 2002 - 23:52:43 MET


Rene et al.,

Is there some method for adding many histograms that are in many different
root files?

I have to break my analysis jobs up, so I end up with a set of histograms
from each job which I wish to recombine in the end.

For the n-tuple that's also produced I use TChain, but since a histograms
is not a tree this doesn't work for histograms.

Is the best method just to generate a macro that will add the histograms
by brute force?

Arthur



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