58 virtual int bins()
const = 0;
82 virtual double binWidth(
int index)
const = 0;
99 enum { UNDERFLOW_BIN = -2, OVERFLOW_BIN = -1 };
virtual double binUpperEdge(int index) const =0
Get the upper edge of the specified bin.
virtual bool isFixedBinning() const =0
Check if the IAxis has fixed binning, i.e.
virtual double upperEdge() const =0
Get the upper edge of the IAxis.
virtual int bins() const =0
The number of bins (excluding underflow and overflow) on the IAxis.
virtual double binWidth(int index) const =0
Get the width of the specified bin.
An IAxis represents a binned histogram axis.
Definition: IAxis.h:26
virtual double lowerEdge() const =0
Get the lower edge of the IAxis.
virtual double binLowerEdge(int index) const =0
Get the lower edge of the specified bin.
virtual ~IAxis()
Destructor.
Definition: IAxis.h:30
virtual int coordToIndex(double coord) const =0
Convert a coordinate on the axis to a bin number.