|
RAIDA
1.9.0
|
An IAxis represents a binned histogram axis. More...
#include <IAxis.h>
Public Types | |
| enum | { UNDERFLOW_BIN = -2, OVERFLOW_BIN = -1 } |
| Constants specifying the underflow and the overflow bin. More... | |
Public Member Functions | |
| virtual | ~IAxis () |
| Destructor. | |
| virtual bool | isFixedBinning () const =0 |
| Check if the IAxis has fixed binning, i.e. More... | |
| virtual double | lowerEdge () const =0 |
| Get the lower edge of the IAxis. More... | |
| virtual double | upperEdge () const =0 |
| Get the upper edge of the IAxis. More... | |
| virtual int | bins () const =0 |
| The number of bins (excluding underflow and overflow) on the IAxis. More... | |
| virtual double | binLowerEdge (int index) const =0 |
| Get the lower edge of the specified bin. More... | |
| virtual double | binUpperEdge (int index) const =0 |
| Get the upper edge of the specified bin. More... | |
| virtual double | binWidth (int index) const =0 |
| Get the width of the specified bin. More... | |
| virtual int | coordToIndex (double coord) const =0 |
| Convert a coordinate on the axis to a bin number. More... | |
An IAxis represents a binned histogram axis.
A 1D Histogram would have one Axis representing the X axis, while a 2D Histogram would have two axes representing the X and Y Axis.
| anonymous enum |
Constants specifying the underflow and the overflow bin.
They can be passed to any method accepting a bin number.
|
pure virtual |
Get the lower edge of the specified bin.
| index | The bin number: 0 to bins()-1 for the in-range bins or OVERFLOW or UNDERFLOW. |
Double.NEGATIVE_INFINITY. Implemented in AIDA::IAxisROOT.
Referenced by AIDA::IHistogram1DROOT::printContents(), AIDA::IHistogram2DROOT::printContents(), and AIDA::IHistogram3DROOT::printContents().
|
pure virtual |
The number of bins (excluding underflow and overflow) on the IAxis.
Implemented in AIDA::IAxisROOT.
Referenced by AIDA::IHistogram2DROOT::add(), AIDA::IHistogram1DROOT::add(), AIDA::IHistogram3DROOT::add(), AIDA::IHistogramFactoryROOT::add(), AIDA::IHistogramFactoryROOT::createCopy(), AIDA::IHistogramFactoryROOT::divide(), AIDA::IHistogramFactoryROOT::multiply(), AIDA::IHistogram1DROOT::printContents(), AIDA::IHistogram2DROOT::printContents(), AIDA::IHistogram3DROOT::printContents(), and AIDA::IHistogramFactoryROOT::subtract().
|
pure virtual |
Get the upper edge of the specified bin.
| index | The bin number: 0 to bins()-1 for the in-range bins or OVERFLOW or UNDERFLOW. |
Double.POSITIVE_INFINITY. Implemented in AIDA::IAxisROOT.
|
pure virtual |
Get the width of the specified bin.
| index | The bin number: 0 to bins()-1) for the in-range bins or OVERFLOW or UNDERFLOW. |
Implemented in AIDA::IAxisROOT.
|
pure virtual |
Convert a coordinate on the axis to a bin number.
If the coordinate is less than the lowerEdge UNDERFLOW is returned; if the coordinate is greater or equal to the upperEdge OVERFLOW is returned.
| coord | The coordinate to be converted. |
Implemented in AIDA::IAxisROOT.
|
pure virtual |
Check if the IAxis has fixed binning, i.e.
if all the bins have the same width.
true if the binning is fixed, false otherwise. Implemented in AIDA::IAxisROOT.
|
pure virtual |
Get the lower edge of the IAxis.
Implemented in AIDA::IAxisROOT.
Referenced by AIDA::IHistogramFactoryROOT::add(), AIDA::IHistogramFactoryROOT::createCopy(), AIDA::IHistogramFactoryROOT::divide(), AIDA::IHistogramFactoryROOT::multiply(), AIDA::IHistogram1DROOT::printContents(), AIDA::IHistogram2DROOT::printContents(), AIDA::IHistogram3DROOT::printContents(), and AIDA::IHistogramFactoryROOT::subtract().
|
pure virtual |
Get the upper edge of the IAxis.
Implemented in AIDA::IAxisROOT.
Referenced by AIDA::IHistogramFactoryROOT::add(), AIDA::IHistogramFactoryROOT::createCopy(), AIDA::IHistogramFactoryROOT::divide(), AIDA::IHistogramFactoryROOT::multiply(), AIDA::IHistogram1DROOT::printContents(), AIDA::IHistogram2DROOT::printContents(), AIDA::IHistogram3DROOT::printContents(), and AIDA::IHistogramFactoryROOT::subtract().
1.8.5