|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addRange(double lower,
double upper)
Add a new range to the existing range set for the IVariable. |
void |
connect(hep.aida.IEvaluator ev)
|
void |
connect(hep.aida.ITuple data)
|
hep.aida.ITuple |
connection()
|
double |
error()
Get current error of the IVariable. |
boolean |
isConnected()
Check if the IVariable is connected. |
boolean |
isDependent()
Check if the IVariable represents variable or parameter. |
boolean |
isFixed()
Get how the IVariable can be used in fitting. |
boolean |
isInRange()
Check if current value of the IVariable is in the valid range set. |
boolean |
isInRange(double value)
Check if provided value is in the IVariable valid range set. |
String |
label()
Get label for this IVariable. |
String |
name()
Get name for this IVariable. |
void |
setDependent(boolean state)
Set IVariable to represent variable or parameter. |
void |
setFixed(boolean state)
Set how the IVariable can be used in fitting. |
void |
setRange(double lower,
double upper)
Set new range for the IVariable. |
void |
setStep(double step)
Set initial step for fitting. |
void |
setUnits(String units)
Set units. |
void |
setUseBounds(boolean state)
Set how fitter should treat bounds for the IVariable. |
boolean |
setValue(double value)
Set value for the IVariable. |
String |
units()
Get units. |
boolean |
useBounds()
Get how fitter should treat bounds for the IVariable. |
double |
value()
Get current value of the IVariable. |
Method Detail |
public String label()
public String name()
public boolean setValue(double value)
value
- Value of IVariable.
true
if the value was set succesfully, false
otherwise, for example if
the IVariable is bounded and value is out of range.public double value()
public double error()
public void setRange(double lower, double upper)
lower
- Lower edge of the valid range.upper
- Upper edge of the valid range.public void addRange(double lower, double upper)
lower
- Lower edge of the valid range.upper
- Upper edge of the valid range.public boolean isInRange()
true
if current value of the IVariable is in the valid range set.public boolean isInRange(double value)
value
- Value to be checked
true
if provided value is in the IVariable valid range set.public void setDependent(boolean state)
state
- true
for variable, false
for parameterpublic boolean isDependent()
true
if this is variable, false
if this is parameterpublic void setStep(double step)
step
- Initial step for fitting.public void setFixed(boolean state)
state
- true
for fixed parameter, false
for variable parameter.public boolean isFixed()
true
for fixed parameter, false
for variable parameter.public void setUseBounds(boolean state)
state
- true
use bounds, false
don't use bounds.public boolean useBounds()
true
use bounds, false
don't use bounds.public void connect(hep.aida.ITuple data)
public void connect(hep.aida.IEvaluator ev)
public boolean isConnected()
true
if IVariable is connected, false
if IVariable is not connected.public hep.aida.ITuple connection()
public void setUnits(String units)
units
- String that describes unitspublic String units()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |