#include <HcalChebyshevFunctor.h>
|
template<class Archive > |
void | serialize (Archive &ar, unsigned) |
|
Definition at line 17 of file HcalChebyshevFunctor.h.
◆ HcalChebyshevFunctor() [1/2]
HcalChebyshevFunctor::HcalChebyshevFunctor |
( |
| ) |
|
◆ HcalChebyshevFunctor() [2/2]
HcalChebyshevFunctor::HcalChebyshevFunctor |
( |
const std::vector< double > & |
coeffs, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
outOfRangeValue = 0.0 |
|
) |
| |
|
explicit |
◆ ~HcalChebyshevFunctor()
HcalChebyshevFunctor::~HcalChebyshevFunctor |
( |
| ) |
|
|
inlineoverride |
◆ isEqual()
bool HcalChebyshevFunctor::isEqual |
( |
const AbsHcalFunctor & |
other | ) |
const |
|
inlineoverrideprotectedvirtual |
◆ operator()()
double HcalChebyshevFunctor::operator() |
( |
double |
x | ) |
const |
|
overridevirtual |
Implements AbsHcalFunctor.
Definition at line 16 of file HcalChebyshevFunctor.cc.
25 const double twox = 2.0 *
x;
28 double rp2 = 0.0, rp1 = 0.0,
r = 0.0;
29 for (
unsigned k =
coeffs_.size() - 1;
k > 0
U; --
k) {
30 r = twox * rp1 - rp2 +
a[
k];
34 return x * rp1 - rp2 +
a[0];
References a, coeffs_, dqmdumpme::k, outOfRangeValue_, alignCSCRings::r, mitigatedMETSequence_cff::U, x, xmax_, xmin_, and y.
◆ serialize()
template<class Archive >
void HcalChebyshevFunctor::serialize |
( |
Archive & |
ar, |
|
|
unsigned |
|
|
) |
| |
|
inlineprivate |
◆ xmax()
double HcalChebyshevFunctor::xmax |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ xmin()
double HcalChebyshevFunctor::xmin |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ coeffs_
std::vector<double> HcalChebyshevFunctor::coeffs_ |
|
private |
◆ outOfRangeValue_
double HcalChebyshevFunctor::outOfRangeValue_ |
|
private |
◆ xmax_
double HcalChebyshevFunctor::xmax_ |
|
private |
◆ xmin_
double HcalChebyshevFunctor::xmin_ |
|
private |