Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooMinuit Class Reference

RooMinuit is a wrapper class around TFitter/TMinuit that provides a seamless interface between the MINUIT functionality and the native RooFit interface.

RooMinuit can minimize any RooAbsReal function with respect to its parameters. Usual choices for minimization are RooNLLVar and RooChi2Var RooMinuit has methods corresponding to MINUIT functions like hesse(), migrad(), minos() etc. In each of these function calls the state of the MINUIT engine is synchronized with the state of the RooFit variables: any change in variables, change in the constant status etc is forwarded to MINUIT prior to execution of the MINUIT call. Afterwards the RooFit objects are resynchronized with the output state of MINUIT: changes parameter values, errors are propagated. Various methods are available to control verbosity, profiling, automatic PDF optimization.

Definition at line 41 of file RooMinuit.h.

Public Types

enum  PrintLevel {
  None =-1 , Reduced =0 , Normal =1 , ExtraForProblem =2 ,
  Maximum =3
}
 
enum  Strategy { Speed =0 , Balance =1 , Robustness =2 }
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) }
 
enum  EStatusBits {
  kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) ,
  kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 ))
}
 

Public Member Functions

 RooMinuit (RooAbsReal &function)
 Construct MINUIT interface to given function.
 
 ~RooMinuit () override
 Destructor.
 
RooPlotcontour (RooRealVar &var1, RooRealVar &var2, double n1=1, double n2=2, double n3=0.0, double n4=0.0, double n5=0.0, double n6=0.0)
 Create and draw a TH2 with the error contours in parameters var1 and v2 at up to 6 'sigma' settings where 'sigma' is calculated as n*n*errorLevel.
 
Int_t evalCounter () const
 
RooFitResultfit (const char *options)
 Parse traditional RooAbsPdf::fitTo driver options.
 
Int_t hesse ()
 Execute HESSE.
 
Int_t improve ()
 Execute IMPROVE.
 
Int_t migrad ()
 Execute MIGRAD.
 
Int_t minos ()
 Execute MINOS.
 
Int_t minos (const RooArgSet &minosParamList)
 Execute MINOS for given list of parameters.
 
void optimizeConst (Int_t flag)
 If flag is true, perform constant term optimization on function being minimized.
 
RooFitResultsave (const char *name=nullptr, const char *title=nullptr)
 Save and return a RooFitResult snaphot of current minimizer status.
 
Int_t seek ()
 Execute SEEK.
 
void setEps (double eps)
 Change MINUIT epsilon.
 
void setErrorLevel (double level)
 Set the level for MINUIT error analysis to the given value.
 
void setEvalErrorWall (bool flag)
 
bool setLogFile (const char *logfile=nullptr)
 Change the file name for logging of a RooMinuit of all MINUIT steppings through the parameter space.
 
void setMaxEvalMultiplier (Int_t n)
 
void setNoWarn ()
 Instruct MINUIT to suppress warnings.
 
void setOffsetting (bool flag)
 Enable internal likelihood offsetting for enhanced numeric precision.
 
void setPrintEvalErrors (Int_t numEvalErrors)
 
Int_t setPrintLevel (Int_t newLevel)
 Change the MINUIT internal printing level.
 
void setProfile (bool flag=true)
 
void setStrategy (Int_t strat)
 Change MINUIT strategy to istrat.
 
void setVerbose (bool flag=true)
 
Int_t setWarnLevel (Int_t newLevel)
 Set MINUIT warning level to given level.
 
Int_t simplex ()
 Execute SIMPLEX.
 
void zeroEvalCount ()
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method.
 
virtual void Copy (TObject &object) const
 Copy this to obj.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual const char * GetName () const
 Returns name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object.
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
virtual TClassIsA () const
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout.
 
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).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *vp)
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
virtual void Streamer (TBuffer &)
 Stream an object of class TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE 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.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 

Static Public Member Functions

static void cleanup ()
 Cleanup method called by atexit handler installed by RooSentinel to delete all global heap objects when the program is terminated.
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 

Public Attributes

enum RooMinuit::Strategy R__DEPRECATED
 

Protected Member Functions

void applyCovarianceMatrix (TMatrixDSym &V)
 Apply results of given external covariance matrix.
 
void backProp ()
 Transfer MINUIT fit results back into RooFit objects.
 
void clearPdfParamAsymErr (Int_t index)
 Modify PDF parameter error by ordinal index (needed by MINUIT)
 
Int_t getNPar () const
 
