|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.event.AIDAObservable
hep.aida.ref.histogram.Measurement
public class Measurement
Basic user-level interface class for holding a single "measurement" with positive and negative errors (to allow for asymmetric errors). "IMeasurement" = "value" + "errorPlus" - "errorMinus"
| Constructor Summary | |
|---|---|
Measurement()
|
|
Measurement(double val)
|
|
Measurement(double val,
double err)
|
|
Measurement(double val,
double errMinus,
double errPlus)
|
|
Measurement(IMeasurement m)
|
|
| 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. |
| Methods inherited from class hep.aida.ref.event.AIDAObservable |
|---|
addListener, isConnected, removeAllListeners, removeListener, setConnected, setValid, setValidForAll |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hep.aida.ref.event.IsObservable |
|---|
addListener, removeAllListeners, removeListener, setValid |
| Constructor Detail |
|---|
public Measurement()
public Measurement(IMeasurement m)
public Measurement(double val)
public Measurement(double val,
double err)
public Measurement(double val,
double errMinus,
double errPlus)
| Method Detail |
|---|
public double value()
IMeasurement
value in interface IMeasurementpublic double errorPlus()
IMeasurement
errorPlus in interface IMeasurementpublic double errorMinus()
IMeasurement
errorMinus in interface IMeasurement
public void setValue(double value)
throws IllegalArgumentException
IMeasurement
setValue in interface IMeasurementvalue - The new value of the IMeasurement.
IllegalArgumentException - If the value cannot be set.
public void setErrorPlus(double errorPlus)
throws IllegalArgumentException
IMeasurement
setErrorPlus in interface IMeasurementIllegalArgumentException - If the error cannot be set or it is negative.
public void setErrorMinus(double errorMinus)
throws IllegalArgumentException
IMeasurement
setErrorMinus in interface IMeasurementIllegalArgumentException - If the error cannot be set or it is negative.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||