Gaussian convoluted with a Landau

Hi ROOTers,

I want to define Gaussian convoluted with a landau function in a ROOT macro. I dont want to use ROOfit. How can I do that?

${ROOTSYS}/tutorials/fit/langaus.C
http://root.cern.ch/root/html/tutorials/fit/langaus.C.html
[url]Plot changes when canvas is saved

What about the “parameters guessing”?

HI,

You have to set yourself the initial parameters of the function, since it is quite complicated and it is difficult to have a general algorithm to do it. We can guess these initial parameters only in fits where you are using a single pre-defined function like “gaus” or “landau” or “expo”.

Best Regards

Lorenzo