136 if ( !
fBatch )
Log() <<
kINFO <<
"<MinuitFitter> Fitting, please be patient ... " <<
Endl;
140 Log() <<
kFATAL <<
"<Run> Mismatch in number of parameters: (a)" 150 pars[ipar],
fRanges[ipar]->GetWidth()/100.0,
183 Log() <<
kFATAL <<
"<Run> Mismatch in number of parameters: " 189 Double_t errp, errm, errsym, globcor, currVal, currErr;
191 pars[ipar] = currVal;
const std::vector< TMVA::Interval * > fRanges
Int_t GetStats(Double_t &amin, Double_t &edm, Double_t &errdef, Int_t &nvpar, Int_t &nparx)
return global fit parameters amin : chisquare edm : estimated distance to minimum errdef nvpar : numb...
Int_t SetParameter(Int_t ipar, const char *parname, Double_t value, Double_t verr, Double_t vlow, Double_t vhigh)
set initial values for a parameter ipar : parameter number parname : parameter name value : initial p...
MsgLogger & Endl(MsgLogger &ml)
virtual ~MinuitFitter()
destructor
Int_t GetErrors(Int_t ipar, Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &globcc)
return current errors for a parameter ipar : parameter number eplus : upper error eminus : lower erro...
OptionBase * DeclareOptionRef(T &ref, const TString &name, const TString &desc="")
TString GetElapsedTime(Bool_t Scientific=kTRUE)
virtual Int_t GetParameter(Int_t parNo, Double_t ¤tValue, Double_t ¤tError) const
return parameter value and error
virtual Int_t FixParameter(Int_t parNo)
fix a parameter
Double_t Run()
estimator function interface for fitting
void Init()
minuit-specific settings
void Init(TClassEdit::TInterpreterLookupHelper *helper)
void Clear(Option_t *=0)
reset the fitter environment
RooCmdArg Timer(Bool_t flag=kTRUE)
char * Form(const char *fmt,...)
IFitterTarget & fFitterTarget
Abstract ClassifierFactory template that handles arbitrary types.
Double_t EstimatorFunction(std::vector< Double_t > &pars)
performs the fit by calliung Run(pars)
void DeclareOptions()
declare SA options
Int_t ExecuteCommand(const char *command, Double_t *args, Int_t nargs)
Execute a fitter command; command : command string args : list of nargs command arguments.