ra4_stats
0341147a0dc35f80f4e12c6003afb76a38e2ed6e
|
#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 |
GammaParams & | operator+= (const GammaParams &gp) |
GammaParams & | operator*= (double scale) |
Private Attributes | |
double | n_effective_ |
double | weight_ |
Definition at line 6 of file gamma_params.hpp.
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.
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 | ) |
Definition at line 66 of file gamma_params.cpp.
References NEffective(), SetNEffectiveAndWeight(), SetYieldAndUncertainty(), Uncertainty(), Weight(), and Yield().
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 |
Definition at line 54 of file gamma_params.cpp.
References weight_.
Referenced by WorkspaceGenerator::AddMCYields(), YieldManager::ComputeYield(), NEffective(), operator*=(), operator+=(), and operator<<().
void GammaParams::Weight | ( | double | weight | ) |
Definition at line 58 of file gamma_params.cpp.
References NEffective(), and SetNEffectiveAndWeight().
double GammaParams::Yield | ( | ) | const |
Definition at line 30 of file gamma_params.cpp.
References n_effective_, and weight_.
Referenced by WorkspaceGenerator::AddABCDParameters(), WorkspaceGenerator::AddData(), WorkspaceGenerator::AddDileptonSystematic(), YieldManager::ComputeYield(), operator+=(), operator<<(), WorkspaceGenerator::PrintComparison(), and Uncertainty().
void GammaParams::Yield | ( | double | yield | ) |
Definition at line 34 of file gamma_params.cpp.
References SetYieldAndUncertainty(), and Uncertainty().
|
private |
Definition at line 32 of file gamma_params.hpp.
Referenced by CorrectedUncertainty(), NEffective(), SetNEffectiveAndWeight(), SetYieldAndUncertainty(), Uncertainty(), and Yield().
|
private |
Definition at line 32 of file gamma_params.hpp.
Referenced by CorrectedUncertainty(), SetNEffectiveAndWeight(), SetYieldAndUncertainty(), Uncertainty(), Weight(), and Yield().