2 #ifndef LSST_JOINTCAL_HISTO2D_H 3 #define LSST_JOINTCAL_HISTO2D_H 10 std::unique_ptr<float[]> data;
15 bool indices(
double x,
double y,
int &ix,
int &iy)
const;
19 Histo2d(
int nx,
float minx,
float maxx,
int ny,
float miny,
float maxy);
23 void fill(
float x,
float y,
float weight = 1.);
25 double maxBin(
double &x,
double &y)
const;
27 void binWidth(
double &Hdx,
double &Hdy)
const {
34 void zeroBin(
double x,
double y);
39 void operator=(
const Histo2d &right);
44 #endif // LSST_JOINTCAL_HISTO2D_H void binWidth(double &Hdx, double &Hdy) const
double binContent(double x, double y) const
void fill(float x, float y, float weight=1.)
void zeroBin(double x, double y)
double maxBin(double &x, double &y) const
Class for a simple mapping implementing a generic Gtransfo.