Re: [ROOT] Chisq for 4D histos..

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Feb 13 2002 - 11:33:07 MET


Hi Mandeep,

TH4 classes do not exist in ROOT and we have no plans to add them.
Use a 4-dim array instead. I do not understand why you need a 4-d histogram
to compute chisq/dof for 2-d fits.

Rene Brun

Mandeep S. Gill wrote:
> 
> Dear Rootfolk:  i hope this is the right place to send this to, it's my
> first roottalk posting so:  has anyone implemented anything higher than a
> 3D histo in Root?
> 
> (The reason i ask is because i wanted to calculate a chisq/dof value for
> some 2D fits i'm doing (in RooFitCore, based on Root), and since chisq is
> only pre-implemented for 1D in RFC, i wrote the code for doing this myself
> based on the GetBinContents function for a TH2F object, but there are only
> histos predefined up to a TH3F on the Root class doc page so i'm wondering
> if i'll have to either use a different method for getting the chisq, or
> extend the functionality myself to higher dim'l TH objects..)
> 
> thanks much-
> -Mandeep G. (on Babar)



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET