1 #ifndef CondFormats_HcalObjects_HcalPiecewiseLinearFunctor_h
2 #define CondFormats_HcalObjects_HcalPiecewiseLinearFunctor_h
9 #include "boost/serialization/access.hpp"
10 #include "boost/serialization/version.hpp"
11 #include "boost/serialization/vector.hpp"
37 bool leftExtrapolationLinear,
38 bool rightExtrapolationLinear);
43 double xmin()
const override;
44 double xmax()
const override;
69 template <
class Archive>
71 boost::serialization::base_object<AbsHcalFunctor>(*this);
79 #endif // CondFormats_HcalObjects_HcalPiecewiseLinearFunctor_h
double operator()(double x) const override
bool leftExtrapolationLinear_
friend class boost::serialization::access
std::vector< double > abscissae_
bool isStrictlyMonotonous() const
HcalPiecewiseLinearFunctor()
bool rightExtrapolationLinear_
void serialize(Archive &ar, unsigned)
HcalPiecewiseLinearFunctor inverse() const
~HcalPiecewiseLinearFunctor() override
std::vector< double > values_
bool isEqual(const AbsHcalFunctor &other) const override
double xmin() const override
double xmax() const override