ra4_macros  bede988c286599a3a84b77a4d788ac0a971e89f9
Public Member Functions | Private Attributes | List of all members
GammaParams Class Reference

#include <gamma_params.hpp>

Public Member Functions

 GammaParams ()
 
 GammaParams (double n_effective, double weight)
 
void SetNEffectiveAndWeight (double n_effective, double weight)
 
void SetYieldAndUncertainty (double yield, double uncertainty)
 
double Yield () const
 
void Yield (double yield)
 
double Uncertainty () const
 
void Uncertainty (double uncertainty)
 
double NEffective () const
 
void NEffective (double n_effective)
 
double Weight () const
 
void Weight (double weight)
 
GammaParamsoperator+= (const GammaParams &gp)
 

Private Attributes

double n_effective_
 
double weight_
 

Detailed Description

Definition at line 4 of file gamma_params.hpp.

Constructor & Destructor Documentation

GammaParams::GammaParams ( )

Definition at line 7 of file gamma_params.cpp.

GammaParams::GammaParams ( double  n_effective,
double  weight 
)

Definition at line 12 of file gamma_params.cpp.

Member Function Documentation

double GammaParams::NEffective ( ) const

Definition at line 48 of file gamma_params.cpp.

References n_effective_.

Referenced by operator+=(), and Weight().

void GammaParams::NEffective ( double  n_effective)

Definition at line 52 of file gamma_params.cpp.

References SetNEffectiveAndWeight(), and Weight().

GammaParams & GammaParams::operator+= ( const GammaParams gp)
void GammaParams::SetNEffectiveAndWeight ( double  n_effective,
double  weight 
)

Definition at line 27 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by NEffective(), operator+=(), and Weight().

void GammaParams::SetYieldAndUncertainty ( double  yield,
double  uncertainty 
)

Definition at line 17 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by operator+=(), Uncertainty(), and Yield().

double GammaParams::Uncertainty ( ) const

Definition at line 40 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by operator+=(), and Yield().

void GammaParams::Uncertainty ( double  uncertainty)

Definition at line 44 of file gamma_params.cpp.

References SetYieldAndUncertainty(), and Yield().

double GammaParams::Weight ( ) const

Definition at line 56 of file gamma_params.cpp.

References weight_.

Referenced by NEffective(), and operator+=().

void GammaParams::Weight ( double  weight)

Definition at line 60 of file gamma_params.cpp.

References NEffective(), and SetNEffectiveAndWeight().

double GammaParams::Yield ( ) const

Definition at line 32 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by operator+=(), and Uncertainty().

void GammaParams::Yield ( double  yield)

Definition at line 36 of file gamma_params.cpp.

References SetYieldAndUncertainty(), and Uncertainty().

Member Data Documentation

double GammaParams::n_effective_
private
double GammaParams::weight_
private

The documentation for this class was generated from the following files: