lsst.jointcal g99855d9996+3156753ef5
|
A class to histogram in 4 dimensions. More...
#include <Histo4d.h>
Public Member Functions | |
SparseHisto4d ()=default | |
SparseHisto4d (int n1, double min1, double max1, int n2, double min2, double max2, int n3, double min3, double max3, int n4, double min4, double max4, int nEntries) | |
void | fill (const double x[4]) |
void | fill (double x1, double x2, double x3, double x4) |
int | maxBin (double x[4]) |
void | zeroBin (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 | getNEntries () const |
~SparseHisto4d ()=default | |
int | code_value (const double x[4]) const |
void | inverse_code (int code, double x[4]) const |
void | sort () |
void | print () const |
A class to histogram in 4 dimensions.
Uses Sparse storage. The number of bin is limited to 256 per dimension. Used in ListMatch.cc
|
default |
lsst::jointcal::SparseHisto4d::SparseHisto4d | ( | int | n1, |
double | min1, | ||
double | max1, | ||
int | n2, | ||
double | min2, | ||
double | max2, | ||
int | n3, | ||
double | min3, | ||
double | max3, | ||
int | n4, | ||
double | min4, | ||
double | max4, | ||
int | nEntries ) |
Definition at line 41 of file Histo4d.cc.
|
default |
void lsst::jointcal::SparseHisto4d::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.
Definition at line 151 of file Histo4d.cc.
Definition at line 67 of file Histo4d.cc.
Definition at line 92 of file Histo4d.cc.
Definition at line 105 of file Histo4d.cc.
|
inline |
Definition at line 77 of file Histo4d.cc.
Definition at line 114 of file Histo4d.cc.
void lsst::jointcal::SparseHisto4d::print | ( | ) | const |
Definition at line 159 of file Histo4d.cc.
void lsst::jointcal::SparseHisto4d::sort | ( | ) |
Definition at line 85 of file Histo4d.cc.
Definition at line 136 of file Histo4d.cc.