...
Code Block | ||
---|---|---|
| ||
// The AIDA Factories IAnalysisFactory af = IAnalysisFactory.create(); IFitFactory fitf = af.createFitFactory(); // Create the fitter IFitter fitter = fitf.createFitter("uml","jminuit"); |
Controlling
...
The Parameters
Function's parameters that enter the fit can be controlled via the IFitParameterSettings. These objects can be accessed at the fitter level by using the name of the parameter that they are meant to control. As they belong to the fitter, the fit parameter settings will apply to any fit in which there is a parameter that matches their name.
Throught the IFitParameterSettings it is possible to fix/release parameters, set their step size and their boundaries as shown in the following code:
...