7 std::istream&
in) : ip_(fftjet::LinearInterpolator2d::
read(in))
19 const double lookup = (*ip_)(peak.eta(),
log(peak.scale()));
20 return peak.magnitude() >
exp(lookup);
24 unsigned nx,
double xmin,
double xmax,
25 unsigned ny,
double ymin,
double ymax,
26 const std::vector<double>&
data)
27 : lookupTable_(nx, xmin, xmax, ny, ymin, ymax, data)
36 return peak.magnitude() >
exp(lookup);
~EtaAndPtDependentPeakSelector()
EtaAndPtDependentPeakSelector()
LookupTable2d lookupTable_
Exp< T >::type exp(const T &t)
fftjet::LinearInterpolator2d * ip_
bool operator()(const fftjet::Peak &peak) const
double closest(double x, double y) const
EtaAndPtLookupPeakSelector(unsigned nx, double xmin, double xmax, unsigned ny, double ymin, double ymax, const std::vector< double > &data)
bool operator()(const fftjet::Peak &peak) const
Log< T >::type log(const T &t)