|
|||||||||
| 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.DataPoint
public class DataPoint
Basic user-level interface class for holding and managing a single set of "measurements".
| Constructor Summary | |
|---|---|
DataPoint(double[] val)
|
|
DataPoint(double[] val,
double[] err)
|
|
DataPoint(double[] val,
double[] errMinus,
double[] errPlus)
|
|
DataPoint(IDataPoint p)
|
|
DataPoint(IMeasurement[] meas)
|
|
DataPoint(int dim)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
IMeasurement |
coordinate(int coord)
Get the IMeasurement for a given coordinate. |
int |
dimension()
Get the dimension of the IDataPoint, i.e. |
double |
lowerExtent(int coord)
Get the lower value for a give axis. |
void |
stateChanged(EventObject e)
|
double |
upperExtent(int coord)
Get the upper value for a give axis. |
| 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 DataPoint(int dim)
public DataPoint(IDataPoint p)
public DataPoint(IMeasurement[] meas)
public DataPoint(double[] val)
public DataPoint(double[] val,
double[] err)
public DataPoint(double[] val,
double[] errMinus,
double[] errPlus)
| Method Detail |
|---|
public int dimension()
IDataPoint
dimension in interface IDataPointpublic IMeasurement coordinate(int coord)
IDataPoint
coordinate in interface IDataPointcoord - The coordinate.
public double lowerExtent(int coord)
throws IllegalArgumentException
coord - The coordinate of the axis.
IllegalArgumentException - if coord < 0 or coord >= dimension() or if the set is empty.
public double upperExtent(int coord)
throws IllegalArgumentException
coord - The coordinate of the axis.
IllegalArgumentException - if coord < 0 or coord >= dimension() or if the set is empty.public void stateChanged(EventObject e)
stateChanged in interface AIDAListenerpublic void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||