#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) | |
virtual double | operator() (double x) const override |
virtual double | xmax () const override |
virtual double | xmin () const override |
virtual | ~HcalPolynomialFunctor () |
Public Member Functions inherited from AbsHcalFunctor | |
bool | operator!= (const AbsHcalFunctor &r) const |
bool | operator== (const AbsHcalFunctor &r) const |
virtual | ~AbsHcalFunctor () |
Protected Member Functions | |
virtual 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 11 of file HcalPolynomialFunctor.cc.
|
inlinevirtual |
|
inlineoverrideprotectedvirtual |
Implements AbsHcalFunctor.
Definition at line 40 of file HcalPolynomialFunctor.h.
References coeffs_, trackingPlots::other, outOfRangeValue_, alignCSCRings::r, shift_, xmax_, and xmin_.
|
overridevirtual |
Implements AbsHcalFunctor.
Definition at line 24 of file HcalPolynomialFunctor.cc.
References a, coeffs_, outOfRangeValue_, mps_fire::result, shift_, xmax_, xmin_, and y.
Referenced by ~HcalPolynomialFunctor().
|
inlineprivate |
Definition at line 61 of file HcalPolynomialFunctor.h.
References outOfRangeValue_.
|
inlineoverridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 37 of file HcalPolynomialFunctor.h.
References xmin_.
Referenced by svgfig.XAxis::__repr__().
|
inlineoverridevirtual |
Reimplemented from AbsHcalFunctor.
Definition at line 36 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 58 of file HcalPolynomialFunctor.h.
|
private |
Definition at line 52 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), and operator()().
|
private |
Definition at line 56 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), operator()(), and serialize().
|
private |
Definition at line 53 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), and operator()().
|
private |
Definition at line 55 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), operator()(), and xmin().
|
private |
Definition at line 54 of file HcalPolynomialFunctor.h.
Referenced by isEqual(), operator()(), and xmax().