Re: TH1D::GetMean()

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Wed Sep 15 1999 - 17:05:10 MEST


 > martin wrote:
 > > now my question :
 > > is it possible, that GetMean() returns the mean value MINUS ONE ?
 > > 

Rene Brun writes:
 > Hi Martin,
 > I do not understand your question. Why -1 and not +5 ?
 > What is wrong in doing h.GetMean()-1 ?

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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET