GooFit
v2.1.3
|
#include <FCN.h>
Public Member Functions | |
FCN (Params ¶ms) | |
Create an FCN given parameters (PDF reference is inside params) More... | |
double | operator() (const std::vector< double > &pars) const override |
Run the fit (used by Minuit2 class) More... | |
double | operator() () const |
produce the FCN value for the current values of the parameters More... | |
double | Up () const override |
This value is 0.5 for ll, 1 for chi2. More... | |
Params * | GetParams () |
Get a pointer to the parameters. More... | |
Protected Attributes | |
Params * | params_ |
GooFit::FCN::FCN | ( | Params & | params | ) |
Create an FCN given parameters (PDF reference is inside params)
Definition at line 9 of file FCN.cpp.
References GooFit::host_callnumber, params_, GooFit::Variable::setChanged(), and GooFit::Params::vars_.
Params * GooFit::FCN::GetParams | ( | ) |
|
override |
Run the fit (used by Minuit2 class)
Definition at line 18 of file FCN.cpp.
References GooFit::PdfBase::calculateNLL(), GooFit::Params::from_minuit_vector(), GOOFIT_TRACE, GooFit::host_callnumber, params_, and GooFit::Params::pdf_.
double GooFit::FCN::operator() | ( | ) | const |
produce the FCN value for the current values of the parameters
Definition at line 30 of file FCN.cpp.
References GooFit::PdfBase::calculateNLL(), GooFit::Params::from_minuit_vector(), GOOFIT_TRACE, GooFit::host_callnumber, GooFit::Params::make_minuit_vector(), params_, and GooFit::Params::pdf_.
|
inlineoverride |
|
protected |
Definition at line 13 of file FCN.h.
Referenced by FCN(), GetParams(), and operator()().