|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICloud3D
User level interface to a 3D Cloud.
| Method Summary | |
|---|---|
void |
convert(double[] binEdgesX,
double[] binEdgesY,
double[] binEdgesZ)
Convert internally the ICloud3D to an IHistogram3D with given bin edges. |
void |
convert(int nBinsX,
double lowerEdgeX,
double upperEdgeX,
int nBinsY,
double lowerEdgeY,
double upperEdgeY,
int nBinsZ,
double lowerEdgeZ,
double upperEdgeZ)
Convert internally the ICloud3D to an IHistogram3D with given number of bins, upper edge and lower edge. |
void |
fill(double x,
double y,
double z)
Fill the ICloud3D with a triplet of values and a corresponding weight. |
void |
fill(double x,
double y,
double z,
double weight)
Fill the ICloud3D with a triplet of values and a corresponding weight. |
void |
fillHistogram(IHistogram3D hist)
Project the ICloud3D on an IHistogram3D. |
IHistogram3D |
histogram()
Get the internal IHistogram3D in which the ICloud3D converted to. |
double |
lowerEdgeX()
Get the lower edge of the ICloud3D along the x axis. |
double |
lowerEdgeY()
Get the lower edge of the ICloud3D along the y axis. |
double |
lowerEdgeZ()
Get the lower edge of the ICloud3D along the z axis. |
double |
meanX()
Get the mean of the ICloud3D along the x axis. |
double |
meanY()
Get the mean of the ICloud3D along the y axis. |
double |
meanZ()
Get the mean of the ICloud3D along the z axis. |
double |
rmsX()
Get the RMS of the ICloud3D along the x axis. |
double |
rmsY()
Get the RMS of the ICloud3D along the y axis. |
double |
rmsZ()
Get the RMS of the ICloud3D along the z axis. |
void |
setConversionParameters(int binsX,
double lowerEdgeX,
double upperEdgeX,
int binsY,
double lowerEdgeY,
double upperEdgeY,
int binsZ,
double lowerEdgeZ,
double upperEdgeZ)
Set the parameters for the ICloud conversion to an IHistogram. |
double |
upperEdgeX()
Get the upper edge of the ICloud3D along the x axis. |
double |
upperEdgeY()
Get the upper edge of the ICloud3D along the y axis. |
double |
upperEdgeZ()
Get the upper edge of the ICloud3D along the z axis. |
double |
valueX(int index)
Get the x value corresponding to a given entry. |
double |
valueY(int index)
Get the y value corresponding to a given entry. |
double |
valueZ(int index)
Get the z value corresponding to a given entry. |
double |
weight(int index)
Get the weight corresponding to a given entry. |
| Methods inherited from interface hep.aida.ICloud |
|---|
convertToHistogram, isConverted, maxEntries, scale, sumOfWeights |
| Methods inherited from interface hep.aida.IBaseHistogram |
|---|
annotation, dimension, entries, nanEntries, reset, setTitle, title |
| Method Detail |
|---|
void fill(double x,
double y,
double z)
throws IllegalArgumentException
x - The x value.y - The y value.z - The z value.
IllegalArgumentException - If the ICloud3D is full or if the weight's value
is not between 0 and 1.
void fill(double x,
double y,
double z,
double weight)
throws IllegalArgumentException
x - The x value.y - The y value.z - The z value.weight - The corresponding weight. By default it is 1.
IllegalArgumentException - If the ICloud3D is full or if the weight's value
is not between 0 and 1.double lowerEdgeX()
double lowerEdgeY()
double lowerEdgeZ()
double upperEdgeX()
double upperEdgeY()
double upperEdgeZ()
double valueX(int index)
throws AlreadyConvertedException
index - The entry's index.
AlreadyConvertedException - If the ICloud3D has already been converted.
double valueY(int index)
throws AlreadyConvertedException
index - The entry's index.
AlreadyConvertedException - If the ICloud3D has already been converted.
double valueZ(int index)
throws AlreadyConvertedException
index - The entry's index.
AlreadyConvertedException - If the ICloud3D has already been converted.
double weight(int index)
throws AlreadyConvertedException
index - The entry's index.
AlreadyConvertedException - If the ICloud has already been converted.double meanX()
double meanY()
double meanZ()
double rmsX()
double rmsY()
double rmsZ()
void convert(int nBinsX,
double lowerEdgeX,
double upperEdgeX,
int nBinsY,
double lowerEdgeY,
double upperEdgeY,
int nBinsZ,
double lowerEdgeZ,
double upperEdgeZ)
throws AlreadyConvertedException
nBinsX - The number of bins of the x axis.lowerEdgeX - The lower edge of bins of the x axis.upperEdgeX - The upper edge of bins of the x axis.nBinsY - The number of bins of the y axis.lowerEdgeY - The lower edge of bins of the y axis.upperEdgeY - The upper edge of bins of the y axis.nBinsZ - The number of bins of the z axis.lowerEdgeZ - The lower edge of bins of the z axis.upperEdgeZ - The upper edge of bins of the z axis.
AlreadyConvertedException - If the ICloud3D has already been converted.
void convert(double[] binEdgesX,
double[] binEdgesY,
double[] binEdgesZ)
throws AlreadyConvertedException
binEdgesX - The bins edges of the x axis.binEdgesY - The bins edges of the y axis.binEdgesZ - The bins edges of the z axis.
AlreadyConvertedException - If the ICloud3D has already been converted.
IHistogram3D histogram()
throws RuntimeException
RuntimeException - If the ICloud3D did not convert either automatically
or because of a convert() method invocation.
void fillHistogram(IHistogram3D hist)
throws RuntimeException
hist - The IHistogram3D to be filled.
RuntimeException - If the ICloud3D is already converted.
void setConversionParameters(int binsX,
double lowerEdgeX,
double upperEdgeX,
int binsY,
double lowerEdgeY,
double upperEdgeY,
int binsZ,
double lowerEdgeZ,
double upperEdgeZ)
throws IllegalArgumentException
binsX - The X axis number of bins of the conversion IHistogram.lowerEdgeX - The X axis lower edge of the conversion IHistogram.upperEdgeX - The X axis upper edge of the conversion IHistogram.binsY - The Y axis number of bins of the conversion IHistogram.lowerEdgeY - The Y axis lower edge of the conversion IHistogram.upperEdgeY - The Y axis upper edge of the conversion IHistogram.binsZ - The Z axis number of bins of the conversion IHistogram.lowerEdgeZ - The Z axis lower edge of the conversion IHistogram.upperEdgeZ - The Z axis upper edge of the conversion IHistogram.
IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||