[ROOT] covariance

From: Tommaso Chiarusi (Tommaso.Chiarusi@bo.infn.it)
Date: Tue Nov 25 2003 - 20:36:32 MET


Dear Rooters

a question concerning the TH2::GetCovariance() method.

The value retrieved of the covariance looks to be 
bin independent, but the GetCovariance() 
method gets the values of the various stats[7] elements (by means of 
the TH2::GetStats() )in a bin-dependent 
mode (in particular the x and the y value: they are the 
center-bin values).

It looks like that a TH2 remembers the exact x,y coordinates of the data 
sample it is filled with, even though the data  are shown 2D-binned.

The same occurs for the Correlation Factor.


what I'm missing?



Cheers, Tommaso


-- 
-----------------------

Dr. Tommaso Chiarusi 

Dipartimento di Fisica 
Universita' di Bologna
INFN. Sez. Bologna

Tel +39.051.209.5234 
Fax +39.051.209.5269

-----------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET