14 #ifndef _Bins1DBase_H_ 15 #define _Bins1DBase_H_ 51 virtual void resize (
int number ) = 0;
57 virtual NTuple * prepareNTuple (
unsigned int rows )
const;
64 virtual int getNumberOfAxes ()
const;
68 virtual bool hasEqualWidths ()
const;
74 double binWidth (
int i )
const;
83 double getHigh()
const;
89 inline int binNumber(
double x);
98 bool dragging )
const;
101 virtual double calcOffset (
const std::string &,
103 bool dragging )
const;
114 bool hold_width =
true );
122 virtual double scaleFactor ()
const;
131 virtual int getNumberOfEntries (
int i )
const = 0;
139 return binner_axis->axisBinNumber(x);
145 #endif // _Bins1DBase_H_ BinnerAxis * binner_axis
The binner axis object.
The base class for the BinnerAxis hierarchy.
The base class for the one-dimensional binner hierarchy.
A DataSource class implemented with std::vector<double> to store the column data. ...
#define MDL_HIPPOPLOT_API
Expresses a range of values.
The base class for the binner hierarchy.
hippodraw::BinnerAxis class interface
int binNumber(double x)
Returns the number of the bin in which the x value is situated.
hippodraw::BinsBase class interface