ra4_macros  bede988c286599a3a84b77a4d788ac0a971e89f9
gamma_params.hpp
Go to the documentation of this file.
1 #ifndef H_GAMMA_PARAM
2 #define H_GAMMA_PARAM
3 
4 class GammaParams{
5 public:
6  GammaParams();
7  GammaParams(double n_effective, double weight);
8 
9  void SetNEffectiveAndWeight(double n_effective, double weight);
10  void SetYieldAndUncertainty(double yield, double uncertainty);
11 
12  double Yield() const;
13  void Yield(double yield);
14 
15  double Uncertainty() const;
16  void Uncertainty(double uncertainty);
17 
18  double NEffective() const;
19  void NEffective(double n_effective);
20 
21  double Weight() const;
22  void Weight(double weight);
23 
24  GammaParams & operator+=(const GammaParams &gp);
25 
26 private:
28 };
29 
31 
32 #endif
double Weight() const
double weight_
GammaParams & operator+=(const GammaParams &gp)
void SetYieldAndUncertainty(double yield, double uncertainty)
double Yield() const
double n_effective_
double Uncertainty() const
double NEffective() const
GammaParams operator+(GammaParams gp1, GammaParams gp2)
void SetNEffectiveAndWeight(double n_effective, double weight)