Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooMinuit.h File Reference
#include "TObject.h"
#include "TStopwatch.h"
#include <fstream>
#include "TMatrixDSymfwd.h"
#include <vector>
#include <string>
#include <utility>
#include <ROOT/RConfig.hxx>
Include dependency graph for RooMinuit.h:
This graph shows which files directly or indirectly include this file:

Classes

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

Enumerations

enum  PrintLevel {
  None =-1 , Reduced =0 , Normal =1 , ExtraForProblem =2 ,
  Maximum =3
}
 
enum  Strategy { Speed =0 , Balance =1 , Robustness =2 }
 

Functions

 ~RooMinuit () override
 
void applyCovarianceMatrix (TMatrixDSym &V)
 
void backProp ()
 
static void cleanup ()
 
void clearPdfParamAsymErr (Int_t index)
 
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)
 
Int_t evalCounter () const
 
RooFitResultfit (const char *options)
 
Int_t getNPar () const
 
double getPdfParamErr (Int_t index)
 
double getPdfParamVal (Int_t index)
 
Int_t hesse ()
 
Int_t improve ()
 
std::ofstream * logfile () const
 
doublemaxFCN ()
 
Int_t migrad ()
 
Int_t minos ()
 
Int_t minos (const RooArgSet &minosParamList)
 
void optimizeConst (Int_t flag)
 
void profileStart ()
 
void profileStop ()
 
RooMinuit TObject R__DEPRECATED (6, 30, "Please use RooMinimizer instead of RooMinuit")
 
 RooMinuit (const RooMinuit &)
 
 RooMinuit (RooAbsReal &function)
 
void RooMinuitGlue (Int_t &, double *, double &f, double *par, Int_t)
 
RooFitResultsave (const char *name=nullptr, const char *title=nullptr)
 
void saveStatus (const char *label, Int_t status)
 
Int_t seek ()
 
void setEps (double eps)
 
void setErrorLevel (double level)
 
void setEvalErrorWall (bool flag)
 
bool setLogFile (const char *logfile=nullptr)
 
void setMaxEvalMultiplier (Int_t n)
 
void setNoWarn ()
 
void setOffsetting (bool flag)
 
void setPdfParamErr (Int_t index, double loVal, double hiVal)
 
void setPdfParamErr (Int_t index, double value)
 
virtual bool setPdfParamVal (Int_t index, double value, bool verbose=false)
 
void setPrintEvalErrors (Int_t numEvalErrors)
 
Int_t setPrintLevel (Int_t newLevel)
 
void setProfile (bool flag=true)
 
void setStrategy (Int_t strat)
 
void setVerbose (bool flag=true)
 
Int_t setWarnLevel (Int_t newLevel)
 
Int_t simplex ()
 
bool synchronize (bool verbose)
 
void updateFloatVec ()
 
void zeroEvalCount ()
 

Variables

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
 
static TVirtualFitter_theFitter
 
TStopwatch _timer
 
bool _verbose
 
Int_t _warnLevel
 

Enumeration Type Documentation

◆ PrintLevel

enum PrintLevel
Enumerator
None 
Reduced 
Normal 
ExtraForProblem 
Maximum 

Definition at line 6 of file RooMinuit.h.

◆ Strategy

enum Strategy
Enumerator
Speed 
Balance 
Robustness 

Definition at line 5 of file RooMinuit.h.

Function Documentation

◆ ~RooMinuit()

R__DEPRECATED::~RooMinuit ( )
override

◆ applyCovarianceMatrix()

void R__DEPRECATED::applyCovarianceMatrix ( TMatrixDSym V)
protected

◆ backProp()

void R__DEPRECATED::backProp ( )
protected

◆ cleanup()

static void R__DEPRECATED::cleanup ( )
static

◆ clearPdfParamAsymErr()

void R__DEPRECATED::clearPdfParamAsymErr ( Int_t  index)
protected

◆ contour()

RooPlot * R__DEPRECATED::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 
)

◆ evalCounter()

Int_t R__DEPRECATED::evalCounter ( ) const

Definition at line 40 of file RooMinuit.h.

◆ fit()

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

◆ getNPar()

Int_t R__DEPRECATED::getNPar ( ) const
inlineprotected

Definition at line 56 of file RooMinuit.h.

◆ getPdfParamErr()

double R__DEPRECATED::getPdfParamErr ( Int_t  index)
protected

◆ getPdfParamVal()

double R__DEPRECATED::getPdfParamVal ( Int_t  index)
protected

◆ hesse()

Int_t R__DEPRECATED::hesse ( )

◆ improve()

Int_t R__DEPRECATED::improve ( )

◆ logfile()

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

Definition at line 57 of file RooMinuit.h.

◆ maxFCN()

double & R__DEPRECATED::maxFCN ( )
inlineprotected

Definition at line 58 of file RooMinuit.h.

◆ migrad()

Int_t R__DEPRECATED::migrad ( )

◆ minos() [1/2]

Int_t R__DEPRECATED::minos ( )

◆ minos() [2/2]

Int_t R__DEPRECATED::minos ( const RooArgSet minosParamList)

◆ optimizeConst()

void R__DEPRECATED::optimizeConst ( Int_t  flag)

◆ profileStart()

void R__DEPRECATED::profileStart ( )
protected

◆ profileStop()

void R__DEPRECATED::profileStop ( )
protected

◆ R__DEPRECATED()

RooMinuit TObject R__DEPRECATED ( ,
30  ,
"Please use RooMinimizer instead of RooMinuit"   
)

◆ RooMinuit() [1/2]

