This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
#include <IAxis.h>
Public Types | |
enum | { UNDERFLOW_BIN = -2, OVERFLOW_BIN = -1 } |
Public Methods | |
virtual | ~IAxis () |
Destructor. More... | |
virtual bool | isFixedBinning () const=0 |
virtual double | lowerEdge () const=0 |
virtual double | upperEdge () const=0 |
virtual int | bins () const=0 |
virtual double | binLowerEdge (int index) const=0 |
virtual double | binUpperEdge (int index) const=0 |
virtual double | binWidth (int index) const=0 |
virtual int | coordToIndex (double coord) const=0 |
Definition at line 26 of file IAxis.h.
|
Constants specifying the underflow and the overflow bin. They can be passed to any method accepting a bin number. |
|
|
|
Get the lower edge of the specified bin.
|
|
Get the upper edge of the specified bin.
|
|
Get the width of the specified bin.
|
|
The number of bins (excluding underflow and overflow) on the IAxis.
|
|
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.
|
|
Check if the IAxis has fixed binning, i.e. if all the bins have the same width.
|
|
Get the lower edge of the IAxis.
|
|
Get the upper edge of the IAxis.
|