#include <TChi2FCN.h>
Inheritance diagram for TChi2FCN:
Public Types | |
typedef TF1 | ModelFunction |
typedef TF1 | ModelFunction |
Public Member Functions | |
TChi2FCN (const TVirtualFitter &fitter) | |
TChi2FCN (TChi2FitData *data, ModelFunction *func) | |
~TChi2FCN () | |
double | operator() (const std::vector< double > &) const |
double | Up () const |
void | SetErrorDef (double up) |
TChi2FCN (const TVirtualFitter &fitter) | |
TChi2FCN (TChi2FitData *data, ModelFunction *func) | |
~TChi2FCN () | |
double | operator() (const std::vector< double > &) const |
double | Up () const |
void | SetErrorDef (double up) |
Private Attributes | |
double | fUp |
bool | fOwner |
TChi2FitData * | fData |
ModelFunction * | fFunc |
TChi2FitData * | fData |
ModelFunction * | fFunc |
Definition at line 25 of file TChi2FCN.h.
typedef TF1 TChi2FCN::ModelFunction |
Definition at line 32 of file TChi2FCN.h.
typedef TF1 TChi2FCN::ModelFunction |
Definition at line 32 of file TChi2FCN.h.
TChi2FCN::TChi2FCN | ( | const TVirtualFitter & | fitter | ) |
construct passing fitter which has ROOT data object and model function.
Definition at line 26 of file TChi2FCN.cxx.
References fData, fFunc, TVirtualFitter::GetUserFunc(), TF1::SetNumberFitPoints(), and TChi2FitData::Size().
TChi2FCN::TChi2FCN | ( | TChi2FitData * | data, | |
ModelFunction * | func | |||
) | [inline] |
constructor passing data and function In this case does not own the data
Definition at line 45 of file TChi2FCN.h.
TChi2FCN::~TChi2FCN | ( | ) |
this class manages the fit data class. Delete it at the end
Definition at line 44 of file TChi2FCN.cxx.
References fData, fOwner, and TChi2FitData::Size().
TChi2FCN::TChi2FCN | ( | const TVirtualFitter & | fitter | ) |
construct passing fitter which has ROOT data object and model function.
TChi2FCN::TChi2FCN | ( | TChi2FitData * | data, | |
ModelFunction * | func | |||
) | [inline] |
constructor passing data and function In this case does not own the data
Definition at line 45 of file TChi2FCN.h.
TChi2FCN::~TChi2FCN | ( | ) |
this class manages the fit data class. Delete it at the end
evaluate objective function
Implements ROOT::Minuit2::FCNBase.
Definition at line 56 of file TChi2FCN.cxx.
References TChi2FitData::Coords(), FitterUtil::EvalIntegral(), TF1::EvalPar(), fData, fFunc, i, TF1::InitArgs(), TChi2FitData::InvError(), n, TF1::RejectedPoint(), TF1::RejectPoint(), TF1::SetNumberFitPoints(), TChi2FitData::Size(), TChi2FitData::UseIntegral(), TChi2FitData::Value(), x, x2, and y.
double TChi2FCN::Up | ( | ) | const [inline, virtual] |
return error definition for chi2 = 1
Implements ROOT::Minuit2::FCNBase.
Definition at line 70 of file TChi2FCN.h.
References fUp.
void TChi2FCN::SetErrorDef | ( | double | up | ) | [inline, virtual] |
add interface to set dynamically a new error definition Re-implement this function if needed.
Reimplemented from ROOT::Minuit2::FCNBase.
Definition at line 72 of file TChi2FCN.h.
References fUp.
evaluate objective function
Implements ROOT::Minuit2::FCNBase.
double TChi2FCN::Up | ( | ) | const [inline, virtual] |
return error definition for chi2 = 1
Implements ROOT::Minuit2::FCNBase.
Definition at line 70 of file TChi2FCN.h.
References fUp.
void TChi2FCN::SetErrorDef | ( | double | up | ) | [inline, virtual] |
add interface to set dynamically a new error definition Re-implement this function if needed.
Reimplemented from ROOT::Minuit2::FCNBase.
Definition at line 72 of file TChi2FCN.h.
References fUp.
double TChi2FCN::fUp [private] |
bool TChi2FCN::fOwner [private] |
TChi2FitData* TChi2FCN::fData [private] |
ModelFunction* TChi2FCN::fFunc [mutable, private] |
TChi2FitData* TChi2FCN::fData [private] |
Definition at line 82 of file TChi2FCN.h.
ModelFunction* TChi2FCN::fFunc [mutable, private] |
Definition at line 83 of file TChi2FCN.h.