16 #ifndef ROO_FIT_RESULT 17 #define ROO_FIT_RESULT 48 if (newname && *newname) r->
SetName(newname) ;
59 virtual void printValue(std::ostream& os)
const ;
60 virtual void printName(std::ostream& os)
const ;
61 virtual void printTitle(std::ostream& os)
const ;
63 virtual void printArgs(std::ostream& os)
const ;
144 const char *options=
"ME")
const {
149 const char *options=
"ME")
const;
157 void SetNameTitle(
const char *name,
const char* title) ;
const TMatrixDSym & correlationMatrix() const
Return correlation matrix ;.
Double_t globalCorr(const RooAbsArg &par)
const RooArgList * correlation(const RooAbsArg &par) const
virtual const char * GetName() const
Returns name of object.
RooPlot * plotOn(RooPlot *frame, const RooAbsArg &par1, const RooAbsArg &par2, const char *options="ME") const
Int_t numInvalidNLL() const
virtual void printArgs(std::ostream &os) const
Print arguments of fit result, i.e. the parameters of the fit.
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'.
TMatrixDSym conditionalCovarianceMatrix(const RooArgList ¶ms) const
Return a reduced covariance matrix, which is calculated as ___ -1 Vred = V22 = V11 - V12 * V22 * V21...
const RooArgList & floatParsFinal() const
const RooArgList & randomizePars() const
Return a list of floating parameter values that are perturbed from the final fit values by random amo...
virtual void printClassName(std::ostream &os) const
Print class name of fit result.
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...
void setStatusHistory(std::vector< std::pair< std::string, int > > &hist)
const TMatrixDSym & covarianceMatrix() const
Return covariance matrix.
void fillLegacyCorrMatrix() const
Sanity check.
void SetNameTitle(const char *name, const char *title)
Change name and title of RooFitResult object.
void setNumInvalidNLL(Int_t val)
void setStatus(Int_t val)
virtual Int_t defaultPrintContents(Option_t *opt) const
Configure default contents to be printed.
void setInitParList(const RooArgList &list)
Fill the list of initial values of the floating parameters.
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
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...
void setEDM(Double_t val)
virtual StyleOption defaultPrintStyle(Option_t *opt) const
Configure mapping of Print() arguments to RooPrintable print styles.
void fillPrefitCorrMatrix()
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...
#define ClassDef(name, id)
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
const char * statusLabelHistory(UInt_t icycle) const
The TNamed class is the base class for all named ROOT classes.
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
virtual TObject * clone() const
TH2 * correlationHist(const char *name="correlation_matrix") const
Return TH2D of correlation matrix.
void setMinNLL(Double_t val)
TList _corrMatrix
List of global correlation coefficients.
TMatrixDSym * _CM
triangular matrix used for generate random perturbations
Service class for 2-Dim histogram classes.
Double_t covariance(Int_t row, Int_t col) const
Return the covariance matrix element addressed with numeric indices.
static RooFitResult * lastMinuitFit(const RooArgList &varList=RooArgList())
Import the results of the last fit performed by gMinuit, interpreting the fit parameters as the given...
Int_t statusCodeHistory(UInt_t icycle) const
virtual ~RooFitResult()
Destructor.
void setFinalParList(const RooArgList &list)
Fill the list of final values of the floating parameters.
void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Print fit result to stream 'os'.
RooFitResult(const char *name=0, const char *title=0)
Constructor with name and title coverity[UNINIT_CTOR].
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. ...
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.
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.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Mother of all ROOT objects.
const RooArgList & constPars() const
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...
UInt_t numStatusHistory() const
const RooArgList * globalCorr()
Return the list of all global correlations.
const RooArgList & floatParsInit() const
static RooFitResult * prefitResult(const RooArgList ¶mList)
Import the results of the last fit performed by gMinuit, interpreting the fit parameters as the given...
void setCovQual(Int_t val)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void fillCorrMatrix()
Internal utility method to extract the correlation matrix and the global correlation coefficients fro...
void setCovarianceMatrix(TMatrixDSym &V)
Store externally provided correlation matrix in this RooFitResult ;.
Double_t correlation(const RooAbsArg &par1, const RooAbsArg &par2) const
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...
RooMinuit is a wrapper class around TFitter/TMinuit that provides a seamless interface between the MI...
std::vector< std::pair< std::string, int > > _statusHistory
virtual void printTitle(std::ostream &os) const
Print title of fit result.