hep.aida.ref.fitter
Class FitParameterSettings

java.lang.Object
  extended by hep.aida.ref.fitter.FitParameterSettings
All Implemented Interfaces:
IFitParameterSettings

public class FitParameterSettings
extends Object
implements IFitParameterSettings


Constructor Summary
FitParameterSettings(String name)
          Creates a new instance of FitParameterSettings.
 
Method Summary
 boolean isBound()
           
 boolean isFixed()
           
 double lowerBound()
           
 String name()
           
 void removeBounds()
           
 void reset()
           
 void setBounds(double lo, double up)
           
 void setFixed(boolean isFixed)
           
 void setLowerBound(double lowerBound)
          Set the lower bound.
 void setStepSize(double step)
           
 void setUpperBound(double upperBound)
          Set the upper bound.
 double stepSize()
           
 double upperBound()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitParameterSettings

public FitParameterSettings(String name)
Creates a new instance of FitParameterSettings.

Parameters:
name - The name of the FitParameterSettings. It corresponds to the name of the parameter to which the FitParameterSettings refers to.
Method Detail

name

public String name()
Specified by:
name in interface IFitParameterSettings

stepSize

public double stepSize()
Specified by:
stepSize in interface IFitParameterSettings

upperBound

public double upperBound()
Specified by:
upperBound in interface IFitParameterSettings

lowerBound

public double lowerBound()
Specified by:
lowerBound in interface IFitParameterSettings

isBound

public boolean isBound()
Specified by:
isBound in interface IFitParameterSettings

isFixed

public boolean isFixed()
Specified by:
isFixed in interface IFitParameterSettings

setStepSize

public void setStepSize(double step)
Specified by:
setStepSize in interface IFitParameterSettings

setBounds

public void setBounds(double lo,
                      double up)
Specified by:
setBounds in interface IFitParameterSettings

removeBounds

public void removeBounds()
Specified by:
removeBounds in interface IFitParameterSettings

setFixed

public void setFixed(boolean isFixed)
Specified by:
setFixed in interface IFitParameterSettings

setUpperBound

public void setUpperBound(double upperBound)
Description copied from interface: IFitParameterSettings
Set the upper bound. When this method is invoked any previous bound is reset. The new bounds are (-INF, upperBound).

Specified by:
setUpperBound in interface IFitParameterSettings
Parameters:
upperBound - The upper bound.

setLowerBound

public void setLowerBound(double lowerBound)
Description copied from interface: IFitParameterSettings
Set the lower bound. When this method is invoked any previous bound is reset. The new bounds are (lowerBound, +INF).

Specified by:
setLowerBound in interface IFitParameterSettings
Parameters:
lowerBound - The lower bound.

reset

public void reset()
Specified by:
reset in interface IFitParameterSettings


jHepWork 3.2 © jWork.org