1 #ifndef CondFormats_HcalObjects_HcalLinearCompositionFunctor_h 2 #define CondFormats_HcalObjects_HcalLinearCompositionFunctor_h 8 #include "boost/serialization/access.hpp" 9 #include "boost/serialization/version.hpp" 10 #include "boost/serialization/shared_ptr.hpp" 29 inline double xmin()
const override {
return other_->xmin(); }
30 inline double xmax()
const override {
return other_->xmax(); }
32 inline double a()
const {
return a_; }
33 inline double b()
const {
return b_; }
42 std::shared_ptr<AbsHcalFunctor>
other_;
48 template <
class Archive>
50 boost::serialization::base_object<AbsHcalFunctor>(*this);
54 #if BOOST_VERSION < 105600 || BOOST_VERSION > 105800 58 "HcalLinearCompositionFunctor can not be" 59 " serialized with this version of boost");
67 #endif // CondFormats_HcalObjects_HcalLinearCompositionFunctor_h
std::shared_ptr< AbsHcalFunctor > other_
double xmin() const override
friend class boost::serialization::access
void serialize(Archive &ar, unsigned)
HcalLinearCompositionFunctor()
bool isEqual(const AbsHcalFunctor &other) const override
double xmax() const override
~HcalLinearCompositionFunctor() override
double operator()(double x) const override