#include <Weight.h>
Definition at line 14 of file Weight.h.
◆ Weight()
Exhume::Weight::Weight |
( |
| ) |
|
|
inline |
◆ ~Weight()
virtual Exhume::Weight::~Weight |
( |
| ) |
|
|
inlinevirtual |
◆ AddPoint()
void Exhume::Weight::AddPoint |
( |
const double & |
, |
|
|
const double & |
|
|
) |
| |
|
protected |
◆ GetFunc()
double Exhume::Weight::GetFunc |
( |
const double & |
xx_ | ) |
|
|
inlineprotected |
Definition at line 27 of file Weight.h.
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));
References FuncMap, Max_, and WeightFunc().
◆ GetFuncMap()
std::map<double, double> Exhume::Weight::GetFuncMap |
( |
| ) |
|
|
inline |
◆ GetLineShape()
std::map<double, double> Exhume::Weight::GetLineShape |
( |
| ) |
|
|
inline |
◆ GetTotalIntegral()
double Exhume::Weight::GetTotalIntegral |
( |
| ) |
|
|
inline |
◆ GetValue()
double Exhume::Weight::GetValue |
( |
const double & |
xx_ | ) |
|
|
inlineprotected |
Definition at line 40 of file Weight.h.
41 std::map<double, double>::iterator high_, low_;
50 return (low_->second + (high_->second - low_->second) * (xx_ - low_->first) / (high_->first - low_->first));
References LineShape.
◆ WeightFunc()
virtual double Exhume::Weight::WeightFunc |
( |
const double & |
| ) |
|
|
protectedpure virtual |
◆ WeightInit()
void Exhume::Weight::WeightInit |
( |
const double & |
, |
|
|
const double & |
|
|
) |
| |
|
protected |
◆ FuncMap
std::map<double, double> Exhume::Weight::FuncMap |
|
private |
◆ LineShape
std::map<double, double> Exhume::Weight::LineShape |
|
private |
◆ Max_
double Exhume::Weight::Max_ |
|
protected |
◆ NPoints
unsigned int Exhume::Weight::NPoints |
|
private |
◆ TotalIntegral
double Exhume::Weight::TotalIntegral |
|
protected |