Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
TMVA::MinuitWrapper Class Reference

Definition at line 49 of file MinuitWrapper.h.

Public Member Functions

 MinuitWrapper (IFitterTarget &target, Int_t maxpar)
 constructor More...
 
virtual ~MinuitWrapper ()
 
void Clear (Option_t *=0)
 reset the fitter environment More...
 
TObjectClone (char const *) const
 produces a clone of this MinuitWrapper More...
 
Int_t Eval (Int_t, Double_t *, Double_t &, Double_t *, Int_t)
 std::vector<Double_t> parameters( npar ); More...
 
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...
 
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 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...
 
void SetFitterTarget (IFitterTarget &target)
 
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...
 
- Public Member Functions inherited from TMinuit
 TMinuit ()
 Minuit normal constructor. More...
 
 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. More...
 
virtual TObjectContour (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...
 
Int_t GetMaxIterations () const
 
TMethodCallGetMethodCall () 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...
 
TObjectGetObjectFit () const
 
virtual Int_t GetParameter (Int_t parNo, Double_t &currentValue, Double_t &currentError) const
 return parameter value and error More...
 
virtual TObjectGetPlot () const
 
Int_t GetStatus () const
 
virtual Int_t Migrad ()
 invokes the MIGRAD minimizer More...
 
virtual void mnamin ()
 Initialize AMIN. 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. More...
 
virtual void mncalf (Double_t *pvec, Double_t &ycalf)
 Transform FCN to find further minima. More...
 
virtual void mncler ()
 Resets the parameter list to UNDEFINED. More...
 
virtual void mncntr (Int_t ke1, Int_t ke2, Int_t &ierrf)
 Print function contours in two variables, on line printer. More...
 
virtual void mncomd (const char *crdbin, Int_t &icondn)
 Reads a command string and executes. 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. 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. More...
 
virtual void mncros (Double_t &aopt, Int_t &iercr)
 Find point where MNEVAL=AMIN+UP. More...
 
virtual void mncuve ()
 Makes sure that the current point is a local minimum. More...
 
virtual void mnderi ()
 Calculates the first derivatives of FCN (GRD) More...
 
virtual void mndxdi (Double_t pint, Int_t ipar, Double_t &dxdi)
 Calculates the transformation factor between ext/internal 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. More...
 
virtual void mneval (Double_t anext, Double_t &fnext, Int_t &ierev)
 Evaluates the function being analysed by MNCROS. More...
 
virtual void mnexcm (const char *comand, Double_t *plist, Int_t llist, Int_t &ierflg)
 Interprets a command and takes appropriate action. More...
 
virtual void mnexin (Double_t *pint)
 Transforms the external parameter values U to internal values. More...
 
virtual void mnfixp (Int_t iint, Int_t &ierr)
 Removes parameter IINT from the internal parameter list. More...
 
virtual void mnfree (Int_t k)
 Restores one or more fixed parameter(s) to variable status. More...
 
virtual void mngrad ()
 Interprets the SET GRAD command. More...
 
virtual void mnhelp (TString comd)
 HELP routine for MINUIT interactive commands. More...
 
virtual void mnhelp (const char *command="")
 interface to Minuit help More...
 
virtual void mnhes1 ()
 Calculate first derivatives (GRD) and uncertainties (DGRD) More...
 
virtual void mnhess ()
 Calculates the full second-derivative matrix of FCN. More...
 
virtual void mnimpr ()
 Attempts to improve on a good local minimum. More...
 
virtual void mninex (Double_t *pint)
 Transforms from internal coordinates (PINT) to external (U) More...
 
virtual void mninit (Int_t i1, Int_t i2, Int_t i3)
 Main initialization member function for MINUIT. More...
 
virtual void mnlims ()
 Interprets the SET LIM command, to reset the parameter limits. 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. More...
 
virtual void mnmatu (Int_t kode)
 Prints the covariance matrix v when KODE=1. More...
 
virtual void mnmigr ()
 Performs a local function minimization. More...
 
virtual void mnmnos ()
 Performs a MINOS error analysis. More...
 
virtual void mnmnot (Int_t ilax, Int_t ilax2, Double_t &val2pl, Double_t &val2mi)
 Performs a MINOS error analysis on one parameter. 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. More...
 
virtual void mnpars (TString &crdbuf, Int_t &icondn)
 Implements one parameter definition. 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. More...
 
virtual void mnpint (Double_t &pexti, Int_t i, Double_t &pinti)
 Calculates the internal parameter value PINTI. 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. 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. More...
 
virtual void mnprin (Int_t inkode, Double_t fval)
 Prints the values of the parameters at the time of the call. More...
 
virtual void mnpsdf ()
 Calculates the eigenvalues of v to see if positive-def. 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. More...
 
virtual void mnrn15 (Double_t &val, Int_t &inseed)
 This is a super-portable random number generator. More...
 
virtual void mnrset (Int_t iopt)
 Resets function value and errors to UNDEFINED. More...
 
virtual void mnsave ()
 Writes current parameter values and step sizes onto file ISYSSA. More...
 
virtual void mnscan ()
 Scans the values of FCN as a function of one parameter. More...
 
virtual void mnseek ()
 Performs a rough (but global) minimization by monte carlo search. More...
 
virtual void mnset ()
 Interprets the commands that start with SET and SHOW. More...
 
virtual void mnsimp ()
 Minimization using the simplex method of Nelder and Mead. 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. More...
 
virtual void mntiny (volatile Double_t epsp1, Double_t &epsbak)
 To find the machine precision. 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. More...
 
virtual void mnwarn (const char *copt, const char *corg, const char *cmes)
 Prints Warning messages. More...
 
virtual void mnwerr ()
 Calculates the WERR, external parameter errors. 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) R__DEPRECATED(6
 To set the address of the minimization function. 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. 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 copy ctor. 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 ls (Option_t *option="") const
 List TNamed name and title. More...
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. 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...
 
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 TObjectDrawClone (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 Error (const char *method, const char *msgfmt,...) const
 Issue error message. 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 void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. 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...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
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...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. 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...
 
void ResetBit (UInt_t f)
 
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...
 
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)
 
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 SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
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 void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. 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...
 

Private Attributes

IFitterTargetfFitterTarget
 
Int_t fNumPar
 
std::vector< Double_tfParameters
 

Additional Inherited Members

- Public Types inherited from TMinuit
enum  { kMAXWARN =100 }
 
- Public Types inherited from TObject
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Public Attributes inherited from TMinuit
not used anymore
 
Double_tfAlim
 
Double_t fAmin
 
Double_t fApsi
 
Double_t fBigedm
 
Double_tfBlim
 
TString fCfrom
 
char * fChpt
 
Double_tfCOMDplist
 
Double_tfCONTgcc
 
Double_tfCONTw
 
TString fCovmes [4]
 
TStringfCpnam
 Character to be plotted at the X,Y contour positions. More...
 
TString fCstatu
 
TString fCtitl
 
TString fCundef
 
TString fCvrsn
 
TString fCword
 
Double_t fDcovar
 
Double_tfDgrd
 
Double_tfDirin
 
Double_tfDirins
 
Double_t fEDM
 
Int_t fEmpty
 
Double_t fEpsi
 
Double_t fEpsma2
 
Double_t fEpsmac
 
Double_tfErn
 
Double_tfErp
 
void(* fFCN )(Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag)
 
Double_tfFIXPyy
 
Double_t fFval3
 
Double_tfG2
 
Double_tfG2s
 
Double_tfGin
 
Double_tfGlobcc
 
Double_tfGRADgf
 
Bool_t fGraphicsMode
 
Double_tfGrd
 
Double_tfGrds
 
Double_tfGstep
 
Double_tfGsteps
 
Double_tfHESSyy
 
Int_t fIcirc [2]
 
Int_t fIcomnd
 
Int_t fIdbg [11]
 
Double_tfIMPRdsav
 
Double_tfIMPRy
 
Int_tfIpfix
 
Int_t fIstkrd [10]
 
Int_t fIstkwr [10]
 
Int_t fIstrat
 
Int_t fISW [7]
 
Int_t fIsysrd
 
Int_t fIsyssa
 
Int_t fIsyswr
 
Int_t fItaur
 
Int_t fKe1cr
 
Int_t fKe2cr
 
Bool_t fLimset
 
Bool_t fLnewmn
 
Bool_t fLnolim
 
Bool_t fLphead
 
Bool_t fLrepor
 
Bool_t fLwarn
 
Double_tfMATUvline
 
Int_t fMaxcpt
 
Int_t fMaxext
 
Int_t fMaxint
 
Int_t fMaxIterations
 
Int_t fMaxpar
 
Int_t fMaxpar1
 
Int_t fMaxpar2
 
Int_t fMaxpar5
 
TMethodCallfMethodCall
 
Double_tfMIGRflnu
 
Double_tfMIGRgs
 
Double_tfMIGRstep
 
Double_tfMIGRvg
 
Double_tfMIGRxxs
 
Double_tfMNOTgcc
 
Double_tfMNOTw
 
Double_tfMNOTxdev
 
Int_t fNblock
 
Int_t fNewpag
 
Int_tfNexofi
 
Int_t fNfcn
 
Int_t fNfcnfr
 
Int_t fNfcnlc
 
Int_t fNfcnmx
 
Int_t fNfcwar [20]
 
Int_tfNiofex
 
Int_t fNpagln
 
Int_t fNpagwd
 
Int_t fNpar
 
Int_t fNpfix
 
Int_t fNstkrd
 
Int_t fNstkwr
 
Int_t fNu
 
Int_tfNvarl
 
Int_t fNwrmes [2]
 
TObjectfObjectFit
 
TString fOrigin [kMAXWARN]
 
Double_tfP
 
Double_tfPARSplist
 
Double_tfPbar
 
TObjectfPlot
 
Double_tfPrho
 
Double_tfPSDFs
 
Double_tfPstar
 
Double_tfPstst
 
Double_tfSEEKxbest
 
Double_tfSEEKxmid
 
Double_tfSIMPy
 
Int_t fStatus
 
Double_tfU
 
Double_t fUndefi
 
Double_t fUp
 
Double_t fUpdflt
 
Double_tfVERTpp
 
Double_tfVERTq
 
Double_tfVERTs
 
Double_tfVhmat
 
Double_t fVlimhi
 
Double_t fVlimlo
 
Double_tfVthmat
 
TString fWarmes [kMAXWARN]
 
Double_tfWerr
 
Double_tfWord7
 
Double_tfX
 
Double_t fXdircr
 
Double_t fXmidcr
 
Double_tfXpt
 
Double_tfXs
 
Double_tfXt
 
Double_tfXts
 
Double_t fYdircr
 
Double_t fYmidcr
 
Double_tfYpt
 
virtual void CINT remnant
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

#include <TMVA/MinuitWrapper.h>

Inheritance diagram for TMVA::MinuitWrapper:
[legend]

Constructor & Destructor Documentation

◆ MinuitWrapper()

TMVA::MinuitWrapper::MinuitWrapper ( IFitterTarget target,
Int_t  maxpar 
)

constructor

Definition at line 39 of file MinuitWrapper.cxx.

◆ ~MinuitWrapper()

virtual TMVA::MinuitWrapper::~MinuitWrapper ( )
inlinevirtual

Definition at line 54 of file MinuitWrapper.h.

Member Function Documentation

◆ Clear()

void TMVA::MinuitWrapper::Clear ( Option_t = 0)
virtual

reset the fitter environment

Reimplemented from TNamed.

Definition at line 75 of file MinuitWrapper.cxx.

◆ Clone()

TObject * TMVA::MinuitWrapper::Clone ( char const *  newname) const
virtual

produces a clone of this MinuitWrapper

Reimplemented from TMinuit.

Definition at line 133 of file MinuitWrapper.cxx.

◆ Eval()

Int_t TMVA::MinuitWrapper::Eval ( Int_t  ,
Double_t ,
Double_t f,
Double_t par,
Int_t   
)
virtual

std::vector<Double_t> parameters( npar );

Reimplemented from TMinuit.

Definition at line 52 of file MinuitWrapper.cxx.

◆ ExecuteCommand()

Int_t TMVA::MinuitWrapper::ExecuteCommand ( const char *  command,
Double_t args,
Int_t  nargs 
)

Execute a fitter command; command : command string args : list of nargs command arguments.

Definition at line 65 of file MinuitWrapper.cxx.

◆ GetErrors()

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 106 of file MinuitWrapper.cxx.

◆ GetStats()

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 91 of file MinuitWrapper.cxx.

◆ SetFitterTarget()

void TMVA::MinuitWrapper::SetFitterTarget ( IFitterTarget target)
inline

Definition at line 57 of file MinuitWrapper.h.

◆ SetParameter()

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 122 of file MinuitWrapper.cxx.

Member Data Documentation

◆ fFitterTarget

IFitterTarget& TMVA::MinuitWrapper::fFitterTarget
private

Definition at line 68 of file MinuitWrapper.h.

◆ fNumPar

Int_t TMVA::MinuitWrapper::fNumPar
private

Definition at line 70 of file MinuitWrapper.h.

◆ fParameters

std::vector<Double_t> TMVA::MinuitWrapper::fParameters
private

Definition at line 69 of file MinuitWrapper.h.


The documentation for this class was generated from the following files: