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; | |
| 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 65 of file NagFitStrategy.h.
|
||||||||||||||||||||
|
constructor extracts all of the relevant information from hist.
Definition at line 184 of file NagFitStrategy.cpp. |
|
||||||||||||||||
|
constructor extracts information from the TGraph;
Definition at line 152 of file NagFitStrategy.cpp. |
|
||||||||||||||||
|
constructor extracts information from the TGraphErrors;
Definition at line 167 of file NagFitStrategy.cpp. |
|
|
destructor
Definition at line 199 of file NagFitStrategy.cpp. |
|
|
Sets up pars to contain all the correct parameters.
Definition at line 205 of file NagFitStrategy.cpp. References map, nVarPars, and pars. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
|
Sets up the arrays pars and map.
Definition at line 211 of file NagFitStrategy.cpp. |
|
|
pointer to the function.
Definition at line 87 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
|
Used to hold the params that are varied by Nag.
Definition at line 90 of file NagFitStrategy.h. Referenced by setupPars(). |
|
|
histogram error.
Definition at line 86 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
|
histogram bin centers.
Definition at line 85 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(), and SctFitter::NagFitStrategy::nagFit(). |
|
|
histogram contents.
Definition at line 84 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(). |
|
|
Maps input pars to output pars.
Definition at line 93 of file NagFitStrategy.h. Referenced by convertPars(), and setupPars(). |
|
|
Number of variable params.
Definition at line 89 of file NagFitStrategy.h. Referenced by convertPars(), and setupPars(). |
|
|
holds the internal array of parameters - used when some are fixed
Definition at line 88 of file NagFitStrategy.h. Referenced by SctFitter::NagFitStrategy::chiSquaredFunctionForNag(), convertPars(), and setupPars(). |
1.3-rc3