...
Both the fit method and the optimizer can be selected when creating the fitter through the IFitFactory. For a list of the available optimizers and fit methods please refer to the JAIDA release notes.
The following code creates a fitter that uses JMinuit, the Java implementation of Minuit, as an optimizer and is configured to performe Unbinned Maximum Likelihood fits:
Code Block | ||
---|---|---|
| ||
// The AIDA Factories
IAnalysisFactory af = IAnalysisFactory.create();
IFitFactory fitf = af.createFitFactory();
// Create the fitter
IFitter fitter = fitf.createFitter("uml","jminuit");
|