#include <HcalCubicInterpolator.h>
Public Types | |
typedef std::tuple< double, double, double > | Triple |
Public Member Functions | |
HcalCubicInterpolator | approximateInverse () const |
HcalCubicInterpolator () | |
HcalCubicInterpolator (const std::vector< Triple > &points) | |
double | operator() (double x) const override |
double | xmax () const override |
double | xmin () const override |
~HcalCubicInterpolator () override | |
Public Member Functions inherited from AbsHcalFunctor | |
bool | operator!= (const AbsHcalFunctor &r) const |
bool | operator== (const AbsHcalFunctor &r) const |
virtual | ~AbsHcalFunctor () |
Protected Member Functions | |
bool | isEqual (const AbsHcalFunctor &other) const override |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, unsigned) |
Private Attributes | |
std::vector< double > | abscissae_ |
std::vector< double > | derivatives_ |
std::vector< double > | values_ |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Static Protected Member Functions inherited from AbsHcalFunctor | |
template<class Iter > | |
static bool | isStrictlyDecreasing (Iter begin, Iter const end) |
template<class Iter > | |
static bool | isStrictlyIncreasing (Iter begin, Iter const end) |
Definition at line 17 of file HcalCubicInterpolator.h.
typedef std::tuple<double,double,double> HcalCubicInterpolator::Triple |
Definition at line 21 of file HcalCubicInterpolator.h.
HcalCubicInterpolator::HcalCubicInterpolator | ( | ) |
|
explicit |
Definition at line 10 of file HcalCubicInterpolator.cc.
References abscissae_, derivatives_, Exception, mps_fire::i, lumiQTWidget::t, tmp, and values_.
|
inlineoverride |
Definition at line 31 of file HcalCubicInterpolator.h.
References approximateInverse(), operator()(), x, xmax(), and xmin().
HcalCubicInterpolator HcalCubicInterpolator::approximateInverse | ( | ) | const |
Definition at line 87 of file HcalCubicInterpolator.cc.
References abscissae_, derivatives_, Exception, HcalCubicInterpolator(), mps_fire::i, AbsHcalFunctor::isStrictlyDecreasing(), AbsHcalFunctor::isStrictlyIncreasing(), hiPixelPairStep_cff::points, and values_.
Referenced by ~HcalCubicInterpolator().
|
inlineoverrideprotectedvirtual |
Implements AbsHcalFunctor.
Definition at line 42 of file HcalCubicInterpolator.h.
References abscissae_, derivatives_, trackingPlots::other, alignCSCRings::r, and values_.
|
overridevirtual |
Implements AbsHcalFunctor.
Definition at line 36 of file HcalCubicInterpolator.cc.
References abscissae_, derivatives_, PVValHelper::dx, mps_fire::result, lumiQTWidget::t, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, values_, and x.
Referenced by ~HcalCubicInterpolator().
|
inlineprivate |
Definition at line 59 of file HcalCubicInterpolator.h.
References derivatives_.
|
overridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 79 of file HcalCubicInterpolator.cc.
References abscissae_, and mps_fire::result.
Referenced by svgfig.XAxis::__repr__(), and ~HcalCubicInterpolator().
|
overridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 71 of file HcalCubicInterpolator.cc.
References abscissae_, and mps_fire::result.
Referenced by svgfig.XAxis::__repr__(), svgfig.Axes::__repr__(), svgfig.HGrid::__repr__(), svgfig.Grid::__repr__(), svgfig.Axes::SVG(), and ~HcalCubicInterpolator().
|
friend |
Definition at line 56 of file HcalCubicInterpolator.h.
|
private |
Definition at line 52 of file HcalCubicInterpolator.h.
Referenced by approximateInverse(), HcalCubicInterpolator(), isEqual(), operator()(), xmax(), and xmin().
|
private |
Definition at line 54 of file HcalCubicInterpolator.h.
Referenced by approximateInverse(), HcalCubicInterpolator(), isEqual(), operator()(), and serialize().
|
private |
Definition at line 53 of file HcalCubicInterpolator.h.
Referenced by approximateInverse(), HcalCubicInterpolator(), isEqual(), and operator()().