26 void AddPoint(
const double &,
const double &);
27 inline double GetFunc(
const double &xx_) {
32 std::map<double, double>::iterator high_, low_;
33 high_ =
FuncMap.upper_bound(xx_);
37 return (low_->second + (high_->second - low_->second) * (xx_ - low_->first) / (high_->first - low_->first));
41 std::map<double, double>::iterator high_, low_;
50 return (low_->second + (high_->second - low_->second) * (xx_ - low_->first) / (high_->first - low_->first));
52 void WeightInit(
const double &,
const double &);
std::map< double, double > GetLineShape()
void AddPoint(const double &, const double &)
void WeightInit(const double &, const double &)
std::map< double, double > GetFuncMap()
std::map< double, double > FuncMap
double GetValue(const double &xx_)
virtual double WeightFunc(const double &)=0
std::map< double, double > LineShape
double GetTotalIntegral()
double GetFunc(const double &xx_)