1 #ifndef RecoJets_FFTJetAlgorithms_LookupTable2d_h
2 #define RecoJets_FFTJetAlgorithms_LookupTable2d_h
13 inline const std::vector<double>&
data()
const {
return data_; }
14 inline unsigned nx()
const {
return nx_; }
15 inline unsigned ny()
const {
return ny_; }
22 inline double binValue(
const unsigned ix,
const unsigned iy)
const {
return data_.at(ix *
ny_ + iy); }
24 double closest(
double x,
double y)
const;
39 #endif // RecoJets_FFTJetAlgorithms_LookupTable2d_h
const std::vector< double > & data() const
double closest(double x, double y) const
double binValue(const unsigned ix, const unsigned iy) const
std::vector< double > data_