FreeHEP API
Version current

hep.aida.ref.pdf
Class Parameter

java.lang.Object
  extended byhep.aida.ref.pdf.Variable
      extended byhep.aida.ref.pdf.Parameter
All Implemented Interfaces:
HasName, HasUnits, HasValue

public class Parameter
extends Variable

A Parameter. Parameter's values are changed either by the user or by the Fitter during the fit procedure.

Author:
The FreeHEP team @ SLAC.
Source Code:
Parameter.java

Field Summary
 
Fields inherited from class hep.aida.ref.pdf.Variable
DEPENDENT, FUNCTION, PARAMETER
 
Constructor Summary
Parameter(String name)
           
Parameter(String name, double value)
           
Parameter(String name, double value, boolean isFixed)
           
Parameter(String name, double value, double stepSize)
           
Parameter(String name, double value, double stepSize, boolean isFixed)
           
Parameter(String name, double value, double lowerBound, double upperBound)
           
Parameter(String name, double value, double stepSize, double lowerBound, double upperBound)
           
Parameter(String name, double value, double stepSize, double lowerBound, double upperBound, boolean isFixed)
           
 
Method Summary
 boolean isFixed()
           
 double lowerBound()
           
 void setBounds(double lowerBound, double upperBound)
           
 void setFixed(boolean isFixed)
           
 void setLowerBound(double lowerBound)
           
 void setStepSize(double stepSize)
           
 void setUpperBound(double upperBound)
           
 void setUseBounds(boolean useBounds)
           
protected  void setVariableValue(double value)
           
 double stepSize()
           
 double upperBound()
           
 boolean useBounds()
           
 double value()
          Get the current value.
 
Methods inherited from class hep.aida.ref.pdf.Variable
addVariableListener, name, removeVariableListener, setName, setUnits, setValue, type, units
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(String name)

Parameter

public Parameter(String name,
                 double value)

Parameter

public Parameter(String name,
                 double value,
                 boolean isFixed)

Parameter

public Parameter(String name,
                 double value,
                 double lowerBound,
                 double upperBound)

Parameter

public Parameter(String name,
                 double value,
                 double stepSize)

Parameter

public Parameter(String name,
                 double value,
                 double stepSize,
                 boolean isFixed)

Parameter

public Parameter(String name,
                 double value,
                 double stepSize,
                 double lowerBound,
                 double upperBound)

Parameter

public Parameter(String name,
                 double value,
                 double stepSize,
                 double lowerBound,
                 double upperBound,
                 boolean isFixed)
Method Detail

value

public double value()
Description copied from interface: HasValue
Get the current value.

Specified by:
value in interface HasValue
Specified by:
value in class Variable

setVariableValue

protected void setVariableValue(double value)
Specified by:
setVariableValue in class Variable

setFixed

public void setFixed(boolean isFixed)

isFixed

public boolean isFixed()

setUseBounds

public void setUseBounds(boolean useBounds)

useBounds

public boolean useBounds()

stepSize

public double stepSize()

setStepSize

public void setStepSize(double stepSize)

upperBound

public double upperBound()

lowerBound

public double lowerBound()

setUpperBound

public void setUpperBound(double upperBound)

setLowerBound

public void setLowerBound(double lowerBound)

setBounds

public void setBounds(double lowerBound,
                      double upperBound)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.