ROOT logo
ROOT » TMVA » TMVA::MinuitWrapper

class TMVA::MinuitWrapper: public TMinuit


 Wrapper around MINUIT

Function Members (Methods)

public:
virtual~MinuitWrapper()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual voidTMinuit::BuildArrays(Int_t maxpar = 15)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* = 0)
virtual TObject*Clone(const char*) const
virtual Int_tTMinuit::Command(const char* command)
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual TObject*TMinuit::Contour(Int_t npoints = 10, Int_t pa1 = 0, Int_t pa2 = 1)
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tTMinuit::DefineParameter(Int_t parNo, const char* name, Double_t initVal, Double_t initErr, Double_t lowerLimit, Double_t upperLimit)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidTMinuit::DeleteArrays()
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual Int_tEval(Int_t, Double_t*, Double_t&, Double_t*, Int_t)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
Int_tExecuteCommand(const char* command, Double_t* args, Int_t nargs)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Int_tTMinuit::FixParameter(Int_t parNo)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetErrors(Int_t ipar, Double_t& eplus, Double_t& eminus, Double_t& eparab, Double_t& globcc)
virtual const char*TObject::GetIconName() const
Int_tTMinuit::GetMaxIterations() const
TMethodCall*TMinuit::GetMethodCall() const
virtual const char*TNamed::GetName() const
virtual Int_tTMinuit::GetNumFixedPars() const
virtual Int_tTMinuit::GetNumFreePars() const
virtual Int_tTMinuit::GetNumPars() const
TObject*TMinuit::GetObjectFit() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual Int_tTMinuit::GetParameter(Int_t parNo, Double_t& currentValue, Double_t& currentError) const
virtual TObject*TMinuit::GetPlot() const
Int_tGetStats(Double_t& amin, Double_t& edm, Double_t& errdef, Int_t& nvpar, Int_t& nparx)
Int_tTMinuit::GetStatus() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Int_tTMinuit::Migrad()
TMVA::MinuitWrapperMinuitWrapper(TMVA::IFitterTarget& target, Int_t maxpar)
virtual voidTMinuit::mnamin()
virtual voidTMinuit::mnbins(Double_t a1, Double_t a2, Int_t naa, Double_t& bl, Double_t& bh, Int_t& nb, Double_t& bwid)
virtual voidTMinuit::mncalf(Double_t* pvec, Double_t& ycalf)
virtual voidTMinuit::mncler()
virtual voidTMinuit::mncntr(Int_t ke1, Int_t ke2, Int_t& ierrf)
virtual voidTMinuit::mncomd(const char* crdbin, Int_t& icondn)
virtual voidTMinuit::mncont(Int_t ke1, Int_t ke2, Int_t nptu, Double_t* xptu, Double_t* yptu, Int_t& ierrf)
virtual voidTMinuit::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)
virtual voidTMinuit::mncros(Double_t& aopt, Int_t& iercr)
virtual voidTMinuit::mncuve()
virtual voidTMinuit::mnderi()
virtual voidTMinuit::mndxdi(Double_t pint, Int_t ipar, Double_t& dxdi)
virtual voidTMinuit::mneig(Double_t* a, Int_t ndima, Int_t n, Int_t mits, Double_t* work, Double_t precis, Int_t& ifault)
virtual voidTMinuit::mnemat(Double_t* emat, Int_t ndim)
virtual voidTMinuit::mnerrs(Int_t number, Double_t& eplus, Double_t& eminus, Double_t& eparab, Double_t& gcc)
virtual voidTMinuit::mneval(Double_t anext, Double_t& fnext, Int_t& ierev)
virtual voidTMinuit::mnexcm(const char* comand, Double_t* plist, Int_t llist, Int_t& ierflg)
virtual voidTMinuit::mnexin(Double_t* pint)
virtual voidTMinuit::mnfixp(Int_t iint, Int_t& ierr)
virtual voidTMinuit::mnfree(Int_t k)
virtual voidTMinuit::mngrad()
virtual voidTMinuit::mnhelp(TString comd)
virtual voidTMinuit::mnhelp(const char* command = "")
virtual voidTMinuit::mnhes1()
virtual voidTMinuit::mnhess()
virtual voidTMinuit::mnimpr()
virtual voidTMinuit::mninex(Double_t* pint)
virtual voidTMinuit::mninit(Int_t i1, Int_t i2, Int_t i3)
virtual voidTMinuit::mnlims()
virtual voidTMinuit::mnline(Double_t* start, Double_t fstart, Double_t* step, Double_t slope, Double_t toler)
virtual voidTMinuit::mnmatu(Int_t kode)
virtual voidTMinuit::mnmigr()
virtual voidTMinuit::mnmnos()
virtual voidTMinuit::mnmnot(Int_t ilax, Int_t ilax2, Double_t& val2pl, Double_t& val2mi)
virtual voidTMinuit::mnparm(Int_t k, TString cnamj, Double_t uk, Double_t wk, Double_t a, Double_t b, Int_t& ierflg)
virtual voidTMinuit::mnpars(TString& crdbuf, Int_t& icondn)
virtual voidTMinuit::mnpfit(Double_t* parx2p, Double_t* pary2p, Int_t npar2p, Double_t* coef2p, Double_t& sdev2p)
virtual voidTMinuit::mnpint(Double_t& pexti, Int_t i, Double_t& pinti)
virtual voidTMinuit::mnplot(Double_t* xpt, Double_t* ypt, char* chpt, Int_t nxypt, Int_t npagwd, Int_t npagln)
virtual voidTMinuit::mnpout(Int_t iuext, TString& chnam, Double_t& val, Double_t& err, Double_t& xlolim, Double_t& xuplim, Int_t& iuint) const
virtual voidTMinuit::mnprin(Int_t inkode, Double_t fval)
virtual voidTMinuit::mnpsdf()
virtual voidTMinuit::mnrazz(Double_t ynew, Double_t* pnew, Double_t* y, Int_t& jh, Int_t& jl)
virtual voidTMinuit::mnrn15(Double_t& val, Int_t& inseed)
virtual voidTMinuit::mnrset(Int_t iopt)
virtual voidTMinuit::mnsave()
virtual voidTMinuit::mnscan()
virtual voidTMinuit::mnseek()
virtual voidTMinuit::mnset()
virtual voidTMinuit::mnsimp()
virtual voidTMinuit::mnstat(Double_t& fmin, Double_t& fedm, Double_t& errdef, Int_t& npari, Int_t& nparx, Int_t& istat)
virtual voidTMinuit::mntiny(Double_t epsp1, Double_t& epsbak)
Bool_tTMinuit::mnunpt(TString& cfname)
virtual voidTMinuit::mnvert(Double_t* a, Int_t l, Int_t m, Int_t n, Int_t& ifail)
virtual voidTMinuit::mnwarn(const char* copt, const char* corg, const char* cmes)
virtual voidTMinuit::mnwerr()
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Int_tTMinuit::Release(Int_t parNo)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual Int_tTMinuit::SetErrorDef(Double_t up)
virtual voidTMinuit::SetFCN(void* fcn)
virtual voidTMinuit::SetFCN(void (*)(Int_t&, Double_t*, Double_t&f, Double_t*, Int_t) fcn)
voidSetFitterTarget(TMVA::IFitterTarget& target)
virtual voidTMinuit::SetGraphicsMode(Bool_t mode = kTRUE)
virtual voidTMinuit::SetMaxIterations(Int_t maxiter = 500)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidTMinuit::SetObjectFit(TObject* obj)
static voidTObject::SetObjectStat(Bool_t stat)
Int_tSetParameter(Int_t ipar, const char* parname, Double_t value, Double_t verr, Double_t vlow, Double_t vhigh)
virtual Int_tTMinuit::SetPrintLevel(Int_t printLevel = 0)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TMinuit::[unnamed] { kMAXWARN
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
Double_t*TMinuit::fAlim[fMaxpar2] Lower limits for parameters. If zero no limits
Double_tTMinuit::fAminMinimum value found for FCN
Double_tTMinuit::fApsi
Double_tTMinuit::fBigedmBig EDM = 123456
Double_t*TMinuit::fBlim[fMaxpar2] Upper limits for parameters
Double_t*TMinuit::fCOMDplist[fMaxpar] array used in mncomd
Double_t*TMinuit::fCONTgcc[fMaxpar] array used in mncont
Double_t*TMinuit::fCONTw[fMaxpar] array used in mncont
TStringTMinuit::fCfrom
char*TMinuit::fChpt!Character to be plotted at the X,Y contour positions
TStringTMinuit::fCovmes[4]
TString*TMinuit::fCpnam[fMaxpar2] Array of parameters names
TStringTMinuit::fCstatu
TStringTMinuit::fCtitl
TStringTMinuit::fCundef
TStringTMinuit::fCvrsn
TStringTMinuit::fCword
Double_tTMinuit::fDcovarRelative change in covariance matrix
Double_t*TMinuit::fDgrd[fMaxpar] Uncertainties
Double_t*TMinuit::fDirin[fMaxpar] (Internal) step sizes for current step
Double_t*TMinuit::fDirins[fMaxpar] (Internal) step sizes for current step for fixed params
Double_tTMinuit::fEDMEstimated vertical distance to the minimum
Int_tTMinuit::fEmptyInitialization flag (1 = Minuit initialized)
Double_tTMinuit::fEpsi
Double_tTMinuit::fEpsma2sqrt(fEpsmac)
Double_tTMinuit::fEpsmacmachine precision for floating points:
Double_t*TMinuit::fErn[fMaxpar] Negative Minos errors if calculated
Double_t*TMinuit::fErp[fMaxpar] Positive Minos errors if calculated
voidTMinuit::fFCN!
Double_t*TMinuit::fFIXPyy[fMaxpar] array used in mnfixp
Double_tTMinuit::fFval3
Double_t*TMinuit::fG2[fMaxpar]
Double_t*TMinuit::fG2s[fMaxpar]
Double_t*TMinuit::fGRADgf[fMaxpar] array used in mngrad
Double_t*TMinuit::fGin[fMaxpar2]
Double_t*TMinuit::fGlobcc[fMaxpar] Global Correlation Coefficients
Bool_tTMinuit::fGraphicsModetrue if graphics mode on (default)
Double_t*TMinuit::fGrd[fMaxpar] First derivatives
Double_t*TMinuit::fGrds[fMaxpar]
Double_t*TMinuit::fGstep[fMaxpar] Step sizes
Double_t*TMinuit::fGsteps[fMaxpar]
Double_t*TMinuit::fHESSyy[fMaxpar] array used in mnhess
Double_t*TMinuit::fIMPRdsav[fMaxpar] array used in mnimpr
Double_t*TMinuit::fIMPRy[fMaxpar] array used in mnimpr
Int_tTMinuit::fISW[7]Array of switches
Int_tTMinuit::fIcirc[2]
Int_tTMinuit::fIcomndNumber of commands
Int_tTMinuit::fIdbg[11]Array of internal debug switches
Int_t*TMinuit::fIpfix[fMaxpar] List of fixed parameters
Int_tTMinuit::fIstkrd[10]
Int_tTMinuit::fIstkwr[10]
Int_tTMinuit::fIstrat
Int_tTMinuit::fIsysrdstandardInput unit
Int_tTMinuit::fIsyssa
Int_tTMinuit::fIsyswrstandard output unit
Int_tTMinuit::fItaur
Int_tTMinuit::fKe1cr
Int_tTMinuit::fKe2cr
Bool_tTMinuit::fLimsettrue if a parameter is up against limits (for MINOS)
Bool_tTMinuit::fLnewmntrue if the previous process has unexpectedly improved FCN
Bool_tTMinuit::fLnolimtrue if there are no limits on any parameters (not yet used)
Bool_tTMinuit::fLpheadtrue if a heading should be put out for the next parameter definition
Bool_tTMinuit::fLreportrue if exceptional conditions are put out (default=false)
Bool_tTMinuit::fLwarntrue if warning messges are to be put out (default=true)
Double_t*TMinuit::fMATUvline[fMaxpar] array used in mnmatu
Double_t*TMinuit::fMIGRflnu[fMaxpar] array used in mnmigr
Double_t*TMinuit::fMIGRgs[fMaxpar] array used in mnmigr
Double_t*TMinuit::fMIGRstep[fMaxpar] array used in mnmigr
Double_t*TMinuit::fMIGRvg[fMaxpar] array used in mnmigr
Double_t*TMinuit::fMIGRxxs[fMaxpar] array used in mnmigr
Double_t*TMinuit::fMNOTgcc[fMaxpar] array used in mnmnot
Double_t*TMinuit::fMNOTw[fMaxpar] array used in mnmnot
Double_t*TMinuit::fMNOTxdev[fMaxpar] array used in mnmnot
Int_tTMinuit::fMaxIterationsMaximum number of iterations
Int_tTMinuit::fMaxcpt
Int_tTMinuit::fMaxextMaximum number of external parameters
Int_tTMinuit::fMaxintMaximum number of internal parameters
Int_tTMinuit::fMaxparMaximum number of parameters
Int_tTMinuit::fMaxpar1fMaxpar*(fMaxpar+1)
Int_tTMinuit::fMaxpar2fMaxpar*fMaxpar
Int_tTMinuit::fMaxpar5fMaxpar*(fMaxpar+1)/2
TMethodCall*TMinuit::fMethodCallPointer to MethodCall in case of interpreted function
Int_tTMinuit::fNblockNumber of Minuit data blocks
Int_tTMinuit::fNewpag
Int_t*TMinuit::fNexofi[fMaxpar] External parameters number for currently variable parameters
Int_tTMinuit::fNfcnNumber of calls to FCN
Int_tTMinuit::fNfcnfr
Int_tTMinuit::fNfcnlc
Int_tTMinuit::fNfcnmxMaximum number of calls to FCN
Int_tTMinuit::fNfcwar[20]
Int_t*TMinuit::fNiofex[fMaxpar2] Internal parameters number, or zero if not currently variable
Int_tTMinuit::fNpaglnNumber of lines per page
Int_tTMinuit::fNpagwdPage width
Int_tTMinuit::fNparNumber of free parameters (total number of pars = fNpar + fNfix)
Int_tTMinuit::fNpfixNumber of fixed parameters
Int_tTMinuit::fNstkrd
Int_tTMinuit::fNstkwr
Int_tTMinuit::fNu
Int_t*TMinuit::fNvarl[fMaxpar2] parameters flag (-1=undefined, 0=constant..)
Int_tTMinuit::fNwrmes[2]
TObject*TMinuit::fObjectFitPointer to object being fitted
TStringTMinuit::fOrigin[100]
Double_t*TMinuit::fP[fMaxpar1]
Double_t*TMinuit::fPARSplist[fMaxpar] array used in mnpars
Double_t*TMinuit::fPSDFs[fMaxpar] array used in mnpsdf
Double_t*TMinuit::fPbar[fMaxpar]
TObject*TMinuit::fPlotPointer to TGraph object created by mncont
Double_t*TMinuit::fPrho[fMaxpar] Minimum point of parabola
Double_t*TMinuit::fPstar[fMaxpar2]
Double_t*TMinuit::fPstst[fMaxpar]
Double_t*TMinuit::fSEEKxbest[fMaxpar] array used in mnseek
Double_t*TMinuit::fSEEKxmid[fMaxpar] array used in mnseek
Double_t*TMinuit::fSIMPy[fMaxpar] array used in mnsimp
Int_tTMinuit::fStatusStatus flag for the last called Minuit function
Double_t*TMinuit::fU[fMaxpar2] External (visible to user in FCN) value of parameters
Double_tTMinuit::fUndefiUndefined number = -54321
Double_tTMinuit::fUpFCN+-UP defines errors (for chisquare fits UP=1)
Double_tTMinuit::fUpdflt
Double_t*TMinuit::fVERTpp[fMaxpar] array used in mnvert
Double_t*TMinuit::fVERTq[fMaxpar] array used in mnvert
Double_t*TMinuit::fVERTs[fMaxpar] array used in mnvert
Double_t*TMinuit::fVhmat[fMaxpar5] (Internal) error matrix stored as Half MATrix, since it is symmetric
Double_tTMinuit::fVlimhi
Double_tTMinuit::fVlimlo
Double_t*TMinuit::fVthmat[fMaxpar5] VHMAT is sometimes saved in VTHMAT, especially in MNMNOT
TStringTMinuit::fWarmes[100]
Double_t*TMinuit::fWerr[fMaxpar] External parameters error (standard deviation, defined by UP)
Double_t*TMinuit::fWord7[fMaxpar]
Double_t*TMinuit::fX[fMaxpar] Internal parameters values
Double_tTMinuit::fXdircr
Double_tTMinuit::fXmidcr
Double_t*TMinuit::fXpt[fMaxcpt] X array of points for contours
Double_t*TMinuit::fXs[fMaxpar] Internal parameters values saved for fixed params
Double_t*TMinuit::fXt[fMaxpar] Internal parameters values X saved as Xt
Double_t*TMinuit::fXts[fMaxpar] Internal parameters values X saved as Xt for fixed params
Double_tTMinuit::fYdircr
Double_tTMinuit::fYmidcr
Double_t*TMinuit::fYpt[fMaxcpt] Y array of points for contours
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
TMVA::IFitterTarget&fFitterTargetfitter Target
Int_tfNumParnumber of parameters
vector<Double_t>fParametersvector holding the current parameters

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

MinuitWrapper(TMVA::IFitterTarget& target, Int_t maxpar)
 constructor
Int_t Eval(Int_t , Double_t* , Double_t& , Double_t* , Int_t )
 std::vector<Double_t> parameters( npar );
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
void Clear(Option_t* = 0)
 reset the fitter environment
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
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
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
TObject * Clone(const char* ) const
 produces a clone of this MinuitWrapper
virtual ~MinuitWrapper()
{}
void SetFitterTarget(TMVA::IFitterTarget& target)
{ fFitterTarget = target; }