43namespace TestStatistics {
 
   44class LikelihoodGradientJob;
 
   92      const char *
logf = 
nullptr;  
 
 
  169                    double n4 = 0.0, 
double n5 = 0.0, 
double n6 = 0.0, 
unsigned int npoints = 50);
 
  231   bool update(
bool isValid);
 
  244   std::unique_ptr<RooAbsMinimizerFcn> 
_fcn;
 
 
#define ClassDefOverride(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
Class describing the configuration of the fit, options and parameter settings using the ROOT::Fit::Pa...
 
Documentation for the abstract class IBaseFunctionMultiDim.
 
Abstract Minimizer class, defining the interface for the various minimizer (like Minuit2,...
 
Abstract base class for objects that represent a real value and implements functionality common to al...
 
RooArgList is a container object that can hold multiple RooAbsArg objects.
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
 
ROOT::Math::Minimizer * GetMinimizer() const
 
ROOT::Fit::FitConfig * _config
 
ROOT::Math::Minimizer * _minimizer
 
const FitResult & Result() const
 
ROOT::Fit::FitConfig & Config() const
 
FitResult const  * _result
 
FitterInterface(ROOT::Fit::FitConfig *config, ROOT::Math::Minimizer *minimizer, FitResult const *result)
 
Wrapper class around ROOT::Math::Minimizer that provides a seamless interface between the minimizer f...
 
void setRecoverFromNaNStrength(double strength)
Try to recover from invalid function values.
 
int getPrintLevel()
Get the MINUIT internal printing level.
 
void optimizeConst(int flag)
If flag is true, perform constant term optimization on function being minimized.
 
void initMinimizerFirstPart()
Initialize the part of the minimizer that is independent of the function to be minimized.
 
std::ofstream * logfile()
 
auto fitter()
Return underlying ROOT fitter object.
 
int simplex()
Execute SIMPLEX.
 
std::unique_ptr< TMatrixDSym > _extV
 
void setMinimizerType(std::string const &type)
Choose the minimizer algorithm.
 
RooFit::OwningPtr< RooFitResult > save(const char *name=nullptr, const char *title=nullptr)
Save and return a RooFitResult snapshot of current minimizer status.
 
std::vector< std::pair< std::string, int > > _statusHistory
 
void profileStart()
Start profiling timer.
 
void setProfile(bool flag=true)
 
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.
 
std::unique_ptr< ROOT::Math::Minimizer > _minimizer
! pointer to used minimizer
 
bool setLogFile(const char *logf=nullptr)
 
void initMinimizerFcnDependentPart(double defaultErrorLevel)
Initialize the part of the minimizer that is dependent on the function to be minimized.
 
void fillCorrMatrix(RooFitResult &fitRes)
 
double & fcnOffset() const
 
ROOT::Fit::FitConfig _config
fitter configuration (options and parameter settings)
 
void profileStop()
Stop profiling timer and report results of last session.
 
friend class RooMinimizerFcn
 
int minos()
Execute MINOS.
 
bool calculateHessErrors()
 
int hesse()
Execute HESSE.
 
bool calculateMinosErrors()
 
void setErrorLevel(double level)
Set the level for MINUIT error analysis to the given value.
 
void determineStatus(bool fitterReturnValue)
 
void setEvalErrorWall(bool flag)
 
int migrad()
Execute MIGRAD.
 
bool update(bool isValid)
 
bool updateMinimizerOptions(bool canDifferentMinim=true)
 
void setEps(double eps)
Change MINUIT epsilon.
 
void setPrintLevel(int newLevel)
Change the MINUIT internal printing level.
 
std::string const & minimizerType() const
 
void fillResult(bool isValid)
 
int exec(std::string const &algoName, std::string const &statusName)
 
int improve()
Execute IMPROVE.
 
void setOffsetting(bool flag)
Enable internal likelihood offsetting for enhanced numeric precision.
 
RooMinimizer::Config _cfg
 
bool fitFCN(const ROOT::Math::IMultiGenFunction &fcn)
 
std::unique_ptr< FitResult > _result
! pointer to the object containing the result of the fit
 
RooFit::OwningPtr< RooFitResult > lastMinuitFit()
 
void saveStatus(const char *label, int status)
 
~RooMinimizer() override
Destructor.
 
int minimize(const char *type, const char *alg=nullptr)
Minimise the function passed in the constructor.
 
void clearStatusHistory()
Clears the Minuit status history.
 
ROOT::Math::IMultiGenFunction * getMultiGenFcn() const
 
std::unique_ptr< RooAbsReal::EvalErrorContext > makeEvalErrorContext() const
 
void setVerbose(bool flag=true)
 
void setPrintEvalErrors(int numEvalErrors)
 
RooMinimizer(RooAbsReal &function, Config const &cfg={})
Construct MINUIT interface to given function.
 
void setMaxFunctionCalls(int n)
Change maximum number of likelihood function class from MINUIT (RooMinimizer default 500 * #parameter...
 
void setStrategy(int istrat)
Change MINUIT strategy to istrat.
 
void setMaxIterations(int n)
Change maximum number of MINUIT iterations (RooMinimizer default 500 * #parameters)
 
void addParamsToProcessTimer()
Add parameters in metadata field to process timer.
 
std::unique_ptr< RooAbsMinimizerFcn > _fcn
 
void applyCovarianceMatrix(TMatrixDSym const &V)
Apply results of given external covariance matrix.
 
Plot frame and a container for graphics objects within that frame.
 
Variable that can be changed from the outside.
 
Mother of all ROOT objects.
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
 
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...
 
Config argument to RooMinimizer constructor.
 
bool setInitialCovariance
 
bool enableParallelDescent
 
std::string minimizerType
 
bool enableParallelGradient
 
bool fValid
flag for indicating valid fit
 
std::vector< double > fGlobalCC
global Correlation coefficient
 
std::map< unsigned int, std::pair< double, double > > fMinosErrors
map contains the two Minos errors
 
double upperError(unsigned int i) const
 
std::string fMinimType
string indicating type of minimizer
 
std::vector< double > fErrors
errors
 
double error(unsigned int i) const
 
std::vector< double > fParams
parameter values. Size is total number of parameters
 
double fEdm
expected distance from minimum
 
double fVal
minimum function value
 
void GetCovarianceMatrix(TMatrixDSym &cov) const
 
std::map< unsigned int, bool > fFixedParams
list of fixed parameters
 
bool isParameterFixed(unsigned int ipar) const
 
int fCovStatus
covariance matrix status code
 
std::vector< double > fCovMatrix
covariance matrix (size is npar*(npar+1)/2) where npar is total parameters
 
int fStatus
minimizer status code
 
double lowerError(unsigned int i) const