ra4_stats  0341147a0dc35f80f4e12c6003afb76a38e2ed6e
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)
 
double CorrectedUncertainty () const
 
GammaParamsoperator+= (const GammaParams &gp)
 
GammaParamsoperator*= (double scale)
 

Private Attributes

double n_effective_
 
double weight_
 

Detailed Description

Definition at line 6 of file gamma_params.hpp.

Constructor & Destructor Documentation

GammaParams::GammaParams ( )

Definition at line 5 of file gamma_params.cpp.

GammaParams::GammaParams ( double  n_effective,
double  weight 
)

Definition at line 10 of file gamma_params.cpp.

Member Function Documentation

double GammaParams::CorrectedUncertainty ( ) const

Definition at line 62 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by operator<<(), and WorkspaceGenerator::PrintComparison().

double GammaParams::NEffective ( ) const

Definition at line 46 of file gamma_params.cpp.

References n_effective_.

Referenced by WorkspaceGenerator::AddMCYields(), operator*=(), operator+=(), operator<<(), and Weight().

void GammaParams::NEffective ( double  n_effective)

Definition at line 50 of file gamma_params.cpp.

References SetNEffectiveAndWeight(), and Weight().

GammaParams & GammaParams::operator*= ( double  scale)

Definition at line 75 of file gamma_params.cpp.

References NEffective(), SetNEffectiveAndWeight(), and Weight().

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

Definition at line 25 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by YieldManager::ComputeYield(), NEffective(), operator*=(), operator+=(), and Weight().

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

Definition at line 15 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by YieldManager::ComputeYield(), Process::GetYield(), operator+=(), Uncertainty(), and Yield().

double GammaParams::Uncertainty ( ) const

Definition at line 38 of file gamma_params.cpp.

References n_effective_, and weight_.

Referenced by YieldManager::ComputeYield(), operator+=(), and Yield().

void GammaParams::Uncertainty ( double  uncertainty)

Definition at line 42 of file gamma_params.cpp.

References SetYieldAndUncertainty(), and Yield().

double GammaParams::Weight ( ) const
void GammaParams::Weight ( double  weight)

Definition at line 58 of file gamma_params.cpp.

References NEffective(), and SetNEffectiveAndWeight().

double GammaParams::Yield ( ) const
void GammaParams::Yield ( double  yield)

Definition at line 34 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: