|
|||||||||
| 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.ManagedObject
hep.aida.ref.histogram.AbstractBaseHistogram
hep.aida.ref.histogram.Cloud
hep.aida.ref.histogram.Cloud3D
public class Cloud3D
| Field Summary |
|---|
| Fields inherited from class hep.aida.ref.histogram.Cloud |
|---|
CLOUD_ARRAY_ENTRIES |
| Constructor Summary | |
|---|---|
Cloud3D()
Create a new Cloud3D |
|
| Method Summary | |
|---|---|
int |
conversionBinsX()
|
int |
conversionBinsY()
|
int |
conversionBinsZ()
|
double |
conversionLowerEdgeX()
|
double |
conversionLowerEdgeY()
|
double |
conversionLowerEdgeZ()
|
double |
conversionUpperEdgeX()
|
double |
conversionUpperEdgeY()
|
double |
conversionUpperEdgeZ()
|
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 the Cloud to a Histogram. |
void |
convertToHistogram()
Convert the ICloud to an IHistogram using the default number of bins. |
int |
entries()
Get the Cloud's entries. |
void |
fill(double xValue,
double yValue,
double zValue)
Fill the Cloud with new values with unit weight |
void |
fill(double xValue,
double yValue,
double zValue,
double weight)
Fill the Cloud with new values with given weight |
void |
fillHistogram(IHistogram3D hist3d)
Project the ICloud3D on an IHistogram3D. |
IHistogram3D |
histogram()
Get the Histogram representing the Cloud |
boolean |
isConverted()
Has the Cloud been converted to a Histogram? |
double |
lowerEdgeX()
Get the Cloud's x lower edge. |
double |
lowerEdgeXWithMargin()
|
double |
lowerEdgeY()
Get the Cloud's y lower edge. |
double |
lowerEdgeYWithMargin()
|
double |
lowerEdgeZ()
Get the Cloud's z lower edge. |
double |
lowerEdgeZWithMargin()
|
double |
meanX()
Get the Cloud's x mean. |
double |
meanY()
Get the Cloud's y mean. |
double |
meanZ()
Get the Cloud's z mean. |
void |
reset()
Reset the histogram; as if just created. |
double |
rmsX()
Get the Cloud's x rms. |
double |
rmsY()
Get the Cloud's y rms. |
double |
rmsZ()
Get the Cloud's z rms. |
void |
scale(double scaleFactor)
Scale the weights by a given factor. |
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. |
void |
setHistogram(IHistogram3D hist)
Set the Histogram representation of the Cloud. |
void |
setLowerEdgeX(double lowerEdgeX)
Set the Cloud's x lower edge |
void |
setLowerEdgeY(double lowerEdgeY)
Set the Cloud's y lower edge |
void |
setLowerEdgeZ(double lowerEdgeZ)
Set the Cloud's z lower edge |
void |
setUpperEdgeX(double upperEdgeX)
Set the Cloud's x upper edge |
void |
setUpperEdgeY(double upperEdgeY)
Set the Cloud's y upper edge |
void |
setUpperEdgeZ(double upperEdgeZ)
Set the Cloud's z upper edge |
double |
sumOfWeights()
Get the sum of weights of of all the entries |
double |
upperEdgeX()
Get the Cloud's x upper edge. |
double |
upperEdgeXWithMargin()
|
double |
upperEdgeY()
Get the Cloud's y upper edge. |
double |
upperEdgeYWithMargin()
|
double |
upperEdgeZ()
Get the Cloud's z upper edge. |
double |
upperEdgeZWithMargin()
|
double |
valueX(int index)
Get a given x value from the Cloud. |
double |
valueY(int index)
Get a given y value from the Cloud. |
double |
valueZ(int index)
Get a given z value from the Cloud. |
double |
weight(int index)
Get a given weight from the Cloud. |
| Methods inherited from class hep.aida.ref.histogram.Cloud |
|---|
getOptions, initCloud, maxEntries, nanEntries |
| Methods inherited from class hep.aida.ref.histogram.AbstractBaseHistogram |
|---|
annotation, dimension, mapBinNumber, setAnnotation, setTitle, title |
| Methods inherited from class hep.aida.ref.ManagedObject |
|---|
isFillable, name, setFillable, setName, type, typeForClass |
| 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.ICloud |
|---|
maxEntries |
| Methods inherited from interface hep.aida.IBaseHistogram |
|---|
annotation, dimension, nanEntries, setTitle, title |
| Methods inherited from interface hep.aida.ref.event.IsObservable |
|---|
addListener, removeAllListeners, removeListener, setValid |
| Methods inherited from interface hep.aida.ref.event.Connectable |
|---|
isConnected, setConnected |
| Constructor Detail |
|---|
public Cloud3D()
| Method Detail |
|---|
public void fill(double xValue,
double yValue,
double zValue)
fill in interface ICloud3DxValue - The x value to add to the Cloud.yValue - The y value to add to the Cloud.zValue - The z value to add to the Cloud.
public void fill(double xValue,
double yValue,
double zValue,
double weight)
fill in interface ICloud3DxValue - The x value to add to the Cloud.yValue - The y value to add to the Cloud.zValue - The z value to add to the Cloud.weight - The values weight.public double lowerEdgeX()
lowerEdgeX in interface ICloud3Dpublic double lowerEdgeY()
lowerEdgeY in interface ICloud3Dpublic double lowerEdgeZ()
lowerEdgeZ in interface ICloud3Dpublic double upperEdgeX()
upperEdgeX in interface ICloud3Dpublic double upperEdgeY()
upperEdgeY in interface ICloud3Dpublic double upperEdgeZ()
upperEdgeZ in interface ICloud3Dpublic void setLowerEdgeX(double lowerEdgeX)
lowerEdgeX - The Cloud's x lower edge.public void setLowerEdgeY(double lowerEdgeY)
lowerEdgeY - The Cloud's y lower edge.public void setLowerEdgeZ(double lowerEdgeZ)
lowerEdgeZ - The Cloud's z lower edge.public void setUpperEdgeX(double upperEdgeX)
upperEdgeX - The Cloud's x upper edge.public void setUpperEdgeY(double upperEdgeY)
upperEdgeY - The Cloud's y upper edge.public void setUpperEdgeZ(double upperEdgeZ)
upperEdgeZ - The Cloud's z upper edge.public double valueX(int index)
valueX in interface ICloud3Dindex - The x value's index.
RuntimeException - if the Cloud has been convertedpublic double valueY(int index)
valueY in interface ICloud3Dindex - The y value's index.
RuntimeException - if the Cloud has been convertedpublic double valueZ(int index)
valueZ in interface ICloud3Dindex - The z value's index.
RuntimeException - if the Cloud has been convertedpublic double weight(int index)
weight in interface ICloud3Dindex - The weight's index.
RuntimeException - if the Cloud has been convertedpublic double meanX()
meanX in interface ICloud3Dpublic double meanY()
meanY in interface ICloud3Dpublic double meanZ()
meanZ in interface ICloud3Dpublic double rmsX()
rmsX in interface ICloud3Dpublic double rmsY()
rmsY in interface ICloud3Dpublic double rmsZ()
rmsZ in interface ICloud3Dpublic int entries()
entries in interface IBaseHistogramentries in class AbstractBaseHistogram
public void convert(int nBinsX,
double lowerEdgeX,
double upperEdgeX,
int nBinsY,
double lowerEdgeY,
double upperEdgeY,
int nBinsZ,
double lowerEdgeZ,
double upperEdgeZ)
convert in interface ICloud3DnBinsX - The Histogram's x number of bins.lowerEdgeX - The Histogram's x lower edge.upperEdgeX - The Histogram's x upper edge.nBinsY - The Histogram's y number of bins.lowerEdgeY - The Histogram's y lower edge.upperEdgeY - The Histogram's y upper edge.nBinsZ - The Histogram's z number of bins.lowerEdgeZ - The Histogram's z lower edge.upperEdgeZ - The Histogram's z upper edge.
public void convert(double[] binEdgesX,
double[] binEdgesY,
double[] binEdgesZ)
ICloud3D
convert in interface ICloud3DbinEdgesX - The bins edges of the x axis.binEdgesY - The bins edges of the y axis.binEdgesZ - The bins edges of the z axis.public boolean isConverted()
isConverted in interface ICloudisConverted in class Cloudtrue<\code> if the Cloud has been converted to a Histogram.
public IHistogram3D histogram()
throws RuntimeException
histogram in interface ICloud3DRuntimeException - if the histogram is not auto-convertible and "convert"
has not been called.public void setHistogram(IHistogram3D hist)
hist - The Histogram representing the Cloud.public void fillHistogram(IHistogram3D hist3d)
ICloud3D
fillHistogram in interface ICloud3Dhist3d - The IHistogram3D to be filled.public void reset()
Cloud
reset in interface IBaseHistogramreset in class Cloudpublic void convertToHistogram()
Cloud
convertToHistogram in interface ICloudconvertToHistogram in class Cloud
public void scale(double scaleFactor)
throws IllegalArgumentException
Cloud
scale in interface ICloudscale in class CloudscaleFactor - The scale factor.
IllegalArgumentException - If a non-positive scale factor is provided.public double lowerEdgeXWithMargin()
public double upperEdgeXWithMargin()
public double lowerEdgeYWithMargin()
public double upperEdgeYWithMargin()
public double lowerEdgeZWithMargin()
public double upperEdgeZWithMargin()
public double sumOfWeights()
sumOfWeights in interface ICloudsumOfWeights in class Cloud
public void setConversionParameters(int binsX,
double lowerEdgeX,
double upperEdgeX,
int binsY,
double lowerEdgeY,
double upperEdgeY,
int binsZ,
double lowerEdgeZ,
double upperEdgeZ)
setConversionParameters in interface ICloud3DbinsX - 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.public int conversionBinsX()
public double conversionLowerEdgeX()
public double conversionUpperEdgeX()
public int conversionBinsY()
public double conversionLowerEdgeY()
public double conversionUpperEdgeY()
public int conversionBinsZ()
public double conversionLowerEdgeZ()
public double conversionUpperEdgeZ()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||