RAIDA
1.9.0
|
#include <IHistogram3DROOT.h>
Public Member Functions | |
virtual | ~IHistogram3DROOT () |
Destructor. | |
IHistogram3DROOT () | |
Constructor. | |
IHistogram3DROOT (const std::string &name, const std::string &title, int nBinsX, double lowerEdgeX, double upperEdgeX, int nBinsY, double lowerEdgeY, double upperEdgeY, int nBinsZ, double lowerEdgeZ, double upperEdgeZ, const std::string &options="") | |
IHistogram3DROOT (const std::string &name, const std::string &title, const std::vector< double > &binEdgesX, const std::vector< double > &binEdgesY, const std::vector< double > &binEdgesZ, const std::string &options="") | |
IHistogram3DROOT (const std::string &name, const IHistogram3DROOT &hist) | |
virtual bool | fill (double x, double y, double z, double weight=1.) |
Fill the IHistogram3D with a triplet of values and the corresponding weight. More... | |
virtual double | binMeanX (int indexX, int indexY, int indexZ) const |
The weighted mean along the x axis of a given bin. More... | |
virtual double | binMeanY (int indexX, int indexY, int indexZ) const |
The weighted mean the y axis of a given bin. More... | |
virtual double | binMeanZ (int indexX, int indexY, int indexZ) const |
The weighted mean the z axis of a given bin. More... | |
virtual int | binEntries (int indexX, int indexY, int indexZ) const |
Number of entries in the corresponding bin (ie the number of times fill was called for this bin). More... | |
virtual int | binEntriesX (int index) const |
Sum of all the entries of the bins along a given x bin. More... | |
virtual int | binEntriesY (int index) const |
Sum of all the entries of the bins along a given y bin. More... | |
virtual int | binEntriesZ (int index) const |
Sum of all the entries of the bins along a given z bin. More... | |
virtual double | binHeight (int indexX, int indexY, int indexZ) const |
Total height of a give bin (ie the sum of the weights in this bin). More... | |
virtual double | binHeightX (int index) const |
Sum of all the heights of the bins along a given x bin. More... | |
virtual double | binHeightY (int index) const |
Sum of all the heights of the bins along a given y bin. More... | |
virtual double | binHeightZ (int index) const |
Sum of all the heights of the bins along a given z bin. More... | |
virtual double | binError (int indexX, int indexY, int indexZ) const |
The error of a given bin. More... | |
virtual double | meanX () const |
The mean of the IHistogram3D along the x axis. More... | |
virtual double | meanY () const |
The mean of the IHistogram3D along the y axis. More... | |
virtual double | meanZ () const |
The mean of the IHistogram3D along the z axis. More... | |
virtual double | rmsX () const |
The RMS of the IHistogram3D along the x axis. More... | |
virtual double | rmsY () const |
The RMS of the IHistogram3D along the y axis. More... | |
virtual double | rmsZ () const |
The RMS of the IHistogram3D along the z axis. More... | |
virtual const IAxis & | xAxis () const |
Get the x axis of the IHistogram3D. More... | |
virtual const IAxis & | yAxis () const |
Get the y axis of the IHistogram3D. More... | |
virtual const IAxis & | zAxis () const |
Get the z axis of the IHistogram3D. More... | |
virtual int | coordToIndexX (double coord) const |
Get the bin number corresponding to a given coordinate along the x axis. More... | |
virtual int | coordToIndexY (double coord) const |
Get the bin number corresponding to a given coordinate along the y axis. More... | |
virtual int | coordToIndexZ (double coord) const |
Get the bin number corresponding to a given coordinate along the z axis. More... | |
virtual bool | add (const IHistogram3D &hist) |
Add to this IHistogram3D the contents of another IHistogram3D. More... | |
virtual bool | subtract (const IHistogram3D &hist) |
virtual bool | multiply (const IHistogram3D &hist) |
virtual bool | divide (const IHistogram3D &hist) |
virtual std::string | title () const |
Get the Histogram's title. More... | |
virtual bool | setTitle (const std::string &title) |
Set the histogram title. More... | |
virtual bool | setName (const std::string &name) |
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... | |
virtual int | allEntries () const |
See IManagedObject for a description. More... | |
virtual int | extraEntries () const |
Number of entries in the UNDERFLOW and OVERFLOW bins. More... | |
virtual double | sumBinHeights () const |
Number of equivalent entries, i.e. More... | |
virtual double | sumAllBinHeights () const |
Sum of the heights of all the IHistogram's bins, i.e in-range bins, UNDERFLOW and OVERFLOW. More... | |
virtual double | sumExtraBinHeights () const |
Sum of heights in the UNDERFLOW and OVERFLOW bins. More... | |
virtual double | minBinHeight () const |
Minimum height of the in-range bins, i.e. More... | |
virtual double | maxBinHeight () const |
Maximum height of the in-range bins, i.e. More... | |
virtual bool | scale (double scaleFactor) |
Scale the weights and the errors of all the IHistogram's bins (in-range and out-of-range ones) by a given scale factor. More... | |
virtual void | printContents () const |
Print out the contents of a histogram to the screen. More... | |
Public Member Functions inherited from AIDA::IHistogram3D | |
virtual | ~IHistogram3D () |
Destructor. | |
Public Member Functions inherited from AIDA::IHistogram | |
virtual | ~IHistogram () |
Destructor. | |
Public Member Functions inherited from AIDA::IBaseHistogram | |
virtual | ~IBaseHistogram () |
Destructor. | |
Friends | |
class | IHistogramFactoryROOT |
class | IHistogram2DROOT |
class IAxis;
User level interface to 3D Histogram.
|
virtual |
Add to this IHistogram3D the contents of another IHistogram3D.
hist | The IHistogram3D to be added to this IHistogram3D. |
Implements AIDA::IHistogram3D.
References AIDA::IAxis::bins(), AIDA::IHistogram3D::xAxis(), xAxis(), AIDA::IHistogram3D::yAxis(), yAxis(), AIDA::IHistogram3D::zAxis(), and zAxis().
|
virtual |
See IManagedObject for a description.
className | The name of the class to cast on. |
Implements AIDA::IHistogram.
Referenced by printContents().
|
virtual |
Number of entries in the corresponding bin (ie the number of times fill was called for this bin).
indexX | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexY | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexZ | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis(), yAxis(), and zAxis().
Referenced by printContents().
|
virtual |
Sum of all the entries of the bins along a given x bin.
This is equivalent to projectionXY().binEntriesX(index)
.
index | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis().
Referenced by printContents().
|
virtual |
Sum of all the entries of the bins along a given y bin.
This is equivalent to projectionXY().binEntriesY(index)
.
index | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References yAxis().
Referenced by printContents().
|
virtual |
Sum of all the entries of the bins along a given z bin.
This is equivalent to projectionXZ().binEntriesZ(index)
.
index | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References zAxis().
Referenced by printContents().
|
virtual |
The error of a given bin.
indexX | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexY | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexZ | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis(), yAxis(), and zAxis().
Referenced by printContents().
|
virtual |
Total height of a give bin (ie the sum of the weights in this bin).
indexX | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexY | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexZ | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis(), yAxis(), and zAxis().
Referenced by printContents().
|
virtual |
Sum of all the heights of the bins along a given x bin.
This is equivalent to projectionXY().binHeightX(index)
.
index | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis().
Referenced by printContents().
|
virtual |
Sum of all the heights of the bins along a given y bin.
This is equivalent to projectionXY().binHeightY(index)
.
index | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References yAxis().
Referenced by printContents().
|
virtual |
Sum of all the heights of the bins along a given z bin.
This is equivalent to projectionXZ().binHeightZ(index)
.
index | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References zAxis().
Referenced by printContents().
|
virtual |
The weighted mean along the x axis of a given bin.
indexX | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexY | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexZ | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis(), yAxis(), and zAxis().
Referenced by printContents().
|
virtual |
The weighted mean the y axis of a given bin.
indexX | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexY | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexZ | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis(), yAxis(), and zAxis().
Referenced by printContents().
|
virtual |
The weighted mean the z axis of a given bin.
indexX | The x bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexY | The y bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
indexZ | The z bin number (0...N-1) or OVERFLOW or UNDERFLOW. |
Implements AIDA::IHistogram3D.
References xAxis(), yAxis(), and zAxis().
Referenced by printContents().
|
virtual |
Get the bin number corresponding to a given coordinate along the x axis.
This is a convenience method, equivalent to xAxis().coordToIndex(coord)
.
coord | The coordinalte along the x axis. |
Implements AIDA::IHistogram3D.
References xAxis().
|
virtual |
Get the bin number corresponding to a given coordinate along the y axis.
This is a convenience method, equivalent to yAxis().coordToIndex(coord)
.
coord | The coordinalte along the y axis. |
Implements AIDA::IHistogram3D.
References yAxis().
|
virtual |
Get the bin number corresponding to a given coordinate along the z axis.
This is a convenience method, equivalent to zAxis().coordToIndex(coord)
.
coord | The coordinalte along the z axis. |
Implements AIDA::IHistogram3D.
References zAxis().
|
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.
Referenced by printContents().
|
virtual |
Number of entries in the UNDERFLOW and OVERFLOW bins.
Implements AIDA::IHistogram.
Referenced by printContents().
|
virtual |
Fill the IHistogram3D with a triplet of values and the corresponding weight.
x | The x value to be filled in. |
y | The y value to be filled in. |
z | The z value to be filled in. |
weight | The corresponding weight (by default 1). |
Implements AIDA::IHistogram3D.
|
virtual |
Maximum height of the in-range bins, i.e.
not considering the UNDERFLOW and OVERFLOW bins.
Implements AIDA::IHistogram.
Referenced by printContents().
|
virtual |
The mean of the IHistogram3D along the x axis.
Implements AIDA::IHistogram3D.
Referenced by printContents().
|
virtual |
The mean of the IHistogram3D along the y axis.
Implements AIDA::IHistogram3D.
Referenced by printContents().
|
virtual |
The mean of the IHistogram3D along the z axis.
Implements AIDA::IHistogram3D.
Referenced by printContents().
|
virtual |
Minimum height of the in-range bins, i.e.
not considering the UNDERFLOW and OVERFLOW bins.
Implements AIDA::IHistogram.
Referenced by printContents().
|
virtual |
Print out the contents of a histogram to the screen.
This method is made for debugging purposes. It is not part of the AIDA Interface!
References allEntries(), binEntries(), binEntriesX(), binEntriesY(), binEntriesZ(), binError(), binHeight(), binHeightX(), binHeightY(), binHeightZ(), AIDA::IAxis::binLowerEdge(), binMeanX(), binMeanY(), binMeanZ(), AIDA::IAxis::bins(), entries(), extraEntries(), AIDA::IAxis::lowerEdge(), maxBinHeight(), meanX(), meanY(), meanZ(), minBinHeight(), rmsX(), rmsY(), rmsZ(), sumAllBinHeights(), sumBinHeights(), sumExtraBinHeights(), title(), AIDA::IAxis::upperEdge(), xAxis(), yAxis(), and zAxis().
|
virtual |
Reset the Histogram; as if just created.
Implements AIDA::IBaseHistogram.
|
virtual |
The RMS of the IHistogram3D along the x axis.
Implements AIDA::IHistogram3D.
Referenced by printContents().
|
virtual |
The RMS of the IHistogram3D along the y axis.
Implements AIDA::IHistogram3D.
Referenced by printContents().
|
virtual |
The RMS of the IHistogram3D along the z axis.
Implements AIDA::IHistogram3D.
Referenced by printContents().
|
virtual |
Scale the weights and the errors of all the IHistogram's bins (in-range and out-of-range ones) by a given scale factor.
scaleFactor | The scale factor. |
FIXME! richtige beruecksichtigung der Fehler im Zusammenhang mit dcale!
Implements AIDA::IHistogram.
|
virtual |
Set the histogram title.
title | The title. |
Implements AIDA::IBaseHistogram.
|
virtual |
Sum of the heights of all the IHistogram's bins, i.e in-range bins, UNDERFLOW and OVERFLOW.
Implements AIDA::IHistogram.
Referenced by printContents().
|
virtual |
Number of equivalent entries, i.e.
SUM[ weight ] ^ 2 / SUM[ weight^2 ]
Implements AIDA::IHistogram.
Referenced by printContents().
|
virtual |
Sum of heights in the UNDERFLOW and OVERFLOW bins.
Implements AIDA::IHistogram.
Referenced by printContents().
|
virtual |
Get the Histogram's title.
Implements AIDA::IBaseHistogram.
Referenced by printContents().
|
virtual |
Get the x axis of the IHistogram3D.
Implements AIDA::IHistogram3D.
Referenced by add(), binEntries(), binEntriesX(), binError(), binHeight(), binHeightX(), binMeanX(), binMeanY(), binMeanZ(), coordToIndexX(), and printContents().
|
virtual |
Get the y axis of the IHistogram3D.
Implements AIDA::IHistogram3D.
Referenced by add(), binEntries(), binEntriesY(), binError(), binHeight(), binHeightY(), binMeanX(), binMeanY(), binMeanZ(), coordToIndexY(), and printContents().
|
virtual |
Get the z axis of the IHistogram3D.
Implements AIDA::IHistogram3D.
Referenced by add(), binEntries(), binEntriesZ(), binError(), binHeight(), binHeightZ(), binMeanX(), binMeanY(), binMeanZ(), coordToIndexZ(), and printContents().