ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/global/HEPNumerics/include/G4ConvergenceTester.hh>
Public Member Functions | |
G4ConvergenceTester (G4String theName="NONAME") | |
~G4ConvergenceTester () | |
G4ConvergenceTester (G4double) | |
void | AddScore (G4double) |
G4ConvergenceTester & | operator+= (G4double val) |
void | ShowHistory (std::ostream &out=G4cout) |
void | ShowResult (std::ostream &out=G4cout) |
G4double | GetValueOfMinimizingFunction (std::vector< G4double > x) |
void | ComputeStatistics () |
G4double | GetMean () |
G4double | GetStandardDeviation () |
G4double | GetVariance () |
G4double | GetR () |
G4double | GetEfficiency () |
G4double | GetR2eff () |
G4double | GetR2int () |
G4double | GetShift () |
G4double | GetVOV () |
G4double | GetFOM () |
Private Member Functions | |
void | calStat () |
void | CheckIsUpdated () |
void | calc_grid_point_of_history () |
void | calc_stat_history () |
void | check_stat_history (std::ostream &out=G4cout) |
G4double | calc_Pearson_r (G4int, std::vector< G4double >, std::vector< G4double >) |
G4bool | is_monotonically_decrease (std::vector< G4double >) |
void | calc_slope_fit (std::vector< G4double >) |
G4double | slope_fitting_function (std::vector< G4double >) |
Definition at line 57 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 57 of file G4ConvergenceTester.hh
G4ConvergenceTester::G4ConvergenceTester | ( | G4String | theName = "NONAME" | ) |
Definition at line 46 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 46 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 | ( | ) |
Definition at line 78 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 78 of file G4ConvergenceTester.cc
References timer.
G4ConvergenceTester::G4ConvergenceTester | ( | G4double | ) |
Definition at line 85 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 85 of file G4ConvergenceTester.cc
References cpu_time, G4cout, G4endl, G4Timer::GetSystemElapsed(), G4Timer::GetUserElapsed(), it, largest_scores, n, nonzero_histories, statsAreUpdated, G4Timer::Stop(), sum, timer, and x.
Referenced by B1ConRunAction::EndOfRunAction(), and operator+=().
|
private |
Definition at line 263 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 263 of file G4ConvergenceTester.cc
References history_grid, int(), n, and noBinOfHistory.
Referenced by calStat().
|
private |
Definition at line 649 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 649 of file G4ConvergenceTester.cc
Referenced by check_stat_history().
Definition at line 700 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 700 of file G4ConvergenceTester.cc
References f_xi, f_yi, G4SimplexDownhill< T >::GetMinimumPoint(), int(), k, largest_scores, max, min, minimizer, n, noBinOfPDF, and slope.
Referenced by calStat().
|
private |
Definition at line 282 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 282 of file G4ConvergenceTester.cc
References cpu_time, e_history, fom_history, history_grid, it, 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 133 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 133 of file G4ConvergenceTester.cc
References kdfinder::abs(), calc_grid_point_of_history(), calc_slope_fit(), calc_stat_history(), calcSLOPE, cpu_time, efficiency, fom, fom_1, int(), it, 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().
Definition at line 506 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 506 of file G4ConvergenceTester.cc
References calc_Pearson_r(), fom_history, G4endl, history_grid, is_monotonically_decrease(), mean_history, N, noPass, r_history, t, var_history, and vov_history.
Referenced by ShowResult().
|
inlineprivate |
Definition at line 86 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 86 of file G4ConvergenceTester.hh
References calStat(), and statsAreUpdated.
Referenced by GetEfficiency(), GetFOM(), GetMean(), GetR(), GetR2eff(), GetR2int(), GetShift(), GetStandardDeviation(), GetVariance(), and GetVOV().
|
inline |
Definition at line 90 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 90 of file G4ConvergenceTester.hh
References calStat().
|
inline |
Definition at line 97 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 97 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and efficiency.
|
inline |
Definition at line 102 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 102 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and fom.
|
inline |
Definition at line 93 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 93 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and mean.
|
inline |
Definition at line 96 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 96 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and r.
|
inline |
Definition at line 98 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 98 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and r2eff.
|
inline |
Definition at line 99 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 99 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and r2int.
|
inline |
Definition at line 100 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 100 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and shift.
|
inline |
Definition at line 94 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 94 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and sd.
Definition at line 76 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 76 of file G4ConvergenceTester.hh
References slope_fitting_function().
|
inline |
Definition at line 95 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 95 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and var.
|
inline |
Definition at line 101 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 101 of file G4ConvergenceTester.hh
References CheckIsUpdated(), and vov.
Definition at line 684 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 684 of file G4ConvergenceTester.cc
References FALSE, it, noPass, and TRUE.
Referenced by check_stat_history().
|
inline |
Definition at line 69 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 69 of file G4ConvergenceTester.hh
References AddScore().
Definition at line 465 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 465 of file G4ConvergenceTester.cc
References e_history, fom_history, G4endl, history_grid, mean_history, noBinOfHistory, r2eff_history, r2int_history, r_history, sd_history, shift_history, showHistory, var_history, and vov_history.
Referenced by B1ConRunAction::EndOfRunAction().
Definition at line 392 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 392 of file G4ConvergenceTester.cc
References calcSLOPE, calStat(), check_stat_history(), efficiency, fom, fom_1, G4endl, largest, largest_score_happened, mean, mean_1, noPass, noTotal, r, r_1, sd, shift, shift_1, showHistory, slope, statsAreUpdated, var, var_1, and vov.
Referenced by B1ConRunAction::EndOfRunAction().
Definition at line 790 of file G4ConvergenceTester.cc.
View newest version in sPHENIX GitHub at line 790 of file G4ConvergenceTester.cc
References a, f_xi, f_yi, int(), k, and y.
Referenced by GetValueOfMinimizingFunction().
|
private |
Definition at line 174 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 174 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 124 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 157 of file G4ConvergenceTester.hh
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 130 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 130 of file G4ConvergenceTester.hh
Referenced by calStat(), GetEfficiency(), and ShowResult().
|
private |
Definition at line 163 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 135 of file G4ConvergenceTester.hh
Referenced by calStat(), GetFOM(), and ShowResult().
|
private |
Definition at line 146 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 146 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 155 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 137 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 138 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 138 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 162 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 126 of file G4ConvergenceTester.hh
Referenced by calStat(), GetMean(), and ShowResult().
|
private |
Definition at line 140 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 140 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 150 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 166 of file G4ConvergenceTester.hh
Referenced by calc_slope_fit().
|
private |
Definition at line 119 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 119 of file G4ConvergenceTester.hh
Referenced by AddScore(), calc_grid_point_of_history(), calc_slope_fit(), and calStat().
|
private |
Definition at line 116 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 116 of file G4ConvergenceTester.hh
|
private |
Definition at line 148 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 165 of file G4ConvergenceTester.hh
Referenced by calc_slope_fit().
Definition at line 117 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 117 of file G4ConvergenceTester.hh
Referenced by AddScore(), calc_stat_history(), calStat(), and G4ConvergenceTester().
|
private |
Definition at line 168 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 169 of file G4ConvergenceTester.hh
Referenced by ShowResult().
|
private |
Definition at line 129 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 129 of file G4ConvergenceTester.hh
Referenced by calStat(), GetR(), and ShowResult().
|
private |
Definition at line 131 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 131 of file G4ConvergenceTester.hh
Referenced by calStat(), and GetR2eff().
|
private |
Definition at line 158 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 158 of file G4ConvergenceTester.hh
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 132 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 132 of file G4ConvergenceTester.hh
Referenced by calStat(), and GetR2int().
|
private |
Definition at line 159 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 159 of file G4ConvergenceTester.hh
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 143 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 143 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 153 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 128 of file G4ConvergenceTester.hh
Referenced by calStat(), GetStandardDeviation(), and ShowResult().
|
private |
Definition at line 142 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 142 of file G4ConvergenceTester.hh
Referenced by calStat().
|
private |
Definition at line 152 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 152 of file G4ConvergenceTester.hh
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 133 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 133 of file G4ConvergenceTester.hh
Referenced by calStat(), GetShift(), and ShowResult().
|
private |
Definition at line 144 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 144 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 156 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 156 of file G4ConvergenceTester.hh
Referenced by calc_stat_history(), G4ConvergenceTester(), and ShowHistory().
|
private |
Definition at line 173 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 173 of file G4ConvergenceTester.hh
Referenced by calc_stat_history(), ShowHistory(), and ShowResult().
|
private |
Definition at line 161 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 161 of file G4ConvergenceTester.hh
Referenced by calc_slope_fit(), and ShowResult().
|
private |
Definition at line 171 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 171 of file G4ConvergenceTester.hh
Referenced by AddScore(), calStat(), CheckIsUpdated(), and ShowResult().
|
private |
Definition at line 121 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 121 of file G4ConvergenceTester.hh
Referenced by AddScore(), and calStat().
|
private |
Definition at line 123 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 123 of file G4ConvergenceTester.hh
Referenced by AddScore(), G4ConvergenceTester(), and ~G4ConvergenceTester().
|
private |
Definition at line 127 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 127 of file G4ConvergenceTester.hh
Referenced by calStat(), GetVariance(), and ShowResult().
|
private |
Definition at line 141 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 141 of file G4ConvergenceTester.hh
Referenced by calStat(), and ShowResult().
|
private |
Definition at line 151 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 134 of file G4ConvergenceTester.hh
Referenced by calStat(), GetVOV(), and ShowResult().
|
private |
Definition at line 145 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 145 of file G4ConvergenceTester.hh
Referenced by calStat().
|
private |
Definition at line 154 of file G4ConvergenceTester.hh.
View newest version in sPHENIX GitHub at line 154 of file G4ConvergenceTester.hh
Referenced by calc_stat_history(), check_stat_history(), G4ConvergenceTester(), and ShowHistory().