[ROOT] TProfile->Scale()

From: Art Poskanzer (AMPoskanzer@lbl.gov)
Date: Mon Apr 10 2000 - 23:07:53 MEST


When ROOT scales a profile histogram it keeps the contents fixed
and reduces the error by the square root of the scale factor.
This is because it scales the sum of the weights, the sum of the
weights squared, and also the number of entries. Is this behavior
correct?

I want to scale the histogram, that is, the contents and the
errors, like one would scale a 1D histogram. Do I have to convert
it to a 1D and then scale it?

Is the only way to convert it to loop over the bins getting each
content and error and putting them into the 1D?

I am using root 2.23/12 in root4star.

Art Poskanzer and Glenn Cooper





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