RAIDA
1.9.0
|
User level interface to a 3D Cloud. More...
#include <ICloud3DROOT.h>
Public Member Functions | |
virtual | ~ICloud3DROOT () |
Destructor. | |
ICloud3DROOT (const std::string &path, const std::string &title, int nMax, ITree *usedTree, const std::string &options="") | |
Constructor. | |
ICloud3DROOT (const std::string &path, ITree *usedTree, const ICloud3DROOT &cloud) | |
virtual bool | fill (double x, double y, double z, double weight=1.) |
Fill the ICloud3D with a triplet of values and a corresponding weight. More... | |
virtual double | lowerEdgeX () const |
Get the lower edge of the ICloud3D along the x axis. More... | |
virtual double | lowerEdgeY () const |
Get the lower edge of the ICloud3D along the y axis. More... | |
virtual double | lowerEdgeZ () const |
Get the lower edge of the ICloud3D along the z axis. More... | |
virtual double | upperEdgeX () const |
Get the upper edge of the ICloud3D along the x axis. More... | |
virtual double | upperEdgeY () const |
Get the upper edge of the ICloud3D along the y axis. More... | |
virtual double | upperEdgeZ () const |
Get the upper edge of the ICloud3D along the z axis. More... | |
virtual double | valueX (int index) const |
Get the x value corresponding to a given entry. More... | |
virtual double | valueY (int index) const |
Get the y value corresponding to a given entry. More... | |
virtual double | valueZ (int index) const |
Get the z value corresponding to a given entry. More... | |
virtual double | weight (int index) const |
Get the weight corresponding to a given entry. More... | |
virtual double | meanX () const |
Get the mean of the ICloud3D along the x axis. More... | |
virtual double | meanY () const |
Get the mean of the ICloud3D along the y axis. More... | |
virtual double | meanZ () const |
Get the mean of the ICloud3D along the z axis. More... | |
virtual double | rmsX () const |
Get the RMS of the ICloud3D along the x axis. More... | |
virtual double | rmsY () const |
Get the RMS of the ICloud3D along the y axis. More... | |
virtual double | rmsZ () const |
Get the RMS of the ICloud3D along the z axis. More... | |
virtual bool | 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. More... | |
virtual bool | myConvert (int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, int nBinsZ, double lowerEdgeZ, double upperEdgeZ) const |
virtual const IHistogram3D & | histogram () const |
Convert internally the ICloud3D to an IHistogram3D with given bin edges. More... | |
virtual bool | fillHistogram (IHistogram3D &hist) const |
Project the ICloud3D on an IHistogram3D. More... | |
virtual double | sumOfWeights () const |
Get the sum of weights of all the entries. More... | |
virtual bool | convertToHistogram () |
Convert the ICloud to an IHistogram using the default number of bins. More... | |
virtual bool | myConvertToHistogram () const |
virtual bool | isConverted () const |
Check if the ICloud has been converted to an IHistogram. More... | |
virtual int | maxEntries () const |
Get the number of entries after which the cloud will be converted to an IHistogram. More... | |
virtual bool | scale (double scaleFactor) |
Scale the weights by a given factor. More... | |
virtual std::string | title () const |
Get the Histogram's title. More... | |
virtual bool | setTitle (const std::string &title) |
Set the histogram title. More... | |
virtual int | dimension () const |
Get the IAnnotation associated with the Histogram. More... | |
virtual bool | reset () |
Reset the Histogram; as if just created. More... | |
virtual int | entries () const |
Get the number of in-range entries in the Histogram. More... | |
Public Member Functions inherited from AIDA::ICloud3D | |
virtual | ~ICloud3D () |
Destructor. | |
Public Member Functions inherited from AIDA::ICloud | |
virtual | ~ICloud () |
Destructor. | |
Public Member Functions inherited from AIDA::IBaseHistogram | |
virtual | ~IBaseHistogram () |
Destructor. | |
User level interface to a 3D Cloud.
|
virtual |
Convert internally the ICloud3D to an IHistogram3D with given number of bins, upper edge and lower edge.
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. |
Implements AIDA::ICloud3D.
Referenced by fill().
|
virtual |
Convert the ICloud to an IHistogram using the default number of bins.
Implements AIDA::ICloud.
|
virtual |
Get the IAnnotation associated with the Histogram.
Implements AIDA::IBaseHistogram.
|
virtual |
Get the number of in-range entries in the Histogram.
Implements AIDA::IBaseHistogram.
References AIDA::IBaseHistogram::entries().
|
virtual |
Fill the ICloud3D with a triplet of values and a corresponding weight.
x | The x value. |
y | The y value. |
z | The z value. |
weight | The corresponding weight. By default it is 1. |
Implements AIDA::ICloud3D.
References convert(), AIDA::IHistogram3D::fill(), and weight().
|
virtual |
Project the ICloud3D on an IHistogram3D.
hist | The IHistogram3D to be filled. |
Implements AIDA::ICloud3D.
References AIDA::IHistogram3D::fill(), and weight().
|
virtual |
Convert internally the ICloud3D to an IHistogram3D with given bin edges.
binEdgesX | The bins edges of the x axis. |
binEdgesY | The bins edges of the y axis. |
binEdgesZ | The bins edges of the z axis. |
Implements AIDA::ICloud3D.
|
virtual |
Check if the ICloud has been converted to an IHistogram.
true
if it has been converted. Implements AIDA::ICloud.
|
virtual |
Get the lower edge of the ICloud3D along the x axis.
Implements AIDA::ICloud3D.
|
virtual |
Get the lower edge of the ICloud3D along the y axis.
Implements AIDA::ICloud3D.
|
virtual |
Get the lower edge of the ICloud3D along the z axis.
Implements AIDA::ICloud3D.
|
virtual |
Get the number of entries after which the cloud will be converted to an IHistogram.
Implements AIDA::ICloud.
|
virtual |
Get the mean of the ICloud3D along the x axis.
Implements AIDA::ICloud3D.
References AIDA::IHistogram3D::meanX(), and weight().
Referenced by rmsX().
|
virtual |
Get the mean of the ICloud3D along the y axis.
Implements AIDA::ICloud3D.
References AIDA::IHistogram3D::meanY(), and weight().
Referenced by rmsY().
|
virtual |
Get the mean of the ICloud3D along the z axis.
Implements AIDA::ICloud3D.
References AIDA::IHistogram3D::meanZ(), and weight().
Referenced by rmsZ().
|
virtual |
Reset the Histogram; as if just created.
Implements AIDA::IBaseHistogram.
|
virtual |
Get the RMS of the ICloud3D along the x axis.
Implements AIDA::ICloud3D.
References meanX(), AIDA::IHistogram3D::rmsX(), and weight().
|
virtual |
Get the RMS of the ICloud3D along the y axis.
Implements AIDA::ICloud3D.
References meanY(), AIDA::IHistogram3D::rmsY(), and weight().
|
virtual |
Get the RMS of the ICloud3D along the z axis.
Implements AIDA::ICloud3D.
References meanZ(), AIDA::IHistogram3D::rmsZ(), and weight().
|
virtual |
Scale the weights by a given factor.
scaleFactor | The scale factor. |
Implements AIDA::ICloud.
References AIDA::ITree::cd(), AIDA::ITree::pwd(), AIDA::IHistogram::scale(), title(), and weight().
|
virtual |
Set the histogram title.
title | The title. |
Implements AIDA::IBaseHistogram.
References AIDA::IBaseHistogram::setTitle().
|
virtual |
Get the sum of weights of all the entries.
Implements AIDA::ICloud.
References AIDA::IHistogram::sumAllBinHeights(), and weight().
|
virtual |
Get the Histogram's title.
Implements AIDA::IBaseHistogram.
References AIDA::IBaseHistogram::title().
Referenced by scale().
|
virtual |
Get the upper edge of the ICloud3D along the x axis.
Implements AIDA::ICloud3D.
|
virtual |
Get the upper edge of the ICloud3D along the y axis.
Implements AIDA::ICloud3D.
|
virtual |
Get the upper edge of the ICloud3D along the z axis.
Implements AIDA::ICloud3D.
|
virtual |
Get the x value corresponding to a given entry.
index | The entry's index. |
Implements AIDA::ICloud3D.
References weight().
|
virtual |
Get the y value corresponding to a given entry.
index | The entry's index. |
Implements AIDA::ICloud3D.
References weight().
|
virtual |
Get the z value corresponding to a given entry.
index | The entry's index. |
Implements AIDA::ICloud3D.
References weight().
|
virtual |
Get the weight corresponding to a given entry.
index | The entry's index. |
Implements AIDA::ICloud3D.
Referenced by fill(), fillHistogram(), meanX(), meanY(), meanZ(), rmsX(), rmsY(), rmsZ(), scale(), sumOfWeights(), valueX(), valueY(), and valueZ().