#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 20 of file HcalCubicInterpolator.h.
HcalCubicInterpolator::HcalCubicInterpolator | ( | ) |
|
explicit |
Definition at line 8 of file HcalCubicInterpolator.cc.
References abscissae_, derivatives_, Exception, mps_fire::i, HLT_2018_cff::points, OrderedSet::t, createJobs::tmp, and values_.
|
inlineoverride |
Definition at line 30 of file HcalCubicInterpolator.h.
HcalCubicInterpolator HcalCubicInterpolator::approximateInverse | ( | ) | const |
Definition at line 74 of file HcalCubicInterpolator.cc.
References abscissae_, derivatives_, Exception, HcalCubicInterpolator(), mps_fire::i, AbsHcalFunctor::isStrictlyDecreasing(), AbsHcalFunctor::isStrictlyIncreasing(), HLT_2018_cff::points, and values_.
|
inlineoverrideprotectedvirtual |
Implements AbsHcalFunctor.
Definition at line 41 of file HcalCubicInterpolator.h.
References abscissae_, derivatives_, trackingPlots::other, alignCSCRings::r, and values_.
|
overridevirtual |
Implements AbsHcalFunctor.
Definition at line 31 of file HcalCubicInterpolator.cc.
References abscissae_, derivatives_, PVValHelper::dx, mps_fire::result, OrderedSet::t, cuda_std::upper_bound(), values_, and x.
|
inlineprivate |
Definition at line 54 of file HcalCubicInterpolator.h.
References abscissae_, derivatives_, and values_.
|
overridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 67 of file HcalCubicInterpolator.cc.
References abscissae_, and mps_fire::result.
Referenced by svgfig.XAxis::__repr__().
|
overridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 60 of file HcalCubicInterpolator.cc.
References abscissae_, and mps_fire::result.
Referenced by svgfig.XAxis::__repr__(), svgfig.Axes::__repr__(), svgfig.HGrid::__repr__(), svgfig.Grid::__repr__(), and svgfig.Axes::SVG().
|
friend |
Definition at line 51 of file HcalCubicInterpolator.h.
|
private |
Definition at line 47 of file HcalCubicInterpolator.h.
Referenced by approximateInverse(), HcalCubicInterpolator(), isEqual(), operator()(), serialize(), xmax(), and xmin().
|
private |
Definition at line 49 of file HcalCubicInterpolator.h.
Referenced by approximateInverse(), HcalCubicInterpolator(), isEqual(), operator()(), and serialize().
|
private |
Definition at line 48 of file HcalCubicInterpolator.h.
Referenced by approximateInverse(), HcalCubicInterpolator(), isEqual(), operator()(), and serialize().