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" 31 inline virtual double xmin()
const override {
return other_->xmin();}
32 inline virtual double xmax()
const override {
return other_->xmax();}
34 inline double a()
const {
return a_;}
35 inline double b()
const {
return b_;}
46 boost::shared_ptr<AbsHcalFunctor>
other_;
52 template<
class Archive>
55 boost::serialization::base_object<AbsHcalFunctor>(*this);
59 #if BOOST_VERSION < 105600 || BOOST_VERSION > 105800 60 ar & other_ & a_ &
b_;
63 " serialized with this version of boost");
71 #endif // CondFormats_HcalObjects_HcalLinearCompositionFunctor_h
virtual double operator()(double x) const override
virtual double xmax() const override
boost::shared_ptr< AbsHcalFunctor > other_
friend class boost::serialization::access
void serialize(Archive &ar, unsigned)
HcalLinearCompositionFunctor()
virtual ~HcalLinearCompositionFunctor()
virtual bool isEqual(const AbsHcalFunctor &other) const override
virtual double xmin() const override