groups

name language licence
Make thumbnails for simpleviewer Shell Other
Maximum likelihood, minuit example C++ Other
Merging trees C++ Other
Monospace Shell Other
Objective-C Starter Objective-C Other
Open a file with a specific application Shell Other
PHP Starter PHP Other
Match any character except a new line Shell Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 >



language: C++
licence: Other

Maximum likelihood, minuit example

options: view full snippetsend to code collector
//  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
	
(Continues...)