18 weight_ = uncertainty*uncertainty/yield;
21 weight_ = hypot(yield, uncertainty);
double CorrectedUncertainty() const
GammaParams & operator+=(const GammaParams &gp)
void SetYieldAndUncertainty(double yield, double uncertainty)
GammaParams & operator*=(double scale)
std::ostream & operator<<(std::ostream &stream, const GammaParams &gp)
double Uncertainty() const
double NEffective() const
GammaParams operator+(GammaParams gp1, GammaParams gp2)
GammaParams operator*(double scale, GammaParams gp)
void SetNEffectiveAndWeight(double n_effective, double weight)