#include <HcalPolynomialFunctor.h>
Public Member Functions | |
HcalPolynomialFunctor () | |
HcalPolynomialFunctor (const std::vector< double > &coeffs, double shift=0.0, double xmin=-DBL_MAX, double xmax=DBL_MAX, double outOfRangeValue=0.0) | |
double | operator() (double x) const override |
double | xmax () const override |
double | xmin () const override |
~HcalPolynomialFunctor () 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 | shift_ |
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 16 of file HcalPolynomialFunctor.h.
HcalPolynomialFunctor::HcalPolynomialFunctor | ( | ) |
Definition at line 6 of file HcalPolynomialFunctor.cc.
|
explicit |
Definition at line 8 of file HcalPolynomialFunctor.cc.
|
inlineoverride |
|
inlineoverrideprotectedvirtual |
Implements AbsHcalFunctor.
Definition at line 39 of file HcalPolynomialFunctor.h.
References coeffs_, trackingPlots::other, outOfRangeValue_, alignCSCRings::r, shift_, xmax_, and xmin_.
|
overridevirtual |
Implements AbsHcalFunctor.
Definition at line 15 of file HcalPolynomialFunctor.cc.
References a, coeffs_, outOfRangeValue_, mps_fire::result, shift_, xmax_, xmin_, and y.
Referenced by ~HcalPolynomialFunctor().
|
inlineprivate |
Definition at line 55 of file HcalPolynomialFunctor.h.
References outOfRangeValue_.
|
inlineoverridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 36 of file HcalPolynomialFunctor.h.
References xmin_.
Referenced by svgfig.XAxis::__repr__().
|
inlineoverridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 35 of file HcalPolynomialFunctor.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 52 of file HcalPolynomialFunctor.h.
|
private |
Definition at line 46 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), and operator()().
|
private |
Definition at line 50 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), operator()(), and serialize().
|
private |
Definition at line 47 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), and operator()().
|
private |
Definition at line 49 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), operator()(), and xmin().
|
private |
Definition at line 48 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), operator()(), and xmax().