A class to histogram in 4 dimensions.
More...
#include <Histo4d.h>
|
| 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
Definition at line 33 of file Histo4d.h.
◆ SparseHisto4d() [1/2]
lsst::jointcal::SparseHisto4d::SparseHisto4d |
( |
| ) |
|
|
default |
◆ SparseHisto4d() [2/2]
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 |
|
) |
| |
◆ ~SparseHisto4d()
lsst::jointcal::SparseHisto4d::~SparseHisto4d |
( |
| ) |
|
|
default |
◆ binLimits()
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.
◆ code_value()
int lsst::jointcal::SparseHisto4d::code_value |
( |
const double |
x[4] | ) |
const |
◆ fill() [1/2]
void lsst::jointcal::SparseHisto4d::fill |
( |
const double |
x[4] | ) |
|
◆ fill() [2/2]
void lsst::jointcal::SparseHisto4d::fill |
( |
double |
x1, |
|
|
double |
x2, |
|
|
double |
x3, |
|
|
double |
x4 |
|
) |
| |
◆ getNEntries()
int lsst::jointcal::SparseHisto4d::getNEntries |
( |
| ) |
const |
|
inline |
◆ inverse_code()
void lsst::jointcal::SparseHisto4d::inverse_code |
( |
int |
code, |
|
|
double |
x[4] |
|
) |
| const |
◆ maxBin()
int lsst::jointcal::SparseHisto4d::maxBin |
( |
double |
x[4] | ) |
|
◆ print()
void lsst::jointcal::SparseHisto4d::print |
( |
| ) |
const |
◆ sort()
void lsst::jointcal::SparseHisto4d::sort |
( |
| ) |
|
◆ zeroBin()
void lsst::jointcal::SparseHisto4d::zeroBin |
( |
double |
x[4] | ) |
|
The documentation for this class was generated from the following files: