25#ifndef LSST_JOINTCAL_HISTO4D_H
26#define LSST_JOINTCAL_HISTO4D_H
37 SparseHisto4d(
int n1,
double min1,
double max1,
int n2,
double min2,
double max2,
38 int n3,
double min3,
double max3,
int n4,
double min4,
double max4,
41 void fill(
const double x[4]);
43 void fill(
double x1,
double x2,
double x3,
double x4);
51 void binLimits(
const double x[4],
int idim,
double &xMin,
double &xMax)
const;
69 double _minVal[4]{}, _maxVal[4]{};
A class to histogram in 4 dimensions.
void zeroBin(double x[4])
void inverse_code(int code, double x[4]) const
void fill(const double x[4])
void binLimits(const double x[4], int idim, double &xMin, double &xMax) const
return the bin limits of dimension idim (0<=idim<4), around point X.
int code_value(const double x[4]) const
Class for a simple mapping implementing a generic AstrometryTransform.