[ROOT] Project3D with variable binning

From: Chris Roat (croat@hep.stanford.edu)
Date: Mon Jun 12 2000 - 19:47:30 MEST


Hi.

I notice that the Project3D of TH3, which projects a 3D histogram onto 1
or 2 dimensions, uses the following type of constructor for it's lower
dimensional histogram (here I present the 1d case of projecting onto the
x axis):

TH1D(name,title,nx,fXaxis.GetBinLowEdge(ixmin),fXaxis.GetBinUpEdge(ixmax));

Unfortunately, this does not allow for the original histogram to have
variable width binning along the direction(s) being projected onto.  In my
application I was able to write some code to get around this, but I was
wondering if there is some subtlety that does not allow this to be
implemented in general.  If there is no such problem, would it be possible
to allow this feature in the future?

Chris Roat



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET