Documentation of 'hep.aida.ref.histogram.Measurement' Java class
Measurement
hep.aida.ref.histogram

Class Measurement

  • All Implemented Interfaces:
    IMeasurement, IsObservable, java.io.Serializable


    public class Measurement
    extends AIDAObservable
    implements IMeasurement, IsObservable, java.io.Serializable
    Basic user-level interface class for holding a single "measurement" with positive and negative errors (to allow for asymmetric errors). "IMeasurement" = "value" + "errorPlus" - "errorMinus"
    See Also:
    Serialized Form
    • Constructor Detail

      • Measurement

        public Measurement()
      • Measurement

        public Measurement(double val)
      • Measurement

        public Measurement(double val,
                           double err)
      • Measurement

        public Measurement(double val,
                           double errMinus,
                           double errPlus)
    • Method Detail

      • value

        public double value()
        Description copied from interface: IMeasurement
        Get the value of the IMeasurement.
        Specified by:
        value in interface IMeasurement
        Returns:
        The value of the IMeasurement.
      • errorPlus

        public double errorPlus()
        Description copied from interface: IMeasurement
        Get the plus error of the IMeasurement.
        Specified by:
        errorPlus in interface IMeasurement
        Returns:
        The plus error.
      • errorMinus

        public double errorMinus()
        Description copied from interface: IMeasurement
        Get the minus error of the IMeasurement.
        Specified by:
        errorMinus in interface IMeasurement
        Returns:
        The minus error.
      • setValue

        public void setValue(double value)
                      throws java.lang.IllegalArgumentException
        Description copied from interface: IMeasurement
        Set the value of the IMeasurement.
        Specified by:
        setValue in interface IMeasurement
        Parameters:
        value - The new value of the IMeasurement.
        Throws:
        java.lang.IllegalArgumentException - If the value cannot be set.
      • setErrorPlus

        public void setErrorPlus(double errorPlus)
                          throws java.lang.IllegalArgumentException
        Description copied from interface: IMeasurement
        Set the plus error of the IMeasurement.
        Specified by:
        setErrorPlus in interface IMeasurement
        Throws:
        java.lang.IllegalArgumentException - If the error cannot be set or it is negative.
      • setErrorMinus

        public void setErrorMinus(double errorMinus)
                           throws java.lang.IllegalArgumentException
        Description copied from interface: IMeasurement
        Set the minus error of the IMeasurement.
        Specified by:
        setErrorMinus in interface IMeasurement
        Throws:
        java.lang.IllegalArgumentException - If the error cannot be set or it is negative.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.