double getPdfParamErr (Int_t index)
 Access PDF parameter error by ordinal index (needed by MINUIT)
 
double getPdfParamVal (Int_t index)
 Access PDF parameter value by ordinal index (needed by MINUIT)
 
std::ofstream * logfile () const
 
doublemaxFCN ()
 
void profileStart ()
 Start profiling timer.
 
void profileStop ()
 Stop profiling timer and report results of last session.
 
void saveStatus (const char *label, Int_t status)
 
void setPdfParamErr (Int_t index, double loVal, double hiVal)
 Modify PDF parameter error by ordinal index (needed by MINUIT)
 
void setPdfParamErr (Int_t index, double value)
 Modify PDF parameter error by ordinal index (needed by MINUIT)
 
virtual bool setPdfParamVal (Int_t index, double value, bool verbose=false)
 Modify PDF parameter value by ordinal index (needed by MINUIT)
 
bool synchronize (bool verbose)
 Internal function to synchronize TMinuit with current information in RooAbsReal function parameters.
 
void updateFloatVec ()
 
- 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).
 
void MakeZombie ()
 

Private Member Functions

 RooMinuit (const RooMinuit &)
 

Private Attributes

RooArgList_constParamList
 
TStopwatch _cumulTimer
 
bool _doEvalErrorWall
 
Int_t _evalCounter
 
TMatrixDSym_extV
 
RooArgList_floatParamList
 
std::vector< RooAbsArg * > _floatParamVec
 
RooAbsReal_func
 
bool _handleLocalErrors
 
RooArgList_initConstParamList
 
RooArgList_initFloatParamList
 
std::ofstream * _logfile
 
Int_t _maxEvalMult
 
double _maxFCN
 
Int_t _nPar
 
Int_t _numBadNLL
 
Int_t _optConst
 
Int_t _printEvalErrors
 
Int_t _printLevel
 
bool _profile
 
Int_t _status
 
std::vector< std::pair< std::string, int > > _statusHistory
 
TStopwatch _timer
 
bool _verbose
 
Int_t _warnLevel
 

Static Private Attributes

static TVirtualFitter_theFitter = nullptr
 

Friends

class RooAbsPdf
 
void RooMinuitGlue (Int_t &np, double *gin, double &f, double *par, Int_t flag)
 

Additional Inherited Members

- Protected Types inherited from TObject
enum  { kOnlyPrepStep = (1ULL << ( 3 )) }
 

#include <RooFitLegacy/RooMinuit.h>

Inheritance diagram for RooMinuit:
[legend]

Member Enumeration Documentation

◆ PrintLevel

Enumerator
None 
Reduced 
Normal 
ExtraForProblem 
Maximum 

Definition at line 48 of file RooMinuit.h.

◆ Strategy

Enumerator
Speed 
Balance 
Robustness 

Definition at line 47 of file RooMinuit.h.

Constructor & Destructor Documentation

◆ RooMinuit() [1/2]

RooMinuit::RooMinuit ( RooAbsReal function)

Construct MINUIT interface to given function.

