Pasha Murat wrote: > > > TH1::GetMean() returns the mean calculated over the > binned contents of the histogram, so under certain circumstances > (like a histogram with bin 3 filled with even integers) the returned mean > can be different from the real one. > best, pasha Hi Pasha, NOT TRUE !! TH1::Getmean returns the mean calculated at fill time. This must be very precise. Only in case you call GetMean on a sub-range of a histogram, the binned contents are used (no choice in this case!). In this case, the mean is computed assuming the center of each bin. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET