#include <HcalChebyshevFunctor.h>
|
template<class Archive > |
void | serialize (Archive &ar, unsigned) |
|
Definition at line 17 of file HcalChebyshevFunctor.h.
HcalChebyshevFunctor::HcalChebyshevFunctor |
( |
| ) |
|
HcalChebyshevFunctor::HcalChebyshevFunctor |
( |
const std::vector< double > & |
coeffs, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
outOfRangeValue = 0.0 |
|
) |
| |
|
explicit |
Definition at line 10 of file HcalChebyshevFunctor.cc.
References Exception, xmax_, and xmin_.
20 "In HcalChebyshevFunctor constructor: invalid interval specification");
double xmin() const override
double xmax() const override
std::vector< double > coeffs_
HcalChebyshevFunctor::~HcalChebyshevFunctor |
( |
| ) |
|
|
inlineoverride |
bool HcalChebyshevFunctor::isEqual |
( |
const AbsHcalFunctor & |
other | ) |
const |
|
inlineoverrideprotectedvirtual |
double HcalChebyshevFunctor::operator() |
( |
double |
x | ) |
const |
|
overridevirtual |
Implements AbsHcalFunctor.
Definition at line 23 of file HcalChebyshevFunctor.cc.
References a, coeffs_, gen::k, outOfRangeValue_, alignCSCRings::r, mitigatedMETSequence_cff::U, x, xmax_, and xmin_.
Referenced by ~HcalChebyshevFunctor().
33 const double twox = 2.0*
x;
36 double rp2 = 0.0, rp1 = 0.0,
r = 0.0;
39 r = twox*rp1 - rp2 + a[
k];
43 return x*rp1 - rp2 + a[0];
std::vector< double > coeffs_
template<class Archive >
void HcalChebyshevFunctor::serialize |
( |
Archive & |
ar, |
|
|
unsigned |
|
|
) |
| |
|
inlineprivate |
double HcalChebyshevFunctor::xmax |
( |
| ) |
const |
|
inlineoverridevirtual |
double HcalChebyshevFunctor::xmin |
( |
| ) |
const |
|
inlineoverridevirtual |
friend class boost::serialization::access |
|
friend |
std::vector<double> HcalChebyshevFunctor::coeffs_ |
|
private |
double HcalChebyshevFunctor::outOfRangeValue_ |
|
private |
double HcalChebyshevFunctor::xmax_ |
|
private |
double HcalChebyshevFunctor::xmin_ |
|
private |