Re: [ROOT] Feature request: TProfile::GetMean(2)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 21 2001 - 16:01:36 MET


Hi Yannick,
I have implemented the functions TProfile::GetStats and TProfile2D::GetStats
such that the functions GetMean and GetRMS will return correct values
for axis 1,2 and 3.
I have correctly initialized the stats parameters in case a request
for a non meaningfull axis is requested (functions return 0).
The fixes are now in CVS.

Rene Brun

Patois Yannick wrote:
> 
> Hi,
> 
> On TProfile, it seems that one cant get the mean over the Y axis.
> The GetMean() method return valid values only for 2D (and 3D?) histos.
> btw the returned values for 1D hists seems to be rather random.
> 
> Is this easy to modify this ? It could be useful.
> 
>         Yannick



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:37 MET