Dear experts,
I believe there is no ROOT function returning the chi2 density for a given number of degrees of freedom?
Such a function would perfectly fit in TMath.
TMath::Prob(x,n) only returns the probability that the chi2 of a given test is larger that the given value, I think (the name could be improved, by the way).
Cheers
Maarten