|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
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, scale, sumOfWeights |
Methods inherited from interface hep.aida.IBaseHistogram |
annotation, dimension, entries, reset, setTitle, title |
Method Detail |
public 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, if the weight's value is
is not between 0 and 1.public 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, if the weight's value is
is not between 0 and 1.public double lowerEdgeX()
public double lowerEdgeY()
public double lowerEdgeZ()
public double upperEdgeX()
public double upperEdgeY()
public double upperEdgeZ()
public double valueX(int index) throws AlreadyConvertedException
index
- The entry's index.
AlreadyConvertedException
- If the ICloud3D has already been converted.public double valueY(int index) throws AlreadyConvertedException
index
- The entry's index.
AlreadyConvertedException
- If the ICloud3D has already been converted.public double valueZ(int index) throws AlreadyConvertedException
index
- The entry's index.
AlreadyConvertedException
- If the ICloud3D has already been converted.public double weight(int index) throws AlreadyConvertedException
index
- The entry's index.
AlreadyConvertedException
- If the ICloud has already been converted.public double meanX()
public double meanY()
public double meanZ()
public double rmsX()
public double rmsY()
public double rmsZ()
public 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.public 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.public IHistogram3D histogram() throws RuntimeException
RuntimeException
- If the ICloud3D did not convert either automatically
or because of a convert() method invocation.public void fillHistogram(IHistogram3D hist) throws RuntimeException
hist
- The IHistogram3D to be filled.
RuntimeException
- If the ICloud3D is already converted.
|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |