// example of a simple max likelihood estimation
// inspired in the examples from Cowan, chap.6 and in root
// tutorial Ifit.C
// - generate fake data according to a given function
// - get the parameters with the max likelihood method
// - plot histograms
// jtmn setp 2003
//
// comments from Ifit.C:
// More details on the various functions or parameters for these functions
// can be obtained in an interactive ROOT session with:
// Root > TMinuit *minuit = new TMinuit(10);
// Root > minuit->mnhelp("*") to see the list of possible keywords
// Root > minuit->mnhelp("SET") explains most parameters