Re: histogram subtraction and mean

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Tue, 1 Mar 2011 21:26:32 +0100


Hi,
On Mar 1, 2011, at 6:25 PM, Holger Meyer wrote:

> If you only have the binned moments, you can't go the other way. The
> only possible change might be to add a function to the histogram classes
> that does the work for you. Something like
> TH1::SetMomentsFromBinCenters().

we have such a function already, TH1::ResetStats(). By calling it, all the statistics is computed from the bin centers,

Lorenzo Received on Tue Mar 01 2011 - 21:27:10 CET

This archive was generated by hypermail 2.2.0 : Tue Mar 01 2011 - 23:50:01 CET