R__DEPRECATED::RooMinuit ( const RooMinuit )
private

◆ RooMinuit() [2/2]

R__DEPRECATED::RooMinuit ( RooAbsReal function)

◆ RooMinuitGlue()

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

Definition at line 1189 of file RooMinuit.cxx.

◆ save()

RooFitResult * R__DEPRECATED::save ( const char *  name = nullptr,
const char *  title = nullptr 
)

◆ saveStatus()

void R__DEPRECATED::saveStatus ( const char *  label,
Int_t  status 
)
protected

Definition at line 67 of file RooMinuit.h.

◆ seek()

Int_t R__DEPRECATED::seek ( )

◆ setEps()

void R__DEPRECATED::setEps ( double  eps)

◆ setErrorLevel()

void R__DEPRECATED::setErrorLevel ( double  level)

◆ setEvalErrorWall()

void R__DEPRECATED::setEvalErrorWall ( bool  flag)

Definition at line 11 of file RooMinuit.h.

◆ setLogFile()

bool R__DEPRECATED::setLogFile ( const char *  logfile = nullptr)

◆ setMaxEvalMultiplier()

void R__DEPRECATED::setMaxEvalMultiplier ( Int_t  n)

Definition at line 35 of file RooMinuit.h.

◆ setNoWarn()

void R__DEPRECATED::setNoWarn ( )

◆ setOffsetting()

void R__DEPRECATED::setOffsetting ( bool  flag)

◆ setPdfParamErr() [1/2]

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

◆ setPdfParamErr() [2/2]

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

◆ setPdfParamVal()

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

◆ setPrintEvalErrors()

void R__DEPRECATED::setPrintEvalErrors ( Int_t  numEvalErrors)

Definition at line 32 of file RooMinuit.h.

◆ setPrintLevel()

Int_t R__DEPRECATED::setPrintLevel ( Int_t  newLevel)

◆ setProfile()

void R__DEPRECATED::setProfile ( bool  flag = true)

Definition at line 34 of file RooMinuit.h.

◆ setStrategy()

void R__DEPRECATED::setStrategy ( Int_t  strat)

◆ setVerbose()

void R__DEPRECATED::setVerbose ( bool  flag = true)

Definition at line 33 of file RooMinuit.h.

◆ setWarnLevel()

Int_t R__DEPRECATED::setWarnLevel ( Int_t  newLevel)

◆ simplex()

Int_t R__DEPRECATED::simplex ( )

◆ synchronize()

bool R__DEPRECATED::synchronize ( bool  verbose)
protected

◆ updateFloatVec()

void R__DEPRECATED::updateFloatVec ( )
protected

◆ zeroEvalCount()

void R__DEPRECATED::zeroEvalCount ( )

Definition at line 41 of file RooMinuit.h.

Variable Documentation

◆ _constParamList

RooArgList* _constParamList
private

Definition at line 88 of file RooMinuit.h.

◆ _cumulTimer

TStopwatch _cumulTimer
private

Definition at line 96 of file RooMinuit.h.

◆ _doEvalErrorWall

bool _doEvalErrorWall
private

Definition at line 83 of file RooMinuit.h.

◆ _evalCounter

Int_t _evalCounter
private

Definition at line 73 of file RooMinuit.h.

◆ _extV

TMatrixDSym* _extV
private

Definition at line 98 of file RooMinuit.h.

◆ _floatParamList

RooArgList* _floatParamList
private

Definition at line 85 of file RooMinuit.h.

◆ _floatParamVec

std::vector<RooAbsArg*> _floatParamVec
private

Definition at line 86 of file RooMinuit.h.

◆ _func

RooAbsReal* _func
private

Definition at line 90 of file RooMinuit.h.

◆ _handleLocalErrors

bool _handleLocalErrors
private

Definition at line 79 of file RooMinuit.h.

◆ _initConstParamList

RooArgList* _initConstParamList
private

Definition at line 89 of file RooMinuit.h.

◆ _initFloatParamList

RooArgList* _initFloatParamList
private

Definition at line 87 of file RooMinuit.h.

◆ _logfile

std::ofstream* _logfile
private

Definition at line 93 of file RooMinuit.h.

◆ _maxEvalMult

Int_t _maxEvalMult
private

Definition at line 84 of file RooMinuit.h.

◆ _maxFCN

double _maxFCN
private

Definition at line 92 of file RooMinuit.h.

◆ _nPar

Int_t _nPar
private

Definition at line 81 of file RooMinuit.h.

◆ _numBadNLL

Int_t _numBadNLL
private

Definition at line 80 of file RooMinuit.h.

◆ _optConst

Int_t _optConst
private

Definition at line 77 of file RooMinuit.h.

◆ _printEvalErrors

Int_t _printEvalErrors
private

Definition at line 82 of file RooMinuit.h.

◆ _printLevel

Int_t _printLevel
private

Definition at line 74 of file RooMinuit.h.

◆ _profile

bool _profile
private

Definition at line 78 of file RooMinuit.h.

◆ _status

Int_t _status
private

Definition at line 76 of file RooMinuit.h.

◆ _statusHistory

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

Definition at line 102 of file RooMinuit.h.

◆ _theFitter

TVirtualFitter* _theFitter
staticprivate

Definition at line 100 of file RooMinuit.h.

◆ _timer

TStopwatch _timer
private

Definition at line 95 of file RooMinuit.h.

◆ _verbose

bool _verbose
private

Definition at line 94 of file RooMinuit.h.

◆ _warnLevel

Int_t _warnLevel
private

Definition at line 75 of file RooMinuit.h.