35 void AddPoint(
const double&,
const double&);
41 std::map<double, double>::iterator high_, low_;
42 high_ =
FuncMap.upper_bound(xx_);
46 return( low_->second +
47 (high_->second - low_->second) * (xx_ - low_->first)/
48 (high_->first - low_->first));
53 std::map<double, double>::iterator high_, low_;
61 return( low_->second +
62 (high_->second - low_->second) * (xx_ - low_->first)/
63 (high_->first - low_->first));
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_)