hep.aida.ref.histogram
Class Measurement
java.lang.Object
hep.aida.ref.event.AIDAObservable
hep.aida.ref.histogram.Measurement
- All Implemented Interfaces:
- hep.aida.IMeasurement, IsObservable
- public class Measurement
- extends AIDAObservable
- implements hep.aida.IMeasurement, IsObservable
Basic user-level interface class for holding a single "measurement"
with positive and negative errors (to allow for asymmetric errors).
"IMeasurement" = "value" + "errorPlus" - "errorMinus"
- Author:
- The AIDA team
- Source Code:
- Measurement.java
Methods inherited from class hep.aida.ref.event.AIDAObservable |
addListener, createEvent, fireStateChanged, fireStateChanged, fireStateChanged, isConnected, removeAllListeners, removeListener, setConnected, setIsValidAfterNotify, setValid, setValidForAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Measurement
public Measurement()
Measurement
public Measurement(hep.aida.IMeasurement m)
Measurement
public Measurement(double val)
Measurement
public Measurement(double val,
double err)
Measurement
public Measurement(double val,
double errMinus,
double errPlus)
value
public double value()
- Specified by:
value
in interface hep.aida.IMeasurement
errorPlus
public double errorPlus()
- Specified by:
errorPlus
in interface hep.aida.IMeasurement
errorMinus
public double errorMinus()
- Specified by:
errorMinus
in interface hep.aida.IMeasurement
setValue
public void setValue(double value)
throws IllegalArgumentException
- Specified by:
setValue
in interface hep.aida.IMeasurement
- Throws:
IllegalArgumentException
setErrorPlus
public void setErrorPlus(double errorPlus)
throws IllegalArgumentException
- Specified by:
setErrorPlus
in interface hep.aida.IMeasurement
- Throws:
IllegalArgumentException
setErrorMinus
public void setErrorMinus(double errorMinus)
throws IllegalArgumentException
- Specified by:
setErrorMinus
in interface hep.aida.IMeasurement
- Throws:
IllegalArgumentException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.