Function can be anything, but is typically a -log(likelihood) implemented by RooNLLVar or a chi^2 (implemented by RooChi2Var). Other frequent use cases are a RooAddition of a RooNLLVar plus a penalty or constraint term. This class propagates all RooFit information (floating parameters, their values and errors) to MINUIT before each MINUIT call and propagates all MINUIT information back to the RooFit object at the end of each call (updated parameter values, their (asymmetric errors) etc. The default MINUIT error level for HESSE and MINOS error analysis is taken from the defaultErrorLevel() value of the input function.

Definition at line 105 of file RooMinuit.cxx.

◆ ~RooMinuit()

RooMinuit::~RooMinuit ( )
override

Destructor.

Definition at line 194 of file RooMinuit.cxx.

◆ RooMinuit() [2/2]

RooMinuit::RooMinuit ( const RooMinuit )
private

Member Function Documentation

◆ applyCovarianceMatrix()

void RooMinuit::applyCovarianceMatrix ( TMatrixDSym V)
protected

Apply results of given external covariance matrix.

i.e. propagate its errors to all RRV parameter representations and give this matrix instead of the HESSE matrix at the next save() call

Definition at line 1169 of file RooMinuit.cxx.

◆ backProp()

void RooMinuit::backProp ( )
protected

Transfer MINUIT fit results back into RooFit objects.

Definition at line 1126 of file RooMinuit.cxx.

◆ cleanup()

void RooMinuit::cleanup ( )
static

Cleanup method called by atexit handler installed by RooSentinel to delete all global heap objects when the program is terminated.

Definition at line 83 of file RooMinuit.cxx.

◆ clearPdfParamAsymErr()

void RooMinuit::clearPdfParamAsymErr ( Int_t  index)
protected

Modify PDF parameter error by ordinal index (needed by MINUIT)

Definition at line 1076 of file RooMinuit.cxx.

◆ contour()

RooPlot * RooMinuit::contour ( RooRealVar var1,
RooRealVar var2,
double  n1 = 1,
double  n2 = 2,
double  n3 = 0.0,
double  n4 = 0.0,
double  n5 = 0.0,
double  n6 = 0.0 
)

Create and draw a TH2 with the error contours in parameters var1 and v2 at up to 6 'sigma' settings where 'sigma' is calculated as n*n*errorLevel.

Definition at line 932 of file RooMinuit.cxx.

◆ evalCounter()

Int_t RooMinuit::evalCounter ( ) const
inline

Definition at line 82 of file RooMinuit.h.

◆ fit()

RooFitResult * RooMinuit::fit ( const char *  options)

Parse traditional RooAbsPdf::fitTo driver options.

s - Run Hesse first to estimate initial step size m - Run Migrad only h - Run Hesse to estimate errors v - Verbose mode l - Log parameters after each Minuit steps to file t - Activate profile timer r - Save fit result 0 - Run Migrad with strategy 0

Definition at line 265 of file RooMinuit.cxx.

◆ getNPar()

Int_t RooMinuit::getNPar ( ) const
inlineprotected

Definition at line 98 of file RooMinuit.h.

◆ getPdfParamErr()

double RooMinuit::getPdfParamErr ( Int_t  index)
protected

Access PDF parameter error by ordinal index (needed by MINUIT)

Definition at line 1037 of file RooMinuit.cxx.

◆ getPdfParamVal()

double RooMinuit::getPdfParamVal ( Int_t  index)
protected

Access PDF parameter value by ordinal index (needed by MINUIT)

Definition at line 1027 of file RooMinuit.cxx.

◆ hesse()

Int_t RooMinuit::hesse ( )

Execute HESSE.

Changes in parameter values and calculated errors are automatically propagated back the RooRealVars representing the floating parameters in the MINUIT operation

Definition at line 335 of file RooMinuit.cxx.

◆ improve()

Int_t RooMinuit::improve ( )

Execute IMPROVE.

Changes in parameter values and calculated errors are automatically propagated back the RooRealVars representing the floating parameters in the MINUIT operation

Definition at line 528 of file RooMinuit.cxx.

◆ logfile()

std::ofstream * RooMinuit::logfile ( ) const
inlineprotected

Definition at line 99 of file RooMinuit.h.

◆ maxFCN()

double & RooMinuit::maxFCN ( )
inlineprotected

Definition at line 100 of file RooMinuit.h.

◆ migrad()

Int_t RooMinuit::migrad ( )

Execute MIGRAD.

Changes in parameter values and calculated errors are automatically propagated back the RooRealVars representing the floating parameters in the MINUIT operation

Definition at line 301 of file RooMinuit.cxx.

◆ minos() [1/2]

Int_t RooMinuit::minos ( )

Execute MINOS.

Changes in parameter values and calculated errors are automatically propagated back the RooRealVars representing the floating parameters in the MINUIT operation

Definition at line 368 of file RooMinuit.cxx.

◆ minos() [2/2]

Int_t RooMinuit::minos ( const RooArgSet minosParamList)

Execute MINOS for given list of parameters.

Changes in parameter values and calculated errors are automatically propagated back the RooRealVars representing the floating parameters in the MINUIT operation

Definition at line 408 of file RooMinuit.cxx.

◆ optimizeConst()

void RooMinuit::optimizeConst ( Int_t  flag)

If flag is true, perform constant term optimization on function being minimized.

Definition at line 834 of file RooMinuit.cxx.

◆ profileStart()

void RooMinuit::profileStart ( )
protected

Start profiling timer.

Definition at line 1095 of file RooMinuit.cxx.

◆ profileStop()

void RooMinuit::profileStop ( )
protected

Stop profiling timer and report results of last session.

Definition at line 1109 of file RooMinuit.cxx.

◆ save()

RooFitResult * RooMinuit::save ( const char *  userName = nullptr,
const char *  userTitle = nullptr 
)

Save and return a RooFitResult snaphot of current minimizer status.

This snapshot contains the values of all constant parameters, the value of all floating parameters at RooMinuit construction and after the last MINUIT operation, the MINUIT status, variance quality, EDM setting, number of calls with evaluation problems, the minimized function value and the full correlation matrix

Definition at line 866 of file RooMinuit.cxx.

◆ saveStatus()

void RooMinuit::saveStatus ( const char *  label,
Int_t  status 
)
inlineprotected

Definition at line 109 of file RooMinuit.h.

◆ seek()

Int_t RooMinuit::seek ( )

Execute SEEK.

Changes in parameter values and calculated errors are automatically propagated back the RooRealVars representing the floating parameters in the MINUIT operation

Definition at line 461 of file RooMinuit.cxx.

◆ setEps()

void RooMinuit::setEps ( double  eps)

Change MINUIT epsilon.

Definition at line 237 of file RooMinuit.cxx.

◆ setErrorLevel()

void RooMinuit::setErrorLevel ( double  level)

Set the level for MINUIT error analysis to the given value.

This function overrides the default value that is taken in the RooMinuit constructor from the defaultErrorLevel() method of the input function

Definition at line 227 of file RooMinuit.cxx.

◆ setEvalErrorWall()

void RooMinuit::setEvalErrorWall ( bool  flag)
inline

Definition at line 53 of file RooMinuit.h.

◆ setLogFile()

bool RooMinuit::setLogFile ( const char *  inLogfile = nullptr)

Change the file name for logging of a RooMinuit of all MINUIT steppings through the parameter space.

If inLogfile is null, the current log file is closed and logging is stopped.

Definition at line 1004 of file RooMinuit.cxx.

◆ setMaxEvalMultiplier()

void RooMinuit::setMaxEvalMultiplier ( Int_t  n)
inline

Definition at line 77 of file RooMinuit.h.

◆ setNoWarn()

void RooMinuit::setNoWarn ( )

Instruct MINUIT to suppress warnings.

Definition at line 572 of file RooMinuit.cxx.

◆ setOffsetting()

void RooMinuit::setOffsetting ( bool  flag)

Enable internal likelihood offsetting for enhanced numeric precision.

Definition at line 247 of file RooMinuit.cxx.

◆ setPdfParamErr() [1/2]

void RooMinuit::setPdfParamErr ( Int_t  index,
double  loVal,
double  hiVal 
)
protected

Modify PDF parameter error by ordinal index (needed by MINUIT)

Definition at line 1085 of file RooMinuit.cxx.

◆ setPdfParamErr() [2/2]

void RooMinuit::setPdfParamErr ( Int_t  index,
double  value 
)
protected

Modify PDF parameter error by ordinal index (needed by MINUIT)

Definition at line 1066 of file RooMinuit.cxx.

◆ setPdfParamVal()

bool RooMinuit::setPdfParamVal ( Int_t  index,
double  value,
bool  verbose = false 
)
protectedvirtual

Modify PDF parameter value by ordinal index (needed by MINUIT)

Definition at line 1047 of file RooMinuit.cxx.

◆ setPrintEvalErrors()

void RooMinuit::setPrintEvalErrors ( Int_t  numEvalErrors)
inline

Definition at line 74 of file RooMinuit.h.

◆ setPrintLevel()

Int_t RooMinuit::setPrintLevel ( Int_t  newLevel)

Change the MINUIT internal printing level.

Definition at line 558 of file RooMinuit.cxx.

◆ setProfile()

void RooMinuit::setProfile ( bool  flag = true)
inline

Definition at line 76 of file RooMinuit.h.

◆ setStrategy()

void RooMinuit::setStrategy ( Int_t  istrat)

Change MINUIT strategy to istrat.

Accepted codes are 0,1,2 and represent MINUIT strategies for dealing most efficiently with fast FCNs (0), expensive FCNs (2) and 'intermediate' FCNs (1)

Definition at line 213 of file RooMinuit.cxx.

◆ setVerbose()

void RooMinuit::setVerbose ( bool  flag = true)
inline

Definition at line 75 of file RooMinuit.h.

◆ setWarnLevel()

Int_t RooMinuit::setWarnLevel ( Int_t  newLevel)

Set MINUIT warning level to given level.

Definition at line 584 of file RooMinuit.cxx.

◆ simplex()

Int_t RooMinuit::simplex ( )

Execute SIMPLEX.

Changes in parameter values and calculated errors are automatically propagated back the RooRealVars representing the floating parameters in the MINUIT operation

Definition at line 494 of file RooMinuit.cxx.

◆ synchronize()

bool RooMinuit::synchronize ( bool  verbose)
protected

Internal function to synchronize TMinuit with current information in RooAbsReal function parameters.

Definition at line 610 of file RooMinuit.cxx.

◆ updateFloatVec()

void RooMinuit::updateFloatVec ( )
protected

Definition at line 1152 of file RooMinuit.cxx.

◆ zeroEvalCount()

void RooMinuit::zeroEvalCount ( )
inline

Definition at line 83 of file RooMinuit.h.

Friends And Related Symbol Documentation

◆ RooAbsPdf

friend class RooAbsPdf
friend

Definition at line 87 of file RooMinuit.h.

◆ RooMinuitGlue

void RooMinuitGlue ( Int_t np,
double gin,
double f,
double par,
Int_t  flag 
)
friend

Definition at line 1189 of file RooMinuit.cxx.

Member Data Documentation

◆ _constParamList

RooArgList* RooMinuit::_constParamList
private

Definition at line 130 of file RooMinuit.h.

◆ _cumulTimer

TStopwatch RooMinuit::_cumulTimer
private

Definition at line 138 of file RooMinuit.h.

◆ _doEvalErrorWall

bool RooMinuit::_doEvalErrorWall
private

Definition at line 125 of file RooMinuit.h.

◆ _evalCounter

Int_t RooMinuit::_evalCounter
private

Definition at line 115 of file RooMinuit.h.

◆ _extV

TMatrixDSym* RooMinuit::_extV
private

Definition at line 140 of file RooMinuit.h.

◆ _floatParamList

RooArgList* RooMinuit::_floatParamList
private

Definition at line 127 of file RooMinuit.h.

◆ _floatParamVec

std::vector<RooAbsArg*> RooMinuit::_floatParamVec
private

Definition at line 128 of file RooMinuit.h.

◆ _func

RooAbsReal* RooMinuit::_func
private

Definition at line 132 of file RooMinuit.h.

◆ _handleLocalErrors

bool RooMinuit::_handleLocalErrors
private

Definition at line 121 of file RooMinuit.h.

◆ _initConstParamList

RooArgList* RooMinuit::_initConstParamList
private

Definition at line 131 of file RooMinuit.h.

◆ _initFloatParamList

RooArgList* RooMinuit::_initFloatParamList
private

Definition at line 129 of file RooMinuit.h.

◆ _logfile

std::ofstream* RooMinuit::_logfile
private

Definition at line 135 of file RooMinuit.h.

◆ _maxEvalMult

Int_t RooMinuit::_maxEvalMult
private

Definition at line 126 of file RooMinuit.h.

◆ _maxFCN

double RooMinuit::_maxFCN
private

Definition at line 134 of file RooMinuit.h.

◆ _nPar

Int_t RooMinuit::_nPar
private

Definition at line 123 of file RooMinuit.h.

◆ _numBadNLL

Int_t RooMinuit::_numBadNLL
private

Definition at line 122 of file RooMinuit.h.

◆ _optConst

Int_t RooMinuit::_optConst
private

Definition at line 119 of file RooMinuit.h.

◆ _printEvalErrors

Int_t RooMinuit::_printEvalErrors
private

Definition at line 124 of file RooMinuit.h.

◆ _printLevel

Int_t RooMinuit::_printLevel
private

Definition at line 116 of file RooMinuit.h.

◆ _profile

bool RooMinuit::_profile
private

Definition at line 120 of file RooMinuit.h.

◆ _status

Int_t RooMinuit::_status
private

Definition at line 118 of file RooMinuit.h.

◆ _statusHistory

std::vector<std::pair<std::string,int> > RooMinuit::_statusHistory
private

Definition at line 144 of file RooMinuit.h.

◆ _theFitter

TVirtualFitter * RooMinuit::_theFitter = nullptr
staticprivate

Definition at line 142 of file RooMinuit.h.

◆ _timer

TStopwatch RooMinuit::_timer
private

Definition at line 137 of file RooMinuit.h.

◆ _verbose

bool RooMinuit::_verbose
private

Definition at line 136 of file RooMinuit.h.

◆ _warnLevel

Int_t RooMinuit::_warnLevel
private

Definition at line 117 of file RooMinuit.h.

◆ R__DEPRECATED

enum RooMinuit::Strategy RooMinuit::R__DEPRECATED
Libraries for RooMinuit:

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