RAIDA
1.9.0
|
User level interface to a 2D Cloud. More...
#include <ICloud2D.h>
Public Member Functions | |
virtual | ~ICloud2D () |
Destructor. | |
virtual bool | fill (double x, double y, double weight=1.)=0 |
Fill the ICloud2D with a couple of values and a corresponding weight. More... | |
virtual double | lowerEdgeX () const =0 |
Get the lower edge of the ICloud2D along the x axis. More... | |
virtual double | lowerEdgeY () const =0 |
Get the lower edge of the ICloud2D along the y axis. More... | |
virtual double | upperEdgeX () const =0 |
Get the upper edge of the ICloud2D along the x axis. More... | |
virtual double | upperEdgeY () const =0 |
Get the upper edge of the ICloud2D along the y axis. More... | |
virtual double | valueX (int index) const =0 |
Get the x value corresponding to a given entry. More... | |
virtual double | valueY (int index) const =0 |
Get the y value corresponding to a given entry. More... | |
virtual double | weight (int index) const =0 |
Get the weight corresponding to a given entry. More... | |
virtual double | meanX () const =0 |
Get the mean of the ICloud2D along the x axis. More... | |
virtual double | meanY () const =0 |
Get the mean of the ICloud2D along the y axis. More... | |
virtual double | rmsX () const =0 |
Get the RMS of the ICloud2D along the x axis. More... | |
virtual double | rmsY () const =0 |
Get the RMS of the ICloud2D along the y axis. More... | |
virtual bool | convert (int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY)=0 |
Convert internally the ICloud2D to an IHistogram2D with given number of bins, upper edge and lower edge. More... | |
virtual const IHistogram2D & | histogram () const =0 |
Convert internally the ICloud2D to an IHistogram2D with given bin edges. More... | |
virtual bool | fillHistogram (IHistogram2D &hist) const =0 |
Project the ICloud2D on an IHistogram2D. More... | |
Public Member Functions inherited from AIDA::ICloud | |
virtual | ~ICloud () |
Destructor. | |
virtual double | sumOfWeights () const =0 |
Get the sum of weights of all the entries. More... | |
virtual bool | convertToHistogram ()=0 |
Convert the ICloud to an IHistogram using the default number of bins. More... | |
virtual bool | isConverted () const =0 |
Check if the ICloud has been converted to an IHistogram. More... | |
virtual int | maxEntries () const =0 |
Get the number of entries after which the cloud will be converted to an IHistogram. More... | |
virtual bool | scale (double scaleFactor)=0 |
Scale the weights by a given factor. More... | |
Public Member Functions inherited from AIDA::IBaseHistogram | |
virtual | ~IBaseHistogram () |
Destructor. | |
virtual std::string | title () const =0 |
Get the Histogram's title. More... | |
virtual bool | setTitle (const std::string &title)=0 |
Set the histogram title. More... | |
virtual int | dimension () const =0 |
Get the IAnnotation associated with the Histogram. More... | |
virtual bool | reset ()=0 |
Reset the Histogram; as if just created. More... | |
virtual int | entries () const =0 |
Get the number of in-range entries in the Histogram. More... | |
User level interface to a 2D Cloud.
|
pure virtual |
Convert internally the ICloud2D to an IHistogram2D 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. |
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Fill the ICloud2D with a couple of values and a corresponding weight.
x | The x value. |
y | The y value. |
weight | The corresponding weight. By default it is 1. |
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Project the ICloud2D on an IHistogram2D.
hist | The IHistogram2D to be filled. |
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Convert internally the ICloud2D to an IHistogram2D with given bin edges.
binEdgesX | The bins edges of the x axis. |
binEdgesY | The bins edges of the y axis. |
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the lower edge of the ICloud2D along the x axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the lower edge of the ICloud2D along the y axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the mean of the ICloud2D along the x axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the mean of the ICloud2D along the y axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the RMS of the ICloud2D along the x axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the RMS of the ICloud2D along the y axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the upper edge of the ICloud2D along the x axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the upper edge of the ICloud2D along the y axis.
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the x value corresponding to a given entry.
index | The entry's index. |
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the y value corresponding to a given entry.
index | The entry's index. |
Implemented in AIDA::ICloud2DROOT.
|
pure virtual |
Get the weight corresponding to a given entry.
index | The entry's index. |
Implemented in AIDA::ICloud2DROOT.