ROOT
6.06/09
Reference Guide
|
Definition at line 49 of file MinuitWrapper.h.
Public Member Functions | |
MinuitWrapper (IFitterTarget &target, Int_t maxpar) | |
virtual | ~MinuitWrapper () |
Int_t | Eval (Int_t, Double_t *, Double_t &, Double_t *, Int_t) |
std::vector<Double_t> parameters( npar ); More... | |
void | SetFitterTarget (IFitterTarget &target) |
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. More... | |
void | Clear (Option_t *=0) |
reset the fitter environment More... | |
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 : number of variable parameters nparx : total number of parameters More... | |
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 error eparab : parabolic error globcc : global correlation coefficient More... | |
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 parameter value verr : initial error for this parameter vlow : lower value for the parameter vhigh : upper value for the parameter More... | |
TObject * | Clone (char const *) const |
produces a clone of this MinuitWrapper More... | |
Public Member Functions inherited from TMinuit | |
TMinuit () | |
TMinuit (Int_t maxpar) | |
*-*-*-*-*-*-*-*-*-*-*Minuit normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ======================== More... | |
virtual | ~TMinuit () |
*-*-*-*-*-*-*-*-*-*-*Minuit default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ========================= More... | |
virtual void | BuildArrays (Int_t maxpar=15) |
*-*-*-*-*-*-*Create internal Minuit arrays for the maxpar parameters*-*-*-* *-* ======================================================= More... | |
virtual Int_t | Command (const char *command) |
execute a Minuit command Equivalent to MNEXCM except that the command is given as a character string. More... | |
virtual TObject * | Contour (Int_t npoints=10, Int_t pa1=0, Int_t pa2=1) |
Creates a TGraph object describing the n-sigma contour of a TMinuit fit. More... | |
virtual Int_t | DefineParameter (Int_t parNo, const char *name, Double_t initVal, Double_t initErr, Double_t lowerLimit, Double_t upperLimit) |
Define a parameter. More... | |
virtual void | DeleteArrays () |
*-*-*-*-*-*-*-*-*-*-*-*Delete internal Minuit arrays*-*-*-*-*-*-*-*-* *-* ============================= More... | |
virtual Int_t | FixParameter (Int_t parNo) |
fix a parameter More... | |
TMethodCall * | GetMethodCall () const |
TObject * | GetObjectFit () const |
Int_t | GetMaxIterations () const |
virtual Int_t | GetNumFixedPars () const |
returns the number of currently fixed parameters More... | |
virtual Int_t | GetNumFreePars () const |
returns the number of currently free parameters More... | |
virtual Int_t | GetNumPars () const |
returns the total number of parameters that have been defined as fixed or free. More... | |
virtual Int_t | GetParameter (Int_t parNo, Double_t ¤tValue, Double_t ¤tError) const |
return parameter value and error More... | |
virtual TObject * | GetPlot () const |
Int_t | GetStatus () const |
virtual Int_t | Migrad () |
invokes the MIGRAD minimizer More... | |
virtual void | mnamin () |
*-*-*-*-*-*-*-*-*-*-*-*-*Initialize AMIN*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* =============== *-*C Called from many places. More... | |
virtual void | mnbins (Double_t a1, Double_t a2, Int_t naa, Double_t &bl, Double_t &bh, Int_t &nb, Double_t &bwid) |
*-*-*-*-*-*-*-*-*-*-*Compute reasonable histogram intervals*-*-*-*-*-*-*-*-* *-* ====================================== *-* Function TO DETERMINE REASONABLE HISTOGRAM INTERVALS *-* GIVEN ABSOLUTE UPPER AND LOWER BOUNDS A1 AND A2 *-* AND DESIRED MAXIMUM NUMBER OF BINS NAA *-* PROGRAM MAKES REASONABLE BINNING FROM BL TO BH OF WIDTH BWID *-* F. More... | |
virtual void | mncalf (Double_t *pvec, Double_t &ycalf) |
*-*-*-*-*-*-*-*-*-*Transform FCN to find further minima*-*-*-*-*-*-*-*-*-* *-* ==================================== *-* Called only from MNIMPR. More... | |
virtual void | mncler () |
*-*-*-*-*-*-*-*-*-*-*Resets the parameter list to UNDEFINED*-*-*-*-*-*-*-* *-* ====================================== *-* Called from MINUIT and by option from MNEXCM *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mncntr (Int_t ke1, Int_t ke2, Int_t &ierrf) |
*-*-*-*-*Print function contours in two variables, on line printer*-*-*-*-* *-* ========================================================= *-* *-* input arguments: parx, pary, devs, ngrid *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mncomd (const char *crdbin, Int_t &icondn) |
*-*-*-*-*-*-*-*-*-*-*Reads a command string and executes*-*-*-*-*-*-*-*-*-* *-* =================================== *-* Called by user. More... | |
virtual void | mncont (Int_t ke1, Int_t ke2, Int_t nptu, Double_t *xptu, Double_t *yptu, Int_t &ierrf) |
*-*-*-*-*-*-*Find points along a contour where FCN is minimum*-*-*-*-*-*-* *-* ================================================ *-* Find NPTU points along a contour where the function *-* FMIN (X(KE1),X(KE2)) = AMIN+UP *-* where FMIN is the minimum of FCN with respect to all *-* the other NPAR-2 variable parameters (if any). More... | |
virtual void | mncrck (TString crdbuf, Int_t maxcwd, TString &comand, Int_t &lnc, Int_t mxp, Double_t *plist, Int_t &llist, Int_t &ierr, Int_t isyswr) |
*-*-*-*-*-*-*-*-*-*-*-*Cracks the free-format input*-*-*-*-*-*-*-*-*-*-*-*-* *-* ============================ *-* Cracks the free-format input, expecting zero or more *-* alphanumeric fields (which it joins into COMAND(1:LNC)) *-* followed by one or more numeric fields separated by *-* blanks and/or one comma. More... | |
virtual void | mncros (Double_t &aopt, Int_t &iercr) |
*-*-*-*-*-*-*-*-*-*-*Find point where MNEVAL=AMIN+UP*-*-*-*-*-*-*-*-*-*-*-* *-* =============================== *-* Find point where MNEVAL=AMIN+UP, along the line through *-* XMIDCR,YMIDCR with direction XDIRCR,YDIRCR, where X and Y *-* are parameters KE1CR and KE2CR. More... | |
virtual void | mncuve () |
*-*-*-*-*-*-*-*Makes sure that the current point is a local minimum*-*-*-*-* *-* ==================================================== *-* Makes sure that the current point is a local *-* minimum and that the error matrix exists, *-* or at least something good enough for MINOS and MNCONT *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnderi () |
*-*-*-*-*-*-*-*Calculates the first derivatives of FCN (GRD)*-*-*-*-*-*-*-* *-* ============================================= *-* Calculates the first derivatives of FCN (GRD), *-* either by finite differences or by transforming the user- *-* supplied derivatives to internal coordinates, *-* according to whether fISW[2] is zero or one. More... | |
virtual void | mndxdi (Double_t pint, Int_t ipar, Double_t &dxdi) |
*-*-*-*Calculates the transformation factor between ext/internal values*-* *-* ===================================================================== *-* calculates the transformation factor between external and *-* internal parameter values. More... | |
virtual void | mneig (Double_t *a, Int_t ndima, Int_t n, Int_t mits, Double_t *work, Double_t precis, Int_t &ifault) |
*-*-*-*-*-*-*-*-*-*-*-*Compute matrix eigen values*-*-*-*-*-*-*-*-*-*-*-*-* *-* =========================== More... | |
virtual void | mnemat (Double_t *emat, Int_t ndim) |
Calculates the external error matrix from the internal matrix. More... | |
virtual void | mnerrs (Int_t number, Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &gcc) |
*-*-*-*-*-*-*-*-*-*Utility routine to get MINOS errors*-*-*-*-*-*-*-*-*-*-* *-* =================================== *-* Called by user. More... | |
virtual void | mneval (Double_t anext, Double_t &fnext, Int_t &ierev) |
*-*-*-*-*-*-*Evaluates the function being analyzed by MNCROS*-*-*-*-*-*-*-* *-* =============================================== *-* Evaluates the function being analyzed by MNCROS, which is *-* generally the minimum of FCN with respect to all remaining *-* variable parameters. More... | |
virtual void | mnexcm (const char *comand, Double_t *plist, Int_t llist, Int_t &ierflg) |
*-*-*-*-*-*Interprets a command and takes appropriate action*-*-*-*-*-*-*-* *-* ================================================= *-* either directly by skipping to the corresponding code in *-* MNEXCM, or by setting up a call to a function *-* *-* recognized MINUIT commands: *-* obsolete commands: *-* IERFLG is now (94.5) defined the same as ICONDN in MNCOMD *-* = 0: command executed normally *-* 1: command is blank, ignored *-* 2: command line unreadable, ignored *-* 3: unknown command, ignored *-* 4: abnormal termination (e.g., MIGRAD not converged) *-* 9: reserved *-* 10: END command *-* 11: EXIT or STOP command *-* 12: RETURN command *-* *-* see also http://wwwasdoc.web.cern.ch/wwwasdoc/minuit/node18.html for the possible list *-* of all Minuit commands *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnexin (Double_t *pint) |
*-*-*-*-*Transforms the external parameter values U to internal values*-*-* *-* ============================================================= *-* Transforms the external parameter values U to internal *-* values in the dense array PINT. More... | |
virtual void | mnfixp (Int_t iint, Int_t &ierr) |
*-*-*-*-*-*-*Removes parameter IINT from the internal parameter list*-*-* *-* ======================================================= *-* and arranges the rest of the list to fill the hole. More... | |
virtual void | mnfree (Int_t k) |
*-*-*-*Restores one or more fixed parameter(s) to variable status*-*-*-*-*-* *-* ========================================================== *-* Restores one or more fixed parameter(s) to variable status *-* by inserting it into the internal parameter list at the *-* appropriate place. More... | |
virtual void | mngrad () |
*-*-*-*-*-*-*-*-*-*Interprets the SET GRAD command*-*-*-*-*-*-*-*-*-*-*-*-* *-* =============================== *-* Called from MNSET *-* Interprets the SET GRAD command, which informs MINUIT whether *-* the first derivatives of FCN will be calculated by the user *-* inside FCN. More... | |
virtual void | mnhelp (TString comd) |
*-*-*-*-*-*-*-*HELP routine for MINUIT interactive commands*-*-*-*-*-*-*-*-* *-* ============================================ *-* *-* COMD ='*' or "" prints a global help for all commands *-* COMD =Command_name: print detailed help for one command. More... | |
virtual void | mnhelp (const char *command="") |
interface to Minuit help More... | |
virtual void | mnhess () |
*-*-*-*-*-*Calculates the full second-derivative matrix of FCN*-*-*-*-*-*-*-* *-* =================================================== *-* by taking finite differences. More... | |
virtual void | mnhes1 () |
*-*-*-*Calculate first derivatives (GRD) and uncertainties (DGRD)*-*-*-*-*-* *-* ========================================================== *-* and appropriate step sizes GSTEP *-* Called from MNHESS and MNGRAD *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnimpr () |
*-*-*-*-*-*-*Attempts to improve on a good local minimum*-*-*-*-*-*-*-*-*-* *-* =========================================== *-* Attempts to improve on a good local minimum by finding a *-* better one. More... | |
virtual void | mninex (Double_t *pint) |
*-*-*-*-*Transforms from internal coordinates (PINT) to external (U)*-*-*-* *-* =========================================================== *-* The minimizing routines which work in *-* internal coordinates call this routine before calling FCN. More... | |
virtual void | mninit (Int_t i1, Int_t i2, Int_t i3) |
*-*-*-*-*-*Main initialization member function for MINUIT*-*-*-*-*-*-*-*-* *-* ============================================== *-* It initializes some constants *-* (including the logical I/O unit nos.), *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnlims () |
*-*-*-*Interprets the SET LIM command, to reset the parameter limits*-*-*-* *-* ============================================================= *-* Called from MNSET *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnline (Double_t *start, Double_t fstart, Double_t *step, Double_t slope, Double_t toler) |
*-*-*-*-*-*-*-*-*-*Perform a line search from position START*-*-*-*-*-*-*-* *-* ========================================= *-* along direction STEP, where the length of vector STEP *-* gives the expected position of minimum. More... | |
virtual void | mnmatu (Int_t kode) |
*-*-*-*-*-*-*-*Prints the covariance matrix v when KODE=1*-*-*-*-*-*-*-*-* *-* ========================================== *-* always prints the global correlations, and *-* calculates and prints the individual correlation coefficients *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnmigr () |
*-*-*-*-*-*-*-*-*Performs a local function minimization*-*-*-*-*-*-*-*-*-* *-* ====================================== *-* Performs a local function minimization using basically the *-* method of Davidon-Fletcher-Powell as modified by Fletcher *-* ref. More... | |
virtual void | mnmnos () |
*-*-*-*-*-*-*-*-*-*-*Performs a MINOS error analysis*-*-*-*-*-*-*-*-*-*-*-* *-* =============================== *-* Performs a MINOS error analysis on those parameters for *-* which it is requested on the MINOS command by calling *-* MNMNOT for each parameter requested. More... | |
virtual void | mnmnot (Int_t ilax, Int_t ilax2, Double_t &val2pl, Double_t &val2mi) |
*-*-*-*-*-*Performs a MINOS error analysis on one parameter*-*-*-*-*-*-*-*-* *-* ================================================ *-* The parameter ILAX is varied, and the minimum of the *-* function with respect to the other parameters is followed *-* until it crosses the value FMIN+UP. More... | |
virtual void | mnparm (Int_t k, TString cnamj, Double_t uk, Double_t wk, Double_t a, Double_t b, Int_t &ierflg) |
*-*-*-*-*-*-*-*-*Implements one parameter definition*-*-*-*-*-*-*-*-*-*-*-* *-* =================================== *-* Called from MNPARS and user-callable *-* Implements one parameter definition, that is: *-* K (external) parameter number *-* CNAMK parameter name *-* UK starting value *-* WK starting step size or uncertainty *-* A, B lower and upper physical parameter limits *-* and sets up (updates) the parameter lists. More... | |
virtual void | mnpars (TString &crdbuf, Int_t &icondn) |
*-*-*-*-*-*-*-*Implements one parameter definition*-*-*-*-*-*-*-*-*-*-*-*-* *-* =========== ======================= *-* Called from MNREAD and user-callable *-* Implements one parameter definition, that is: *-* parses the string CRDBUF and calls MNPARM *-* *-* output conditions: *-* ICONDN = 0 all OK *-* ICONDN = 1 error, attempt to define parameter is ignored *-* ICONDN = 2 end of parameter definitions *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnpfit (Double_t *parx2p, Double_t *pary2p, Int_t npar2p, Double_t *coef2p, Double_t &sdev2p) |
*-*-*-*-*-*-*-*-*-*To fit a parabola to npar2p points*-*-*-*-*-*-*-*-*-*-* *-* ================================== *-* npar2p no. More... | |
virtual void | mnpint (Double_t &pexti, Int_t i, Double_t &pinti) |
*-*-*-*-*-*-*Calculates the internal parameter value PINTI*-*-*-*-*-*-*-* *-* ============================================= *-* corresponding to the external value PEXTI for parameter I. More... | |
virtual void | mnplot (Double_t *xpt, Double_t *ypt, char *chpt, Int_t nxypt, Int_t npagwd, Int_t npagln) |
*-*-*-*Plots points in array xypt onto one page with labelled axes*-*-*-*-* *-* =========================================================== *-* NXYPT is the number of points to be plotted *-* XPT(I) = x-coord. More... | |
virtual void | mnpout (Int_t iuext, TString &chnam, Double_t &val, Double_t &err, Double_t &xlolim, Double_t &xuplim, Int_t &iuint) const |
*-*-*-*Provides the user with information concerning the current status*-*-* *-* ================================================================ *-* of parameter number IUEXT. More... | |
virtual void | mnprin (Int_t inkode, Double_t fval) |
*-*-*-*Prints the values of the parameters at the time of the call*-*-*-*-* *-* =========================================================== *-* also prints other relevant information such as function value, *-* estimated distance to minimum, parameter errors, step sizes. More... | |
virtual void | mnpsdf () |
*-*-*-*-*-*Calculates the eigenvalues of v to see if positive-def*-*-*-*-* *-* ====================================================== *-* if not, adds constant along diagonal to make positive. More... | |
virtual void | mnrazz (Double_t ynew, Double_t *pnew, Double_t *y, Int_t &jh, Int_t &jl) |
*-*-*-*-*Called only by MNSIMP (and MNIMPR) to add a new point*-*-*-*-*-*-* *-* ===================================================== *-* and remove an old one from the current simplex, and get the *-* estimated distance to minimum. More... | |
virtual void | mnrn15 (Double_t &val, Int_t &inseed) |
*-*-*-*-*-*-*This is a super-portable random number generator*-*-*-*-*-*-* *-* ================================================ *-* It should not overflow on any 32-bit machine. More... | |
virtual void | mnrset (Int_t iopt) |
*-*-*-*-*-*-*-*Resets function value and errors to UNDEFINED*-*-*-*-*-*-*-* *-* ============================================= *-* If IOPT=1, *-* If IOPT=0, sets only MINOS errors to undefined *-* Called from MNCLER and whenever problem changes, for example *-* after SET LIMITS, SET PARAM, CALL FCN 6 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnsave () |
*-*-*-*Writes current parameter values and step sizes onto file ISYSSA*-*-* *-* =============================================================== *-* in format which can be reread by Minuit for restarting. More... | |
virtual void | mnscan () |
*-*-*-*-*Scans the values of FCN as a function of one parameter*-*-*-*-*-* *-* ====================================================== *-* and plots the resulting values as a curve using MNPLOT. More... | |
virtual void | mnseek () |
*-*-*-*Performs a rough (but global) minimization by monte carlo search*-* *-* ================================================================ *-* Each time a new minimum is found, the search area is shifted *-* to be centered at the best value. More... | |
virtual void | mnset () |
*-*-*-*-*Interprets the commands that start with SET and SHOW*-*-*-*-*-*-* *-* ==================================================== *-* Called from MNEXCM *-* file characteristics for SET INPUT *-* 'SET ' or 'SHOW', 'ON ' or 'OFF', 'SUPPRESSED' or 'REPORTED ' *-* explanation of print level numbers -1:3 and strategies 0:2 *-* identification of debug options *-* things that can be set or shown *-* options not intended for normal users *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mnsimp () |
*-*-*-*-*Minimization using the simplex method of Nelder and Mead*-*-*-*-* *-* ======================================================== *-* Performs a minimization using the simplex method of Nelder *-* and Mead (ref. More... | |
virtual void | mnstat (Double_t &fmin, Double_t &fedm, Double_t &errdef, Int_t &npari, Int_t &nparx, Int_t &istat) |
*-*-*-*-*Returns concerning the current status of the minimization*-*-*-*-* *-* ========================================================= *-* User-called *-* Namely, it returns: *-* FMIN: the best function value found so far *-* FEDM: the estimated vertical distance remaining to minimum *-* ERRDEF: the value of UP defining parameter uncertainties *-* NPARI: the number of currently variable parameters *-* NPARX: the highest (external) parameter number defined by user *-* ISTAT: a status integer indicating how good is the covariance *-* matrix: 0= not calculated at all *-* 1= approximation only, not accurate *-* 2= full matrix, but forced positive-definite *-* 3= full accurate covariance matrix *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | mntiny (volatile Double_t epsp1, Double_t &epsbak) |
*-*-*-*-*-*-*-*To find the machine precision*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ============================= *-* Compares its argument with the value 1.0, and returns *-* the value .TRUE. More... | |
Bool_t | mnunpt (TString &cfname) |
*-*-*-*-*-*Returns .TRUE. More... | |
virtual void | mnvert (Double_t *a, Int_t l, Int_t m, Int_t n, Int_t &ifail) |
*-*-*-*-*-*-*-*-*-*-*-*Inverts a symmetric matrix*-*-*-*-*-*-*-*-*-*-*-*-* *-* ========================== *-* inverts a symmetric matrix. More... | |
virtual void | mnwarn (const char *copt, const char *corg, const char *cmes) |
*-*-*-*-*-*-*-*-*-*-*-*Prints Warning messages*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ======================= *-* If COPT='W', CMES is a WARning message from CORG. More... | |
virtual void | mnwerr () |
*-*-*-*-*-*-*-*Calculates the WERR, external parameter errors*-*-*-*-*-*-* *-* ============================================== *-* and the global correlation coefficients, to be called *-* whenever a new covariance matrix is available. More... | |
virtual Int_t | Release (Int_t parNo) |
release a parameter More... | |
virtual Int_t | SetErrorDef (Double_t up) |
To get the n-sigma contour the error def parameter "up" has to set to n^2. More... | |
virtual void | SetFCN (void *fcn) |
*-*-*-*-*-*-*To set the address of the minimization function*-*-*-*-*-*-*-* *-* =============================================== this function is called by CINT instead of the function above *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | SetFCN (void(*fcn)(Int_t &, Double_t *, Double_t &f, Double_t *, Int_t)) |
*-*-*-*-*-*-*To set the address of the minimization function*-*-*-*-*-*-*-* *-* =============================================== *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | SetGraphicsMode (Bool_t mode=kTRUE) |
virtual void | SetMaxIterations (Int_t maxiter=500) |
virtual void | SetObjectFit (TObject *obj) |
virtual Int_t | SetPrintLevel (Int_t printLevel=0) |
set Minuit print level printlevel = -1 quiet (also suppresse all warnings) = 0 normal = 1 verbose More... | |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TString &name, const TString &title) | |
TNamed (const TNamed &named) | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. More... | |
virtual | ~TNamed () |
virtual Int_t | Compare (const TObject *obj) const |
Compare two TNamed objects. More... | |
virtual void | Copy (TObject &named) const |
Copy this to obj. More... | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | IsSortable () const |
virtual void | SetName (const char *name) |
Change (i.e. More... | |
virtual void | SetNameTitle (const char *name, const char *title) |
Change (i.e. set) all the TNamed parameters (name and title). More... | |
virtual void | SetTitle (const char *title="") |
Change (i.e. set) the title of the TNamed. More... | |
virtual void | ls (Option_t *option="") const |
List TNamed name and title. More... | |
virtual void | Print (Option_t *option="") const |
Print TNamed name and title. More... | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Private Attributes | |
IFitterTarget & | fFitterTarget |
std::vector< Double_t > | fParameters |
Int_t | fNumPar |
#include <TMVA/MinuitWrapper.h>
TMVA::MinuitWrapper::MinuitWrapper | ( | IFitterTarget & | target, |
Int_t | maxpar | ||
) |
|
inlinevirtual |
Definition at line 54 of file MinuitWrapper.h.
reset the fitter environment
Reimplemented from TNamed.
Definition at line 73 of file MinuitWrapper.cxx.
|
virtual |
produces a clone of this MinuitWrapper
Reimplemented from TMinuit.
Definition at line 131 of file MinuitWrapper.cxx.
|
virtual |
std::vector<Double_t> parameters( npar );
Reimplemented from TMinuit.
Definition at line 50 of file MinuitWrapper.cxx.
Execute a fitter command; command : command string args : list of nargs command arguments.
Definition at line 63 of file MinuitWrapper.cxx.
Int_t TMVA::MinuitWrapper::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 error eparab : parabolic error globcc : global correlation coefficient
Definition at line 104 of file MinuitWrapper.cxx.
Int_t TMVA::MinuitWrapper::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 : number of variable parameters nparx : total number of parameters
Definition at line 89 of file MinuitWrapper.cxx.
|
inline |
Definition at line 57 of file MinuitWrapper.h.
Int_t TMVA::MinuitWrapper::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 parameter value verr : initial error for this parameter vlow : lower value for the parameter vhigh : upper value for the parameter
Definition at line 120 of file MinuitWrapper.cxx.
|
private |
Definition at line 68 of file MinuitWrapper.h.
Referenced by Clone(), Eval(), and SetFitterTarget().
|
private |
Definition at line 70 of file MinuitWrapper.h.
Referenced by Eval().
|
private |
Definition at line 69 of file MinuitWrapper.h.
Referenced by Eval().