|
FreeHEP API Version 3.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Basic user-level interface class for holding a single "measurement" with positive and negative errors (to allow for asymmetric errors). "IMeasurement" = "value" + "errorPlus" - "errorMinus"
| Method Summary | |
double |
errorMinus()
Get the minus error of the IMeasurement. |
double |
errorPlus()
Get the plus error of the IMeasurement. |
void |
setErrorMinus(double errorMinus)
Set the minus error of the IMeasurement. |
void |
setErrorPlus(double errorPlus)
Set the plus error of the IMeasurement. |
void |
setValue(double value)
Set the value of the IMeasurement. |
double |
value()
Get the value of the IMeasurement. |
| Method Detail |
public double value()
public double errorPlus()
public double errorMinus()
public void setValue(double value)
throws IllegalArgumentException
value - The new value of the IMeasurement.
IllegalArgumentException - If the value cannot be set.
public void setErrorPlus(double errorPlus)
throws IllegalArgumentException
IllegalArgumentException - If the error cannot be set or it is negative.
public void setErrorMinus(double errorMinus)
throws IllegalArgumentException
IllegalArgumentException - If the error cannot be set or it is negative.
|
FreeHEP API Version 3.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||