Projections of 2D histograms

Christopher Conner (cmc@uic.edu)
Tue, 20 May 1997 03:22:44 -0500


Is there a way to make "Slix" or "banx" or "proj" on 2D
histograms. I see that the Profile Class can handle this but I
see no constuctor that take a 2D histogram and a range in y and
fill the profile from the 2D histogram.

I found a way to extract bin values from a 1D histogram
but I don't see how to do it for a 2D histogram. How is this done?

It looks like 2D histograms inherit from 1D histograms but
then what is the bin number corresponding to binx=5 and biny=10?

Thanks for your help
Christopher