#include <BufferedHistogram2D.h>
A 2D histogram which can expand its range based on filling and have its edge sliced off.
Definition at line 12 of file BufferedHistogram2D.h.
◆ BufferedHistogram2D()
BufferedHistogram2D::BufferedHistogram2D |
( |
double |
xbinsize = 1.0 , |
|
|
double |
ybinsize = 1.0 , |
|
|
double |
xmin = 0.0 , |
|
|
double |
ymin = 0.0 |
|
) |
| |
Create a buffered 2d histogram with lower corner at xmin, ymin and with bins of given sizes.
Definition at line 7 of file BufferedHistogram2D.cxx.
◆ fill()
bool BufferedHistogram2D::fill |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
v = 1.0 |
|
) |
| |
◆ popx()
std::vector< double > BufferedHistogram2D::popx |
( |
| ) |
|
Slice off the lowest X bin and return it as a vector. Note, the zeroth element of the vector corresponds to the bin starting at ymin but the length of vector may not represent the global ymax.
Definition at line 54 of file BufferedHistogram2D.cxx.
◆ size()
int WireCell::BufferedHistogram2D::size |
( |
| ) |
const |
|
inline |
◆ xbinsize()
double WireCell::BufferedHistogram2D::xbinsize |
( |
| ) |
const |
|
inline |
◆ xmax()
double BufferedHistogram2D::xmax |
( |
| ) |
const |
◆ xmin()
double WireCell::BufferedHistogram2D::xmin |
( |
| ) |
const |
|
inline |
◆ xsize()
int WireCell::BufferedHistogram2D::xsize |
( |
| ) |
const |
|
inline |
◆ ybinsize()
double WireCell::BufferedHistogram2D::ybinsize |
( |
| ) |
const |
|
inline |
◆ ymax()
double BufferedHistogram2D::ymax |
( |
| ) |
const |
◆ ymin()
double WireCell::BufferedHistogram2D::ymin |
( |
| ) |
const |
|
inline |
◆ ysize()
int BufferedHistogram2D::ysize |
( |
| ) |
const |
The documentation for this class was generated from the following files: