FreeHEP API
Version current

hep.aida.ref.pdf
Class Dependent

java.lang.Object
  extended byhep.aida.ref.pdf.Variable
      extended byhep.aida.ref.pdf.Dependent
All Implemented Interfaces:
HasName, HasUnits, HasValue, hep.aida.ref.pdf.RangeSetListener

public class Dependent
extends Variable
implements hep.aida.ref.pdf.RangeSetListener

A Dependent. Dependents take their values from a data set.

Author:
The FreeHEP team @ SLAC.
Source Code:
Dependent.java

Field Summary
 
Fields inherited from class hep.aida.ref.pdf.Variable
DEPENDENT, FUNCTION, PARAMETER
 
Constructor Summary
Dependent(String name, double lowerEdge, double upperEdge)
           
 
Method Summary
 void connectToData(Object dataObject)
           
 hep.aida.IFitData data()
           
 boolean isConnected()
           
 RangeSet range()
           
 void rangeSetChanged()
           
protected  void setVariableValue(double value)
           
 double value()
          Get the current value.
 
Methods inherited from class hep.aida.ref.pdf.Variable
addVariableListener, name, removeVariableListener, setName, setUnits, setValue, type, units
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dependent

public Dependent(String name,
                 double lowerEdge,
                 double upperEdge)
Method Detail

value

public double value()
Description copied from interface: HasValue
Get the current value.

Specified by:
value in interface HasValue
Specified by:
value in class Variable

setVariableValue

protected void setVariableValue(double value)
Specified by:
setVariableValue in class Variable

range

public RangeSet range()

rangeSetChanged

public void rangeSetChanged()
Specified by:
rangeSetChanged in interface hep.aida.ref.pdf.RangeSetListener

connectToData

public void connectToData(Object dataObject)

isConnected

public boolean isConnected()

data

public hep.aida.IFitData data()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.