hep.aida.ref.remote
Class RemoteDataPointSet
java.lang.Object
hep.aida.ref.event.AIDAObservable
hep.aida.ref.ManagedObject
hep.aida.ref.remote.RemoteManagedObject
hep.aida.ref.remote.RemoteDataPointSet
- All Implemented Interfaces:
- Connectable, hep.aida.IDataPointSet, hep.aida.dev.IDevManagedObject, hep.aida.IManagedObject, IsObservable
- public class RemoteDataPointSet
- extends RemoteManagedObject
- implements hep.aida.IDataPointSet
This is implementation of IDataPointSet that can not be modified
by user. This is a simple implementation that does not guarantee
internal consistency. So extra care should be taken when setting
data for this class.
For more information look into RemoteHistogram1D comments.
- Author:
- serbo
- Source Code:
- RemoteDataPointSet.java
Methods inherited from class hep.aida.ref.remote.RemoteManagedObject |
getStore, getTreePath, isDataValid, makeSureDataIsValid, setConnected, setDataValid, setStore, setTreeFolder, setValid, setValidForAll, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotation
protected Annotation annotation
dimension
protected int dimension
upperExtent
protected double[] upperExtent
lowerExtent
protected double[] lowerExtent
values
protected double[] values
plusErrors
protected double[] plusErrors
minusErrors
protected double[] minusErrors
weights
protected double[] weights
RemoteDataPointSet
public RemoteDataPointSet(String name)
- Creates a new instance of RemoteDataPointSet
RemoteDataPointSet
public RemoteDataPointSet(IDevMutableStore store,
String name)
RemoteDataPointSet
public RemoteDataPointSet(IDevMutableStore store,
String name,
String title,
int dimOfPoint)
createEvent
protected EventObject createEvent()
- Overrides:
createEvent
in class AIDAObservable
init
protected void init(int dimOfPoint)
setValues
public void setValues(double[] values)
setPlusErrors
public void setPlusErrors(double[] plusErrors)
setWeights
public void setWeights(double[] w)
setMinusErrors
public void setMinusErrors(double[] minusErrors)
setUpperExtent
public void setUpperExtent(double[] upperExtent)
setLowerExtent
public void setLowerExtent(double[] lowerExtent)
setDimension
public void setDimension(int dimension)
print
public void print()
annotation
public hep.aida.IAnnotation annotation()
- Specified by:
annotation
in interface hep.aida.IDataPointSet
dimension
public int dimension()
- Specified by:
dimension
in interface hep.aida.IDataPointSet
size
public int size()
- Specified by:
size
in interface hep.aida.IDataPointSet
setTitle
public void setTitle(String title)
throws IllegalArgumentException
- Specified by:
setTitle
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
title
public String title()
- Specified by:
title
in interface hep.aida.IDataPointSet
upperExtent
public double upperExtent(int coordinate)
throws IllegalArgumentException
- Specified by:
upperExtent
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
lowerExtent
public double lowerExtent(int coordinate)
throws IllegalArgumentException
- Specified by:
lowerExtent
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
point
public hep.aida.IDataPoint point(int index)
- Specified by:
point
in interface hep.aida.IDataPointSet
removePoint
public void removePoint(int index)
throws IllegalArgumentException
- Specified by:
removePoint
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
clear
public void clear()
- Specified by:
clear
in interface hep.aida.IDataPointSet
addPoint
public hep.aida.IDataPoint addPoint()
throws RuntimeException
- Specified by:
addPoint
in interface hep.aida.IDataPointSet
- Throws:
RuntimeException
addPoint
public void addPoint(hep.aida.IDataPoint iDataPoint)
throws IllegalArgumentException
- Specified by:
addPoint
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
scale
public void scale(double param)
throws IllegalArgumentException
- Specified by:
scale
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
scaleErrors
public void scaleErrors(double param)
throws IllegalArgumentException
- Specified by:
scaleErrors
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
scaleValues
public void scaleValues(double param)
throws IllegalArgumentException
- Specified by:
scaleValues
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
setCoordinate
public void setCoordinate(int param,
double[] values,
double[] values2)
throws IllegalArgumentException
- Specified by:
setCoordinate
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
setCoordinate
public void setCoordinate(int param,
double[] values,
double[] values2,
double[] values3)
throws IllegalArgumentException
- Specified by:
setCoordinate
in interface hep.aida.IDataPointSet
- Throws:
IllegalArgumentException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.