hep.aida.ref.fitter
Class FitFactory
- java.lang.Object
-
- hep.aida.ref.fitter.FitFactory
-
- All Implemented Interfaces:
- IFitFactory
public class FitFactory extends java.lang.Object implements IFitFactory
-
-
Constructor Summary
Constructors Constructor and Description FitFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String[]availableFitEngines()Get the list the fit engines provided by the used implementation (e.g.java.lang.String[]availableFitMethods()Get the list the fit methods provided by the used implementation (e.g.IFitDatacreateFitData()IFittercreateFitter()Create a new IFitter.IFittercreateFitter(java.lang.String fitterType)Create a new IFitter.IFittercreateFitter(java.lang.String fitterType, java.lang.String engineType)Create a new IFitter.IFittercreateFitter(java.lang.String fitterType, java.lang.String engineType, java.lang.String options)Create a new IFitter.
-
-
-
Method Detail
-
createFitData
public IFitData createFitData()
- Specified by:
createFitDatain interfaceIFitFactory
-
createFitter
public IFitter createFitter() throws java.lang.IllegalArgumentException
Description copied from interface:IFitFactoryCreate a new IFitter. - "CHI2" or "Chi2" or "ChiSquared" for chi squared fitter (this is the default), - "ML" or "MaxLikelihood" for maximum likelihood fitter, - "LS" or "LeastSquares" for Last Squares fitter. specific implementation in use. The default is "" (the implementation specific default).- Specified by:
createFitterin interfaceIFitFactory- Returns:
- The IFitter.
- Throws:
java.lang.IllegalArgumentException
-
createFitter
public IFitter createFitter(java.lang.String fitterType) throws java.lang.IllegalArgumentException
Description copied from interface:IFitFactoryCreate a new IFitter.- Specified by:
createFitterin interfaceIFitFactory- Parameters:
fitterType- The type of fitter. The supported types are: - "CHI2" or "Chi2" or "ChiSquared" for chi squared fitter (this is the default), - "ML" or "MaxLikelihood" for maximum likelihood fitter, - "LS" or "LeastSquares" for Last Squares fitter. specific implementation in use. The default is "" (the implementation specific default).- Returns:
- The IFitter.
- Throws:
java.lang.IllegalArgumentException
-
createFitter
public IFitter createFitter(java.lang.String fitterType, java.lang.String engineType) throws java.lang.IllegalArgumentException
Description copied from interface:IFitFactoryCreate a new IFitter.- Specified by:
createFitterin interfaceIFitFactory- Parameters:
fitterType- The type of fitter. The supported types are: - "CHI2" or "Chi2" or "ChiSquared" for chi squared fitter (this is the default), - "ML" or "MaxLikelihood" for maximum likelihood fitter, - "LS" or "LeastSquares" for Last Squares fitter.engineType- The type of optimization engine used by the fitter. The available types depend on the specific implementation in use. The default is "" (the implementation specific default).- Returns:
- The IFitter.
- Throws:
java.lang.IllegalArgumentException
-
createFitter
public IFitter createFitter(java.lang.String fitterType, java.lang.String engineType, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IFitFactoryCreate a new IFitter.- Specified by:
createFitterin interfaceIFitFactory- Parameters:
fitterType- The type of fitter. The supported types are: - "CHI2" or "Chi2" or "ChiSquared" for chi squared fitter (this is the default), - "ML" or "MaxLikelihood" for maximum likelihood fitter, - "LS" or "LeastSquares" for Last Squares fitter.engineType- The type of optimization engine used by the fitter. The available types depend on the specific implementation in use. The default is "" (the implementation specific default).options- A string of options. The default is "".- Returns:
- The IFitter.
- Throws:
java.lang.IllegalArgumentException
-
availableFitMethods
public java.lang.String[] availableFitMethods()
Get the list the fit methods provided by the used implementation (e.g. "chi2", "unbinnedMaximumLikelihood" etc).- Specified by:
availableFitMethodsin interfaceIFitFactory- Returns:
- An array containing the list of the available fit methods.
-
availableFitEngines
public java.lang.String[] availableFitEngines()
Get the list the fit engines provided by the used implementation (e.g. "minuit", etc).- Specified by:
availableFitEnginesin interfaceIFitFactory- Returns:
- An array containing the list of the available fit engines.
-
-
DMelt 3.0 © DataMelt by jWork.ORG