Wrapper class around ROOT::Math::Minimizer that provides a seamless interface between the minimizer functionality and the native RooFit interface.
By default the Minimizer is Minuit 2. RooMinimizer can minimize any RooAbsReal function with respect to its parameters. Usual choices for minimization are the object returned by RooAbsPdf::createNLL() or RooAbsReal::createChi2(). RooMinimizer 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 48 of file RooMinimizer.h.
Classes | |
struct | Config |
Config argument to RooMinimizer constructor. More... | |
struct | FitResult |
class | FitterInterface |
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 | |
RooMinimizer (RooAbsReal &function, Config const &cfg={}) | |
Construct MINUIT interface to given function. | |
~RooMinimizer () override | |
Destructor. | |
void | applyCovarianceMatrix (TMatrixDSym const &V) |
Apply results of given external covariance matrix. | |
void | clearStatusHistory () |
Clears the Minuit status history. | |
RooPlot * | contour (RooRealVar &var1, RooRealVar &var2, double n1=1.0, double n2=2.0, double n3=0.0, double n4=0.0, double n5=0.0, double n6=0.0, unsigned int npoints=50) |
Create and draw a TH2 with the error contours in the parameters var1 and var2 . | |
int | evalCounter () const |
auto | fitter () |
Return underlying ROOT fitter object. | |
ROOT::Math::IMultiGenFunction * | getMultiGenFcn () const |
int | getNPar () const |
int | getPrintLevel () |
Get the MINUIT internal printing level. | |
int | hesse () |
Execute HESSE. | |
int | improve () |
Execute IMPROVE. | |
TClass * | IsA () const override |
RooFit::OwningPtr< RooFitResult > | lastMinuitFit () |
int | migrad () |
Execute MIGRAD. | |
int | minimize (const char *type, const char *alg=nullptr) |
Minimise the function passed in the constructor. | |
std::string const & | minimizerType () const |
int | minos () |
Execute MINOS. | |
int | minos (const RooArgSet &minosParamList) |
Execute MINOS for given list of parameters. | |
void | optimizeConst (int flag) |
If flag is true, perform constant term optimization on function being minimized. | |
RooFit::OwningPtr< RooFitResult > | save (const char *name=nullptr, const char *title=nullptr) |
Save and return a RooFitResult snapshot of current minimizer status. | |
void | saveStatus (const char *label, int status) |
int | 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 *logf=nullptr) |
void | setMaxFunctionCalls (int n) |
Change maximum number of likelihood function class from MINUIT (RooMinimizer default 500 * #parameters) | |
void | setMaxIterations (int n) |
Change maximum number of MINUIT iterations (RooMinimizer default 500 * #parameters) | |
void | setMinimizerType (std::string const &type) |
Choose the minimizer algorithm. | |
void | setOffsetting (bool flag) |
Enable internal likelihood offsetting for enhanced numeric precision. | |
void | setPrintEvalErrors (int numEvalErrors) |
void | setPrintLevel (int newLevel) |
Change the MINUIT internal printing level. | |
void | setProfile (bool flag=true) |
void | setRecoverFromNaNStrength (double strength) |
Try to recover from invalid function values. | |
void | setStrategy (int istrat) |
Change MINUIT strategy to istrat. | |
void | setVerbose (bool flag=true) |
int | simplex () |
Execute SIMPLEX. | |
void | Streamer (TBuffer &) override |
Stream an object of class TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 TObject * | Clone (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 TObject * | DrawClone (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 TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. | |
virtual Option_t * | GetDrawOption () 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_t * | GetOption () 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) |
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 (the base implementation is no-op). | |
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, void *vp) |
Only called by placement new when throwing an exception. | |
void | operator delete[] (void *ptr) |
Operator delete []. | |
void | operator delete[] (void *ptr, void *vp) |
Only called by placement new[] when throwing an exception. | |
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) |
TObject & | operator= (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. | |
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 TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
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. | |
Private Member Functions | |
void | addParamsToProcessTimer () |
Add parameters in metadata field to process timer. | |
bool | calculateHessErrors () |
bool | calculateMinosErrors () |
void | determineStatus (bool fitterReturnValue) |
int | exec (std::string const &algoName, std::string const &statusName) |
double & | fcnOffset () const |
void | fillCorrMatrix (RooFitResult &fitRes) |
void | fillResult (bool isValid) |
bool | fitFCN (const ROOT::Math::IMultiGenFunction &fcn) |
void | initMinimizer () |
void | initMinimizerFcnDependentPart (double defaultErrorLevel) |
Initialize the part of the minimizer that is dependent on the function to be minimized. | |
void | initMinimizerFirstPart () |
Initialize the part of the minimizer that is independent of the function to be minimized. | |
std::ofstream * | logfile () |
std::unique_ptr< RooAbsReal::EvalErrorContext > | makeEvalErrorContext () const |
double & | maxFCN () |
void | profileStart () |
Start profiling timer. | |
void | profileStop () |
Stop profiling timer and report results of last session. | |
bool | update (bool isValid) |
void | updateErrors () |
void | updateFitConfig () |
bool | updateMinimizerOptions (bool canDifferentMinim=true) |
Private Attributes | |
RooMinimizer::Config | _cfg |
ROOT::Fit::FitConfig | _config |
fitter configuration (options and parameter settings) | |
TStopwatch | _cumulTimer |
std::unique_ptr< TMatrixDSym > | _extV |
std::unique_ptr< RooAbsMinimizerFcn > | _fcn |
std::unique_ptr< ROOT::Math::Minimizer > | _minimizer |
! pointer to used minimizer | |
bool | _profileStart = false |
std::unique_ptr< FitResult > | _result |
! pointer to the object containing the result of the fit | |
int | _status = -99 |
std::vector< std::pair< std::string, int > > | _statusHistory |
TStopwatch | _timer |
Friends | |
class | RooAbsMinimizerFcn |
class | RooFit::TestStatistics::LikelihoodGradientJob |
class | RooMinimizerFcn |
Additional Inherited Members | |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = (1ULL << ( 3 )) } |
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 () |
#include <RooMinimizer.h>
Enumerator | |
---|---|
None | |
Reduced | |
Normal | |
ExtraForProblem | |
Maximum |
Definition at line 138 of file RooMinimizer.h.
Enumerator | |
---|---|
Speed | |
Balance | |
Robustness |
Definition at line 137 of file RooMinimizer.h.
|
explicit |
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. Constructor that accepts all configuration in struct with RooAbsReal likelihood
Definition at line 86 of file RooMinimizer.cxx.
|
overridedefault |
Destructor.
|
private |
Add parameters in metadata field to process timer.
Definition at line 678 of file RooMinimizer.cxx.
void RooMinimizer::applyCovarianceMatrix | ( | TMatrixDSym const & | V | ) |
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 732 of file RooMinimizer.cxx.
|
private |
Definition at line 880 of file RooMinimizer.cxx.
|
private |
Definition at line 911 of file RooMinimizer.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 248 of file RooMinimizer.h.
|
inline |
Clears the Minuit status history.
Definition at line 183 of file RooMinimizer.h.
RooPlot * RooMinimizer::contour | ( | RooRealVar & | var1, |
RooRealVar & | var2, | ||
double | n1 = 1.0 , |
||
double | n2 = 2.0 , |
||
double | n3 = 0.0 , |
||
double | n4 = 0.0 , |
||
double | n5 = 0.0 , |
||
double | n6 = 0.0 , |
||
unsigned int | npoints = 50 |
||
) |
Create and draw a TH2 with the error contours in the parameters var1
and var2
.
[in] | var1 | The first parameter (x axis). |
[in] | var2 | The second parameter (y axis). |
[in] | n1 | First contour. |
[in] | n2 | Optional contour. 0 means don't draw. |
[in] | n3 | Optional contour. 0 means don't draw. |
[in] | n4 | Optional contour. 0 means don't draw. |
[in] | n5 | Optional contour. 0 means don't draw. |
[in] | n6 | Optional contour. 0 means don't draw. |
[in] | npoints | Number of points for evaluating the contour. |
Up to six contours can be drawn using the arguments n1
to n6
to request the desired coverage in units of \( \sigma = n^2 \cdot \mathrm{ErrorDef} \). See ROOT::Math::Minimizer::ErrorDef().
Definition at line 591 of file RooMinimizer.cxx.
|
inlinestatic |
Definition at line 248 of file RooMinimizer.h.
|
private |
Definition at line 261 of file RooMinimizer.cxx.
int RooMinimizer::evalCounter | ( | ) | const |
Definition at line 813 of file RooMinimizer.cxx.
|
private |
Definition at line 323 of file RooMinimizer.cxx.
|
private |
Definition at line 835 of file RooMinimizer.cxx.
|
private |
Definition at line 559 of file RooMinimizer.cxx.
|
private |
Definition at line 1054 of file RooMinimizer.cxx.
|
private |
Definition at line 850 of file RooMinimizer.cxx.
|
inline |
Return underlying ROOT fitter object.
Definition at line 189 of file RooMinimizer.h.
ROOT::Math::IMultiGenFunction * RooMinimizer::getMultiGenFcn | ( | ) | const |
Definition at line 722 of file RooMinimizer.cxx.
int RooMinimizer::getNPar | ( | ) | const |
Definition at line 822 of file RooMinimizer.cxx.
int RooMinimizer::getPrintLevel | ( | ) |
Get the MINUIT internal printing level.
Definition at line 480 of file RooMinimizer.cxx.
int RooMinimizer::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 359 of file RooMinimizer.cxx.
int RooMinimizer::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 464 of file RooMinimizer.cxx.
|
private |
Definition at line 968 of file RooMinimizer.cxx.
|
private |
Initialize the part of the minimizer that is dependent on the function to be minimized.
Definition at line 151 of file RooMinimizer.cxx.
|
private |
Initialize the part of the minimizer that is independent of the function to be minimized.
Definition at line 141 of file RooMinimizer.cxx.
|
inlineoverridevirtual |
Reimplemented from TObject.
Definition at line 248 of file RooMinimizer.h.
RooFit::OwningPtr< RooFitResult > RooMinimizer::lastMinuitFit | ( | ) |
Definition at line 738 of file RooMinimizer.cxx.
|
private |
Definition at line 827 of file RooMinimizer.cxx.
|
private |
Definition at line 840 of file RooMinimizer.cxx.
|
private |
Definition at line 831 of file RooMinimizer.cxx.
int RooMinimizer::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 318 of file RooMinimizer.cxx.
int RooMinimizer::minimize | ( | const char * | type, |
const char * | alg = nullptr |
||
) |
Minimise the function passed in the constructor.
[in] | type | Type of fitter to use, e.g. "Minuit" "Minuit2". Passing an empty string will select the default minimizer type of the RooMinimizer, as returned by ROOT::Math::MinimizerOptions::DefaultMinimizerType(). |
[in] | alg | Fit algorithm to use. (Optional) |
Definition at line 281 of file RooMinimizer.cxx.
|
inline |
Definition at line 176 of file RooMinimizer.h.
int RooMinimizer::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 376 of file RooMinimizer.cxx.
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 393 of file RooMinimizer.cxx.
void RooMinimizer::optimizeConst | ( | int | flag | ) |
If flag is true, perform constant term optimization on function being minimized.
Definition at line 489 of file RooMinimizer.cxx.
|
private |
Start profiling timer.
Definition at line 698 of file RooMinimizer.cxx.
|
private |
Stop profiling timer and report results of last session.
Definition at line 710 of file RooMinimizer.cxx.
RooFit::OwningPtr< RooFitResult > RooMinimizer::save | ( | const char * | userName = nullptr , |
const char * | userTitle = nullptr |
||
) |
Save and return a RooFitResult snapshot of current minimizer status.
This snapshot contains the values of all constant parameters, the value of all floating parameters at RooMinimizer 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 502 of file RooMinimizer.cxx.
|
inline |
Definition at line 180 of file RooMinimizer.h.
int RooMinimizer::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 442 of file RooMinimizer.cxx.
void RooMinimizer::setEps | ( | double | eps | ) |
Change MINUIT epsilon.
Definition at line 226 of file RooMinimizer.cxx.
void RooMinimizer::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 RooMinimizer constructor from the defaultErrorLevel() method of the input function
Definition at line 218 of file RooMinimizer.cxx.
|
inline |
Definition at line 150 of file RooMinimizer.h.
bool RooMinimizer::setLogFile | ( | const char * | logf = nullptr | ) |
Definition at line 807 of file RooMinimizer.cxx.
void RooMinimizer::setMaxFunctionCalls | ( | int | n | ) |
Change maximum number of likelihood function class from MINUIT (RooMinimizer default 500 * #parameters)
Definition at line 207 of file RooMinimizer.cxx.
void RooMinimizer::setMaxIterations | ( | int | n | ) |
Change maximum number of MINUIT iterations (RooMinimizer default 500 * #parameters)
Definition at line 198 of file RooMinimizer.cxx.
void RooMinimizer::setMinimizerType | ( | std::string const & | type | ) |
Choose the minimizer algorithm.
Passing an empty string selects the default minimizer type returned by ROOT::Math::MinimizerOptions::DefaultMinimizerType().
Definition at line 246 of file RooMinimizer.cxx.
void RooMinimizer::setOffsetting | ( | bool | flag | ) |
Enable internal likelihood offsetting for enhanced numeric precision.
Definition at line 234 of file RooMinimizer.cxx.
|
inline |
Definition at line 153 of file RooMinimizer.h.
void RooMinimizer::setPrintLevel | ( | int | newLevel | ) |
Change the MINUIT internal printing level.
Definition at line 472 of file RooMinimizer.cxx.
|
inline |
Definition at line 171 of file RooMinimizer.h.
void RooMinimizer::setRecoverFromNaNStrength | ( | double | strength | ) |
Try to recover from invalid function values.
When invalid function values are encountered, a penalty term is returned to the minimiser to make it back off. This sets the strength of this penalty.
Definition at line 802 of file RooMinimizer.cxx.
void RooMinimizer::setStrategy | ( | int | 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 189 of file RooMinimizer.cxx.
|
inline |
Definition at line 154 of file RooMinimizer.h.
int RooMinimizer::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 453 of file RooMinimizer.cxx.
|
overridevirtual |
|
inline |
Definition at line 248 of file RooMinimizer.h.
Definition at line 1100 of file RooMinimizer.cxx.
|
private |
Definition at line 1129 of file RooMinimizer.cxx.
|
private |
Definition at line 1013 of file RooMinimizer.cxx.
Definition at line 984 of file RooMinimizer.cxx.
void RooMinimizer::zeroEvalCount | ( | ) |
Definition at line 817 of file RooMinimizer.cxx.
|
friend |
Definition at line 198 of file RooMinimizer.h.
|
friend |
Definition at line 200 of file RooMinimizer.h.
|
friend |
Definition at line 199 of file RooMinimizer.h.
|
private |
Definition at line 246 of file RooMinimizer.h.
|
private |
fitter configuration (options and parameter settings)
Definition at line 236 of file RooMinimizer.h.
|
private |
Definition at line 242 of file RooMinimizer.h.
|
private |
Definition at line 243 of file RooMinimizer.h.
|
private |
Definition at line 244 of file RooMinimizer.h.
|
private |
! pointer to used minimizer
Definition at line 238 of file RooMinimizer.h.
|
private |
Definition at line 240 of file RooMinimizer.h.
|
private |
! pointer to the object containing the result of the fit
Definition at line 237 of file RooMinimizer.h.
|
private |
Definition at line 239 of file RooMinimizer.h.
|
private |
Definition at line 245 of file RooMinimizer.h.
|
private |
Definition at line 241 of file RooMinimizer.h.