Truncated Landau distribution (Mean and Variance)

Dear ROOTers,
I am trying to use ROOT::Math libraries in my work. I have to calculate the mean and variance of a truncated landau distribution. I have the information of λ_max, mpv and width parameter ξ. I try to do this using the link: project-mathlibs.web.cern.ch/pro … cFunc.html

The problem is that, I do not know D(x). Can anyone please tell me if ROOT lets use calculate D(x). If I am not wrong, D is defined as:

D(x) = int [_(-infty) ^x] f(t) dt where f(t) is the Landau distribution. Any help will be appreciated.

-Regards,
Kolahal

Well, I guess I got it…one has to use double ROOT::Math::landau_cdf() defined here: project-mathlibs.web.cern.ch/pro … 593317bd7e