16 #ifndef ROO_FIT_RESULT
17 #define ROO_FIT_RESULT
49 if (newname && *newname) r->
SetName(newname) ;
58 virtual void printValue(std::ostream& os)
const ;
59 virtual void printName(std::ostream& os)
const ;
60 virtual void printTitle(std::ostream& os)
const ;
62 virtual void printArgs(std::ostream& os)
const ;
143 const char *options=
"ME")
const {
148 const char *options=
"ME")
const;
Double_t globalCorr(const RooAbsArg &par)
virtual void printArgs(std::ostream &os) const
Print arguments of fit result, i.e. the parameters of the fit.
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
Double_t covariance(Int_t row, Int_t col) const
Return the covariance matrix element addressed with numeric indices.
RooPlot * plotOn(RooPlot *frame, const RooAbsArg &par1, const RooAbsArg &par2, const char *options="ME") const
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
const RooArgList & floatParsFinal() const
const RooArgList & constPars() const
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
void setStatusHistory(std::vector< std::pair< std::string, int > > &hist)
virtual void printTitle(std::ostream &os) const
Print title of fit result.
void SetNameTitle(const char *name, const char *title)
Change name and title of RooFitResult object.
RooAbsPdf * createHessePdf(const RooArgSet ¶ms) const
Return a p.d.f that represents the fit result as a multi-variate probability densisty function on the...
void setNumInvalidNLL(Int_t val)
void setStatus(Int_t val)
TMatrixDSym conditionalCovarianceMatrix(const RooArgList ¶ms) const
Return a reduced covariance matrix, which is calculated as ___ -1 Vred = V22 = V11 - V12 * V22 * V21...
TH2 * correlationHist(const char *name="correlation_matrix") const
Return TH2D of correlation matrix.
const RooArgList * correlation(const RooAbsArg &par) const
void setInitParList(const RooArgList &list)
Fill the list of initial values of the floating parameters.
void setEDM(Double_t val)
void plot(TString fname="data.root", TString var0="var0", TString var1="var1")
virtual void printValue(std::ostream &os) const
Print the value of the fit result, i.e.g the status, minimized FCN, edm and covariance quality code...
#define ClassDef(name, id)
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
The TNamed class is the base class for all named ROOT classes.
const RooArgList & randomizePars() const
Return a list of floating parameter values that are perturbed from the final fit values by random amo...
Bool_t isIdentical(const RooFitResult &other, Double_t tol=5e-5, Double_t tolCorr=1e-4, Bool_t verbose=kTRUE) const
Return true if this fit result is identical to other within tolerance 'tol' on fitted values and tole...
void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Print fit result to stream 'os'.
Double_t correlation(const RooAbsArg &par1, const RooAbsArg &par2) const
void setMinNLL(Double_t val)
TList _corrMatrix
List of global correlation coefficients.
TMatrixDSym * _CM
triangular matrix used for generate random perturbations
Int_t statusCodeHistory(UInt_t icycle) const
Service class for 2-Dim histogram classes.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
static RooFitResult * lastMinuitFit(const RooArgList &varList=RooArgList())
Import the results of the last fit performed by gMinuit, interpreting the fit parameters as the given...
virtual ~RooFitResult()
Destructor.
void setFinalParList(const RooArgList &list)
Fill the list of final values of the floating parameters.
virtual TObject * clone() const
const TMatrixDSym & covarianceMatrix() const
Return covariance matrix.
virtual const char * GetName() const
Returns name of object.
RooFitResult(const char *name=0, const char *title=0)
Constructor with name and title coverity[UNINIT_CTOR].
static void indent(ostringstream &buf, int indent_level)
TMatrixF * _Lt
List of floating parameters with most recent random perturbation applied.
void SetName(const char *name)
Change name of RooFitResult object.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
Int_t numInvalidNLL() const
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
RooArgList * _randomPars
Correlation matrix (list of RooArgLists)
void setConstParList(const RooArgList &list)
Fill the list of constant parameters.
TMatrixDSym reducedCovarianceMatrix(const RooArgList ¶ms) const
Return a reduced covariance matrix (Note that Vred is a simple sub-matrix of V, row/columns are order...
const RooArgList & floatParsInit() const
RooDirItem is a utility base class for RooFit objects that are to be attached to ROOT directories...
virtual void printName(std::ostream &os) const
Print name of fit result.
const char * statusLabelHistory(UInt_t icycle) const
virtual StyleOption defaultPrintStyle(Option_t *opt) const
Configure mapping of Print() arguments to RooPrintable print styles.
UInt_t numStatusHistory() const
Mother of all ROOT objects.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...
const RooArgList * globalCorr()
Return the list of all global correlations.
void setCovQual(Int_t val)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
const TMatrixDSym & correlationMatrix() const
Return correlation matrix ;.
void fillCorrMatrix()
Internal utility method to extract the correlation matrix and the global correlation coefficients fro...
virtual void printClassName(std::ostream &os) const
Print class name of fit result.
virtual Int_t defaultPrintContents(Option_t *opt) const
Configure default contents to be printed.
void setCovarianceMatrix(TMatrixDSym &V)
Store externally provided correlation matrix in this RooFitResult ;.
void fillLegacyCorrMatrix() const
Sanity check.
RooMinuit is a wrapper class around TFitter/TMinuit that provides a seamless interface between the MI...
std::vector< std::pair< std::string, int > > _statusHistory