2 #ifndef AIDA_IAXISROOT_H
3 #define AIDA_IAXISROOT_H 1
5 #include <AIDA/IAxis.h>
27 void setFixedBinning() ;
28 void setVariableBinning() ;
56 virtual int bins()
const ;
80 virtual double binWidth(
int index)
const ;
97 enum { UNDERFLOW_BIN = -2, OVERFLOW_BIN = -1 };
virtual double binWidth(int index) const
Get the width of the specified bin.
Definition: IAxisROOT.cc:66
An IAxis represents a binned histogram axis.
Definition: IAxisROOT.h:19
virtual double binUpperEdge(int index) const
Get the upper edge of the specified bin.
Definition: IAxisROOT.cc:56
virtual double binLowerEdge(int index) const
Get the lower edge of the specified bin.
Definition: IAxisROOT.cc:46
virtual ~IAxisROOT()
Destructor.
Definition: IAxisROOT.h:23
virtual int coordToIndex(double coord) const
Convert a coordinate on the axis to a bin number.
Definition: IAxisROOT.cc:74
An IAxis represents a binned histogram axis.
Definition: IAxis.h:26
IAxisROOT(TAxis *axis)
Constructor: you need to have a pointer to a ROOT TAxis object to construct!
Definition: IAxisROOT.cc:10
virtual bool isFixedBinning() const
Check if the IAxis has fixed binning, i.e.
Definition: IAxisROOT.cc:26
virtual double lowerEdge() const
Get the lower edge of the IAxis.
Definition: IAxisROOT.cc:31
virtual int bins() const
The number of bins (excluding underflow and overflow) on the IAxis.
Definition: IAxisROOT.cc:41
virtual double upperEdge() const
Get the upper edge of the IAxis.
Definition: IAxisROOT.cc:36