Hi, i’m using TMath::Landau to fit a histogram of data i’ve collected.
I’ve seen on documentation that the second argument of this function is the most probable value, while the third is the width of the distribution.
However, if i use TF1::GetMaximumX with the function i’ve used, i see that the value of x where there’s maximum is not equal to the second parameter of the distribution.
the definition used in TMath::Landau for the mpv and sigma of the Landau is only approximate. It is like a normal-like parameterization of the distribution, which is somehow convenient when you are doing for example a fit.
In reality the maximum of the Landau (mpv) occurs not a zero but a value of x = -0.22278 and the sigma (variance) is not even defined.
We should update the documentation in TMath to avoid this confusion
For more detail you can consult the following paper:
K.S. Kölbig and B. Schorr, A program package for the Landau distribution, Computer Phys. Comm. 31 (1984) 97-111.