"Christopher B. Lirakis" <clirakis@bbn.com> writes: > Hello all, > Is there an easy way to normalize a histogram? I have tried to do this by > getting the array contents, dividing by a value, but have not yet found the > correct method to return the scaled values to the bins. > Chris, you can use TH1::Integral and TH1::Scale. Setting the histogram bin by bin can be done by SetBinContent, SetBinError. see http://root.cern.ch/root/html/TH1.html for details. Jiri
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET