Geant4-11
|
#include <G4ConvergenceTester.hh>
Public Member Functions | |
void | AddScore (G4double) |
void | ComputeStatistics () |
G4ConvergenceTester (const G4String &theName="NONAME") | |
G4ConvergenceTester (G4double) | |
G4double | GetEfficiency () |
G4double | GetFOM () |
G4double | GetMean () |
G4double | GetR () |
G4double | GetR2eff () |
G4double | GetR2int () |
G4double | GetShift () |
G4double | GetStandardDeviation () |
G4double | GetValueOfMinimizingFunction (std::vector< G4double > x) |
G4double | GetVariance () |
G4double | GetVOV () |
G4ConvergenceTester & | operator+= (G4double val) |
void | ShowHistory (std::ostream &out=G4cout) |
void | ShowResult (std::ostream &out=G4cout) |
~G4ConvergenceTester () | |
Private Member Functions | |
void | calc_grid_point_of_history () |
G4double | calc_Pearson_r (G4int, std::vector< G4double >, std::vector< G4double >) |
void | calc_slope_fit (std::vector< G4double >) |
void | calc_stat_history () |
void | calStat () |
void | check_stat_history (std::ostream &out=G4cout) |
void | CheckIsUpdated () |
G4bool | is_monotonically_decrease (std::vector< G4double >) |
G4double | slope_fitting_function (std::vector< G4double >) |
Definition at line 54 of file G4ConvergenceTester.hh.
G4ConvergenceTester::G4ConvergenceTester | ( | const G4String & | theName = "NONAME" | ) |
Definition at line 40 of file G4ConvergenceTester.cc.
References cpu_time, e_history, fom_history, history_grid, largest_scores, mean_history, noBinOfHistory, nonzero_histories, r2eff_history, r2int_history, r_history, sd_history, shift_history, G4Timer::Start(), timer, var_history, and vov_history.
G4ConvergenceTester::~G4ConvergenceTester | ( | ) |
G4ConvergenceTester::G4ConvergenceTester | ( | G4double | ) |
void G4ConvergenceTester::AddScore | ( | G4double | x | ) |
Definition at line 70 of file G4ConvergenceTester.cc.
References anonymous_namespace{G4ConvergenceTester.cc}::aMutex, cpu_time, G4Exception(), G4Timer::GetSystemElapsed(), G4Timer::GetUserElapsed(), JustWarning, largest_scores, n, nonzero_histories, statsAreUpdated, G4Timer::Stop(), sum, timer, and G4TemplateAutoLock< _Mutex_t >::unlock().
Referenced by operator+=().
|
private |
Definition at line 247 of file G4ConvergenceTester.cc.
References history_grid, n, and noBinOfHistory.
Referenced by calStat().
|
private |
Definition at line 634 of file G4ConvergenceTester.cc.
Referenced by check_stat_history().
|
private |
Definition at line 682 of file G4ConvergenceTester.cc.
References f_xi, f_yi, G4SimplexDownhill< T >::GetMinimumPoint(), largest_scores, G4INCL::Math::max(), G4INCL::Math::min(), minimizer, n, noBinOfPDF, and slope.
Referenced by calStat().
|
private |
Definition at line 260 of file G4ConvergenceTester.cc.
References cpu_time, e_history, fom_history, history_grid, mean_history, noBinOfHistory, nonzero_histories, r2eff_history, r2int_history, r_history, sd_history, shift_history, showHistory, var_history, and vov_history.
Referenced by calStat().
|
private |
Definition at line 119 of file G4ConvergenceTester.cc.
References calc_grid_point_of_history(), calc_slope_fit(), calc_stat_history(), calcSLOPE, cpu_time, efficiency, fom, fom_1, largest, largest_score_happened, largest_scores, mean, mean_1, n, nonzero_histories, r, r2eff, r2int, r_1, sd, sd_1, shift, shift_1, statsAreUpdated, sum, var, var_1, vov, and vov_1.
Referenced by CheckIsUpdated(), ComputeStatistics(), and ShowResult().
|
private |
Definition at line 496 of file G4ConvergenceTester.cc.
References calc_Pearson_r(), fom_history, G4endl, history_grid, is_monotonically_decrease(), mean_history, noPass, r_history, var_history, and vov_history.
Referenced by ShowResult().
|
inlineprivate |
Definition at line 103 of file G4ConvergenceTester.hh.
References calStat(), and statsAreUpdated.
Referenced by GetEfficiency(), GetFOM(), GetMean(), GetR(), GetR2eff(), GetR2int(), GetShift(), GetStandardDeviation(), GetVariance(), and GetVOV().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 74 of file G4ConvergenceTester.hh.
References slope_fitting_function().
|
inline |
|
inline |
Definition at line 669 of file G4ConvergenceTester.cc.
References FALSE, noPass, and TRUE.
Referenced by check_stat_history().
|
inline |
Definition at line 64 of file G4ConvergenceTester.hh.
References AddScore().
void G4ConvergenceTester::ShowHistory | ( | std::ostream & | out = G4cout | ) |
Definition at line 465 of file G4ConvergenceTester.cc.
References e_history, fom_history, G4endl, history_grid, mean_history, name, noBinOfHistory, r2eff_history, r2int_history, r_history, sd_history, shift_history, showHistory, var_history, and vov_history.
void G4ConvergenceTester::ShowResult | ( | std::ostream & | out = G4cout | ) |
Definition at line 357 of file G4ConvergenceTester.cc.
References calcSLOPE, calStat(), check_stat_history(), efficiency, fom, fom_1, G4endl, largest, largest_score_happened, mean, mean_1, name, noPass, noTotal, r, r_1, sd, shift, shift_1, showHistory, slope, statsAreUpdated, var, var_1, and vov.
Definition at line 763 of file G4ConvergenceTester.cc.
Referenced by GetValueOfMinimizingFunction().
|
private |
Definition at line 173 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 124 of file G4ConvergenceTester.hh.
Referenced by AddScore(), calc_stat_history(), calStat(), and G4ConvergenceTester().
|
private |
Definition at line 157 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 130 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetEfficiency(), and ShowResult().
|
private |
Definition at line 163 of file G4ConvergenceTester.hh.
Referenced by calc_slope_fit(), and slope_fitting_function().
|
private |
Definition at line 164 of file G4ConvergenceTester.hh.
Referenced by calc_slope_fit(), and slope_fitting_function().
|
private |
Definition at line 135 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetFOM(), and ShowResult().
|
private |
Definition at line 146 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 155 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), check_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 149 of file G4ConvergenceTester.hh.
Referenced by calc_grid_point_of_history(), calc_stat_history(), check_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 137 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 138 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 162 of file G4ConvergenceTester.hh.
Referenced by AddScore(), calc_slope_fit(), calStat(), and G4ConvergenceTester().
|
private |
Definition at line 126 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetMean(), and ShowResult().
|
private |
Definition at line 140 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 150 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), check_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 166 of file G4ConvergenceTester.hh.
Referenced by calc_slope_fit().
|
private |
Definition at line 120 of file G4ConvergenceTester.hh.
Referenced by AddScore(), calc_grid_point_of_history(), calc_slope_fit(), and calStat().
|
private |
Definition at line 118 of file G4ConvergenceTester.hh.
Referenced by source.g4viscp.G4Scene::create_scene(), mcscore.MCParticle::printout(), ShowHistory(), ShowResult(), and source.g4viscp.G4Scene::update_scene().
|
private |
Definition at line 148 of file G4ConvergenceTester.hh.
Referenced by calc_grid_point_of_history(), calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 165 of file G4ConvergenceTester.hh.
Referenced by calc_slope_fit().
Definition at line 119 of file G4ConvergenceTester.hh.
Referenced by AddScore(), calc_stat_history(), calStat(), and G4ConvergenceTester().
|
private |
Definition at line 168 of file G4ConvergenceTester.hh.
Referenced by check_stat_history(), is_monotonically_decrease(), and ShowResult().
|
private |
Definition at line 169 of file G4ConvergenceTester.hh.
Referenced by ShowResult().
|
private |
Definition at line 129 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetR(), and ShowResult().
|
private |
Definition at line 131 of file G4ConvergenceTester.hh.
Referenced by calStat(), and GetR2eff().
|
private |
Definition at line 158 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 132 of file G4ConvergenceTester.hh.
Referenced by calStat(), and GetR2int().
|
private |
Definition at line 159 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 143 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 153 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), check_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 128 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetStandardDeviation(), and ShowResult().
|
private |
Definition at line 142 of file G4ConvergenceTester.hh.
Referenced by calStat().
|
private |
Definition at line 152 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 133 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetShift(), and ShowResult().
|
private |
Definition at line 144 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 156 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 172 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), ShowHistory(), and ShowResult().
|
private |
Definition at line 161 of file G4ConvergenceTester.hh.
Referenced by calc_slope_fit(), and ShowResult().
|
private |
Definition at line 171 of file G4ConvergenceTester.hh.
Referenced by AddScore(), calStat(), CheckIsUpdated(), and ShowResult().
|
private |
Definition at line 121 of file G4ConvergenceTester.hh.
Referenced by AddScore(), and calStat().
|
private |
Definition at line 123 of file G4ConvergenceTester.hh.
Referenced by AddScore(), G4ConvergenceTester(), and ~G4ConvergenceTester().
|
private |
Definition at line 127 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetVariance(), and ShowResult().
|
private |
Definition at line 141 of file G4ConvergenceTester.hh.
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 151 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), check_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 134 of file G4ConvergenceTester.hh.
Referenced by calStat(), GetVOV(), and ShowResult().
|
private |
Definition at line 145 of file G4ConvergenceTester.hh.
Referenced by calStat().
|
private |
Definition at line 154 of file G4ConvergenceTester.hh.
Referenced by calc_stat_history(), check_stat_history(), G4ConvergenceTester(), and ShowHistory().