Histogram Statistics

Patrice Lebrun (lebrun@in2p3.fr)
Wed, 16 Jun 1999 09:38:37 +0000


--------------CBE43206581E36329DC71D89
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I have an TH1F histogram filled only in using
SetBinContent method. Making that, the statistics
array is not computed.
I try to use TH1::GetStats(Stat_t *stats) or GetRMS() via
TAxis::SetRange but
without sucess.
Is there a simple way to get mean and RMS values of a such histogram ?

--
Patrice Lebrun
Institut de Physique Nucleaire de Lyon
Phone: 04 72 44 84 43
Fax: 04 72 43 14 52

--------------CBE43206581E36329DC71D89 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> Hi,

  I have an TH1F histogram filled only in using
SetBinContent method. Making that, the statistics
array is not computed.
I try to use TH1::GetStats(Stat_t *stats) or GetRMS() via TAxis::SetRange but
without sucess.
Is there a simple way to get mean and RMS values of a such histogram ?

-- 
Patrice Lebrun
Institut de Physique Nucleaire de Lyon
Phone: 04 72 44 84 43
Fax: 04 72 43 14 52
  --------------CBE43206581E36329DC71D89--