ROOT::MATH::poisson_pdf

Hi,

I have a problem with poisson_pdf:

I use the library libMathCore, but I cannot compile my macro with ROOT::MATH::poisson_pdf inside.

.L macro.C+ gives an error.

Does anybody know what is wrong?

Thanks,
Stephan

Hi,

if you are using AClic, you need to include the header file

#include "Math/DistFunc.h"

and before doing .L macro.C+

you need to do:

root> gSystem->Load(“libMathCore”)

If you still have a problem, please let me know the ROOT version and send me the error you are getting.

Cheers

Lorenzo

Yeah,

that was exactly my problem.

Thanks for the fast help!!

Everything is faster now :smiley: