#include <HcalChebyshevFunctor.h>
Public Member Functions | |
HcalChebyshevFunctor () | |
HcalChebyshevFunctor (const std::vector< double > &coeffs, double xmin, double xmax, double outOfRangeValue=0.0) | |
double | operator() (double x) const override |
double | xmax () const override |
double | xmin () const override |
~HcalChebyshevFunctor () 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 > | coeffs_ |
double | outOfRangeValue_ |
double | xmax_ |
double | xmin_ |
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 HcalChebyshevFunctor.h.
HcalChebyshevFunctor::HcalChebyshevFunctor | ( | ) |
Definition at line 5 of file HcalChebyshevFunctor.cc.
|
explicit |
Definition at line 7 of file HcalChebyshevFunctor.cc.
References Exception, xmax_, and xmin_.
|
inlineoverride |
Definition at line 30 of file HcalChebyshevFunctor.h.
|
inlineoverrideprotectedvirtual |
Implements AbsHcalFunctor.
Definition at line 37 of file HcalChebyshevFunctor.h.
References coeffs_, outOfRangeValue_, alignCSCRings::r, xmax_, and xmin_.
|
overridevirtual |
Implements AbsHcalFunctor.
Definition at line 16 of file HcalChebyshevFunctor.cc.
References a, coeffs_, isotrackApplyRegressor::k, outOfRangeValue_, alignCSCRings::r, x, xmax_, and xmin_.
|
inlineprivate |
Definition at line 51 of file HcalChebyshevFunctor.h.
References coeffs_, outOfRangeValue_, xmax_, and xmin_.
|
inlineoverridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 34 of file HcalChebyshevFunctor.h.
References xmin_.
Referenced by svgfig.XAxis::__repr__().
|
inlineoverridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 33 of file HcalChebyshevFunctor.h.
References xmax_.
Referenced by svgfig.XAxis::__repr__(), svgfig.Axes::__repr__(), svgfig.HGrid::__repr__(), svgfig.Grid::__repr__(), and svgfig.Axes::SVG().
|
friend |
Definition at line 48 of file HcalChebyshevFunctor.h.
|
private |
Definition at line 43 of file HcalChebyshevFunctor.h.
Referenced by isEqual(), operator()(), and serialize().
|
private |
Definition at line 46 of file HcalChebyshevFunctor.h.
Referenced by isEqual(), operator()(), and serialize().
|
private |
Definition at line 45 of file HcalChebyshevFunctor.h.
Referenced by HcalChebyshevFunctor(), isEqual(), operator()(), serialize(), and xmin().
|
private |
Definition at line 44 of file HcalChebyshevFunctor.h.
Referenced by HcalChebyshevFunctor(), isEqual(), operator()(), serialize(), and xmax().