#include <LookupTable2d.h>
Public Member Functions | |
double | binValue (const unsigned ix, const unsigned iy) const |
double | closest (double x, double y) const |
const std::vector< double > & | data () const |
LookupTable2d (unsigned nx, double xmin, double xmax, unsigned ny, double ymin, double ymax, const std::vector< double > &data) | |
LookupTable2d ()=delete | |
unsigned | nx () const |
unsigned | ny () const |
double | xmax () const |
double | xmin () const |
double | xstep () const |
double | ymax () const |
double | ymin () const |
double | ystep () const |
Private Attributes | |
double | bwx_ |
double | bwy_ |
std::vector< double > | data_ |
unsigned | nx_ |
unsigned | ny_ |
double | xmax_ |
double | xmin_ |
double | ymax_ |
double | ymin_ |
Definition at line 7 of file LookupTable2d.h.
fftjetcms::LookupTable2d::LookupTable2d | ( | unsigned | nx, |
double | xmin, | ||
double | xmax, | ||
unsigned | ny, | ||
double | ymin, | ||
double | ymax, | ||
const std::vector< double > & | data | ||
) |
Definition at line 7 of file LookupTable2d.cc.
References cms::cuda::assert(), data_, nx_, ny_, xmax_, xmin_, ymax_, and ymin_.
|
delete |
|
inline |
Definition at line 22 of file LookupTable2d.h.
double fftjetcms::LookupTable2d::closest | ( | double | x, |
double | y | ||
) | const |
Definition at line 25 of file LookupTable2d.cc.
References bwx_, bwy_, data_, nx_, ny_, mitigatedMETSequence_cff::U, x, xmax_, xmin_, ymax_, and ymin_.
Referenced by fftjetcms::EtaAndPtLookupPeakSelector::operator()().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 17 of file LookupTable2d.h.
References xmax_.
Referenced by svgfig.XAxis::__repr__().
|
inline |
Definition at line 16 of file LookupTable2d.h.
References xmin_.
Referenced by svgfig.XAxis::__repr__(), svgfig.Axes::__repr__(), svgfig.HGrid::__repr__(), svgfig.Grid::__repr__(), and svgfig.Axes::SVG().
|
inline |
|
inline |
Definition at line 19 of file LookupTable2d.h.
References ymax_.
Referenced by svgfig.YAxis::__repr__().
|
inline |
Definition at line 18 of file LookupTable2d.h.
References ymin_.
Referenced by svgfig.YAxis::__repr__(), svgfig.Axes::__repr__(), svgfig.VGrid::__repr__(), svgfig.Grid::__repr__(), plotting.PlotTextBox::Draw(), and svgfig.Axes::SVG().
|
inline |
|
private |
Definition at line 34 of file LookupTable2d.h.
|
private |
Definition at line 35 of file LookupTable2d.h.
|
private |
Definition at line 27 of file LookupTable2d.h.
Referenced by binValue(), closest(), data(), and LookupTable2d().
|
private |
Definition at line 28 of file LookupTable2d.h.
Referenced by closest(), LookupTable2d(), and nx().
|
private |
Definition at line 29 of file LookupTable2d.h.
Referenced by binValue(), closest(), LookupTable2d(), and ny().
|
private |
Definition at line 31 of file LookupTable2d.h.
Referenced by closest(), LookupTable2d(), and xmax().
|
private |
Definition at line 30 of file LookupTable2d.h.
Referenced by closest(), LookupTable2d(), and xmin().
|
private |
Definition at line 33 of file LookupTable2d.h.
Referenced by closest(), LookupTable2d(), and ymax().
|
private |
Definition at line 32 of file LookupTable2d.h.
Referenced by closest(), LookupTable2d(), and ymin().