#include <TBinLikelihoodFCN.h>
Inheritance diagram for TBinLikelihoodFCN:
Public Types | |
typedef TF1 | ModelFunction |
typedef TChi2FitData | BinLikelihoodFitData |
typedef TF1 | ModelFunction |
typedef TChi2FitData | BinLikelihoodFitData |
Public Member Functions | |
TBinLikelihoodFCN (const TVirtualFitter &fitter) | |
TBinLikelihoodFCN (TChi2FitData *data, ModelFunction *func) | |
~TBinLikelihoodFCN () | |
double | operator() (const std::vector< double > &) const |
double | Up () const |
void | SetErrorDef (double up) |
double | Chi2 (const std::vector< double > &) const |
TBinLikelihoodFCN (const TVirtualFitter &fitter) | |
TBinLikelihoodFCN (TChi2FitData *data, ModelFunction *func) | |
~TBinLikelihoodFCN () | |
double | operator() (const std::vector< double > &) const |
double | Up () const |
void | SetErrorDef (double up) |
double | Chi2 (const std::vector< double > &) const |
Private Attributes | |
double | fUp |
bool | fOwner |
BinLikelihoodFitData * | fData |
ModelFunction * | fFunc |
BinLikelihoodFitData * | fData |
ModelFunction * | fFunc |
Definition at line 24 of file TBinLikelihoodFCN.h.
typedef TF1 TBinLikelihoodFCN::ModelFunction |
Definition at line 31 of file TBinLikelihoodFCN.h.
Definition at line 33 of file TBinLikelihoodFCN.h.
typedef TF1 TBinLikelihoodFCN::ModelFunction |
Definition at line 31 of file TBinLikelihoodFCN.h.
Definition at line 33 of file TBinLikelihoodFCN.h.
TBinLikelihoodFCN::TBinLikelihoodFCN | ( | const TVirtualFitter & | fitter | ) |
construct passing fitter which has ROOT data object and model function.
Definition at line 28 of file TBinLikelihoodFCN.cxx.
References fData, fFunc, TVirtualFitter::GetUserFunc(), TF1::SetNumberFitPoints(), and TChi2FitData::Size().
TBinLikelihoodFCN::TBinLikelihoodFCN | ( | TChi2FitData * | data, | |
ModelFunction * | func | |||
) | [inline] |
constructor passing data and function In this case does not own the data
Definition at line 46 of file TBinLikelihoodFCN.h.
TBinLikelihoodFCN::~TBinLikelihoodFCN | ( | ) |
this class manages the fit data class. Delete it at the end
Definition at line 48 of file TBinLikelihoodFCN.cxx.
References fData, fOwner, and TChi2FitData::Size().
TBinLikelihoodFCN::TBinLikelihoodFCN | ( | const TVirtualFitter & | fitter | ) |
construct passing fitter which has ROOT data object and model function.
TBinLikelihoodFCN::TBinLikelihoodFCN | ( | TChi2FitData * | data, | |
ModelFunction * | func | |||
) | [inline] |
constructor passing data and function In this case does not own the data
Definition at line 46 of file TBinLikelihoodFCN.h.
TBinLikelihoodFCN::~TBinLikelihoodFCN | ( | ) |
this class manages the fit data class. Delete it at the end
evaluate objective function
Implements ROOT::Minuit2::FCNBase.
Definition at line 60 of file TBinLikelihoodFCN.cxx.
References TChi2FitData::Coords(), RootCsg::epsilon, FitterUtil::EvalIntegral(), TF1::EvalPar(), fData, fFunc, i, log(), n, TF1::RejectedPoint(), TF1::RejectPoint(), TF1::SetNumberFitPoints(), TChi2FitData::Size(), TChi2FitData::UseIntegral(), TChi2FitData::Value(), x, x2, and y.
double TBinLikelihoodFCN::Up | ( | ) | const [inline, virtual] |
return error definition for likelihood = 0.5
Implements ROOT::Minuit2::FCNBase.
Definition at line 65 of file TBinLikelihoodFCN.h.
References fUp.
void TBinLikelihoodFCN::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 67 of file TBinLikelihoodFCN.h.
References fUp.
evaluate chi2 equivalent on the data set
Definition at line 108 of file TBinLikelihoodFCN.cxx.
evaluate objective function
Implements ROOT::Minuit2::FCNBase.
double TBinLikelihoodFCN::Up | ( | ) | const [inline, virtual] |
return error definition for likelihood = 0.5
Implements ROOT::Minuit2::FCNBase.
Definition at line 65 of file TBinLikelihoodFCN.h.
References fUp.
void TBinLikelihoodFCN::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 67 of file TBinLikelihoodFCN.h.
References fUp.
evaluate chi2 equivalent on the data set
double TBinLikelihoodFCN::fUp [private] |
bool TBinLikelihoodFCN::fOwner [private] |
BinLikelihoodFitData* TBinLikelihoodFCN::fData [private] |
Definition at line 79 of file TBinLikelihoodFCN.h.
Referenced by Chi2(), operator()(), TBinLikelihoodFCN(), and ~TBinLikelihoodFCN().
ModelFunction* TBinLikelihoodFCN::fFunc [private] |
Definition at line 80 of file TBinLikelihoodFCN.h.
Referenced by Chi2(), operator()(), and TBinLikelihoodFCN().
BinLikelihoodFitData* TBinLikelihoodFCN::fData [private] |
Definition at line 79 of file TBinLikelihoodFCN.h.
ModelFunction* TBinLikelihoodFCN::fFunc [private] |
Definition at line 80 of file TBinLikelihoodFCN.h.