Public Member Functions | |
Cache (const TH1 &hist, const unsigned npoints, const unsigned firstpoint, TF1 &fit) throw (LogicError, MathsError) | |
constructor extracts all of the relevant information from hist. | |
Cache (const TGraph &graph, TF1 &fit, const vector< bool > &active) throw (LogicError, MathsError) | |
constructor extracts information from the TGraph; | |
Cache (const TGraphErrors &graph, TF1 &fit, const vector< bool > &active) throw (LogicError, MathsError) | |
constructor extracts information from the TGraphErrors; | |
Cache (const TGraphAsymmErrors &graph, TF1 &fit, const vector< bool > &active) throw (LogicError, MathsError) | |
Sets up pars to contain all the correct parameters /// constructor extracts information from the TGraphErrors;. | |
void | convertPars (double inPars[]) |
Sets up pars to contain all the correct parameters. | |
void | setupPars (TF1 &fit) |
Sets up the arrays pars and map. | |
~Cache () throw () | |
destructor | |
Data Fields | |
vector< double > | m_y |
histogram contents. | |
vector< double > | m_x |
histogram bin centers. | |
vector< double > | m_ey |
histogram error. | |
TF1 * | function |
pointer to the function. | |
double * | pars |
holds the internal array of parameters - used when some are fixed | |
unsigned int | nVarPars |
Number of variable params. | |
double * | inPars |
Used to hold the params that are varied by Nag. | |
Private Attributes | |
int * | map |
Maps input pars to output pars. |
Definition at line 67 of file NagFitStrategy.h.
|
constructor extracts all of the relevant information from hist.
Definition at line 215 of file NagFitStrategy.cpp. |
|
constructor extracts information from the TGraph;
Definition at line 165 of file NagFitStrategy.cpp. |
|
constructor extracts information from the TGraphErrors;
Definition at line 180 of file NagFitStrategy.cpp. |
|
Sets up pars to contain all the correct parameters /// constructor extracts information from the TGraphErrors;.
Definition at line 197 of file NagFitStrategy.cpp. |
|
destructor
Definition at line 230 of file NagFitStrategy.cpp. |
|
Sets up pars to contain all the correct parameters.
Definition at line 236 of file NagFitStrategy.cpp. References map, nVarPars, and pars. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
Sets up the arrays pars and map.
Definition at line 242 of file NagFitStrategy.cpp. |
|
pointer to the function.
Definition at line 92 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
Used to hold the params that are varied by Nag.
Definition at line 95 of file NagFitStrategy.h. Referenced by setupPars(), and ~Cache(). |
|
histogram error.
Definition at line 91 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
histogram bin centers.
Definition at line 90 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
histogram contents.
Definition at line 89 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
Maps input pars to output pars.
Definition at line 98 of file NagFitStrategy.h. Referenced by convertPars(), setupPars(), and ~Cache(). |
|
Number of variable params.
Definition at line 94 of file NagFitStrategy.h. Referenced by convertPars(), and setupPars(). |
|
holds the internal array of parameters - used when some are fixed
Definition at line 93 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(), convertPars(), setupPars(), and ~Cache(). |