Hold on to parameters for the Chisq_Constrainer class. More...
#include <Chisq_Constrainer.h>
Public Member Functions | |
const Base_Constrainer_Args & | base_constrainer_args () const |
Chisq_Constrainer_Args (const Defaults &defs) | |
Constructor, creates an instance of Chisq_Constrainer_Args from a Defaults object. More... | |
double | chisq_diff_eps () const |
double | chisq_test_eps () const |
double | constraint_sum_eps () const |
double | cutsize () const |
unsigned | max_cut () const |
unsigned | maxit () const |
double | min_tot_cutsize () const |
bool | printfit () const |
bool | use_G () const |
Private Attributes | |
const Base_Constrainer_Args | _base_constrainer_args |
double | _chisq_diff_eps |
double | _chisq_test_eps |
double | _constraint_sum_eps |
double | _cutsize |
int | _max_cut |
int | _maxit |
double | _min_tot_cutsize |
bool | _printfit |
bool | _use_G |
Hold on to parameters for the Chisq_Constrainer class.
Definition at line 85 of file Chisq_Constrainer.h.
hitfit::Chisq_Constrainer_Args::Chisq_Constrainer_Args | ( | const Defaults & | defs | ) |
Constructor, creates an instance of Chisq_Constrainer_Args from a Defaults object.
defs | The Defaults instance from which to instantiate. The instance must contain variables of type and name:
|
Definition at line 62 of file Chisq_Constrainer.cc.
References _chisq_diff_eps, _chisq_test_eps, _constraint_sum_eps, _cutsize, _max_cut, _maxit, _min_tot_cutsize, _printfit, _use_G, hitfit::Defaults::get_bool(), hitfit::Defaults::get_float(), and hitfit::Defaults::get_int().
const Base_Constrainer_Args & hitfit::Chisq_Constrainer_Args::base_constrainer_args | ( | ) | const |
Return the argument for the Base_Constrainer class.
Definition at line 174 of file Chisq_Constrainer.cc.
References _base_constrainer_args.
double hitfit::Chisq_Constrainer_Args::chisq_diff_eps | ( | ) | const |
Return the chisq_diff_eps parameter.
Definition at line 113 of file Chisq_Constrainer.cc.
References _chisq_diff_eps.
Referenced by hitfit::Chisq_Constrainer::fit().
double hitfit::Chisq_Constrainer_Args::chisq_test_eps | ( | ) | const |
Return the chisq_test_eps parameter.
Definition at line 163 of file Chisq_Constrainer.cc.
References _chisq_test_eps.
Referenced by hitfit::Chisq_Constrainer::fit().
double hitfit::Chisq_Constrainer_Args::constraint_sum_eps | ( | ) | const |
Return the constraint_sum_eps parameter.
Definition at line 103 of file Chisq_Constrainer.cc.
References _constraint_sum_eps.
Referenced by hitfit::Chisq_Constrainer::fit().
double hitfit::Chisq_Constrainer_Args::cutsize | ( | ) | const |
Return the cutsize parameter.
Definition at line 143 of file Chisq_Constrainer.cc.
References _cutsize.
Referenced by hitfit::Chisq_Constrainer::fit().
unsigned hitfit::Chisq_Constrainer_Args::max_cut | ( | ) | const |
Return the max_cut parameter.
Definition at line 133 of file Chisq_Constrainer.cc.
References _max_cut.
Referenced by hitfit::Chisq_Constrainer::fit().
unsigned hitfit::Chisq_Constrainer_Args::maxit | ( | ) | const |
Return the maxit parameter.
Definition at line 123 of file Chisq_Constrainer.cc.
References _maxit.
Referenced by hitfit::Chisq_Constrainer::fit().
double hitfit::Chisq_Constrainer_Args::min_tot_cutsize | ( | ) | const |
Return the min_tot_cutsize parameter.
Definition at line 153 of file Chisq_Constrainer.cc.
References _min_tot_cutsize.
Referenced by hitfit::Chisq_Constrainer::fit().
bool hitfit::Chisq_Constrainer_Args::printfit | ( | ) | const |
Return the printfit parameter.
Definition at line 83 of file Chisq_Constrainer.cc.
References _printfit.
Referenced by hitfit::Chisq_Constrainer::fit().
bool hitfit::Chisq_Constrainer_Args::use_G | ( | ) | const |
Return the use_G parameter.
Definition at line 93 of file Chisq_Constrainer.cc.
References _use_G.
Referenced by hitfit::Chisq_Constrainer::fit().
|
private |
Parameters for the underlying base class Base_Constrainer.
Definition at line 241 of file Chisq_Constrainer.h.
Referenced by base_constrainer_args().
|
private |
Convergence threshold for change in .
Definition at line 209 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and chisq_diff_eps().
|
private |
When use_G is true, the maximum relative difference between the calculations.
Definition at line 235 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and chisq_test_eps().
|
private |
Convergence threshold for sum of constraints.
Definition at line 204 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and constraint_sum_eps().
|
private |
Fraction by which to cut steps.
Definition at line 224 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and cutsize().
|
private |
Maximum number of cut steps permitted.
Definition at line 219 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and max_cut().
|
private |
Maxium number of iterations permitted.
Definition at line 214 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and maxit().
|
private |
Smallest fractional cut step permitted.
Definition at line 229 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and min_tot_cutsize().
|
private |
If true, print a trace of the fit to std::cout.
Definition at line 192 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and printfit().
|
private |
If true, check the formula by computing the directly from . This requires that be invertible.
Definition at line 199 of file Chisq_Constrainer.h.
Referenced by Chisq_Constrainer_Args(), and use_G().