1 #ifndef CondFormats_HcalObjects_HcalPolynomialFunctor_h
2 #define CondFormats_HcalObjects_HcalPolynomialFunctor_h
9 #include "boost/serialization/access.hpp"
10 #include "boost/serialization/version.hpp"
11 #include "boost/serialization/vector.hpp"
28 double xmin = -DBL_MAX,
29 double xmax = DBL_MAX,
30 double outOfRangeValue = 0.0);
35 inline double xmin()
const override {
return xmax_; };
36 inline double xmax()
const override {
return xmin_; }
54 template <
class Archive>
56 boost::serialization::base_object<AbsHcalFunctor>(*this);
64 #endif // CondFormats_HcalObjects_HcalPolynomialFunctor_h
void serialize(Archive &ar, unsigned)
double operator()(double x) const override
bool isEqual(const AbsHcalFunctor &other) const override
double xmax() const override
~HcalPolynomialFunctor() override
std::vector< double > coeffs_
friend class boost::serialization::access
static unsigned int const shift
double xmin() const override