14 #ifndef _Bins2DBase_H_
15 #define _Bins2DBase_H_
48 std::vector<std::vector<double> >
m_data;
61 int binNumberX (
double x )
const;
65 int binNumberY (
double y )
const;
77 virtual void resize (
int nx,
int ny );
83 virtual NTuple * prepareNTuple (
unsigned int rows )
const;
93 virtual int getNumberOfAxes ()
const;
94 virtual bool hasEqualWidths ()
const;
97 double binWidthX (
int i )
const;
100 double binWidthY (
int i )
const;
111 virtual double scaleFactor ()
const;
114 int numberOfBins()
const;
118 virtual const Range &
125 bool dragging )
const;
128 virtual double calcOffset (
const std::string &,
130 bool dragging )
const;
141 bool hold_width =
true );
146 virtual int getNumberOfEntries ()
const;
148 virtual int getUnderflow ()
const;
149 virtual int getOverflow ()
const;
156 #endif // _Bins2DBase_H_
#define MDL_HIPPOPLOT_API
int m_num_bins
Total number of bins not including overflow and underflow.
std::vector< std::vector< double > > m_data
The accumulated sum of weights.
hippodraw::BinsBase class interface
The base class for the BinnerAxis hierarchy.
A DataSource class implemented with std::vector<double> to store the column data. ...
The base class for the 2D binner hierarchy.
BinnerAxis * binner_axisY
The binner axis object for the Y axis.
BinnerAxis * binner_axisX
The binner axis object for the X axis.
Expresses a range of values.
The base class for the binner hierarchy.