71 TNamed(name,title), _constPars(0), _initPars(0), _finalPars(0), _globalCorr(0), _randomPars(0), _Lt(0),
72 _CM(0), _VM(0), _GC(0)
85 _status(other._status),
86 _covQual(other._covQual),
87 _numBadNLL(other._numBadNLL),
88 _minNLL(other._minNLL),
124 if (_VM)
delete _VM ;
125 if (_GC)
delete _GC ;
200 <<
" ERROR request for status history slot "
201 << icycle <<
" exceeds history count of " <<
_statusHistory.size() << endl ;
214 <<
" ERROR request for status history slot "
215 << icycle <<
" exceeds history count of " <<
_statusHistory.size() << endl ;
248 const char *options)
const
253 coutE(
InputArguments) <<
"RooFitResult::correlationPlot: parameter not floated in fit: " << parName1 << endl;
258 coutE(
InputArguments) <<
"RooFitResult::correlationPlot: parameter not floated in fit: " << parName2 << endl;
282 TLine *hline=
new TLine(x1-s1,x2,x1+s1,x2);
283 hline->SetLineColor(
kRed);
288 TLine *vline=
new TLine(x1,x2-s2,x1,x2+s2);
289 vline->SetLineColor(
kRed);
302 TLine *
line=
new TLine(x1-rho*s1,x2-s2,x1+rho*s1,x2+s2);
304 line->SetLineColor(
kBlue);
305 line->SetLineWidth(2) ;
315 TLine *
line=
new TLine(x1-s1,x2-rho*s2,x1+s1,x2+rho*s2);
317 line->SetLineColor(
kBlue);
318 line->SetLineWidth(2) ;
355 for(
Int_t iPar= 0; iPar < nPar; iPar++) {
358 for(
Int_t k= 0; k < iPar; k++) {
360 L(iPar,iPar)-= tmp*tmp;
362 L(iPar,iPar)=
sqrt(
L(iPar,iPar));
364 for(
Int_t jPar= iPar+1; jPar < nPar; jPar++) {
366 for(
Int_t k= 0; k < iPar; k++) {
367 L(iPar,jPar)-=
L(k,iPar)*
L(k,jPar);
369 L(iPar,jPar)/=
L(iPar,iPar);
403 Int_t idx1 = _finalPars->index(parname1) ;
404 Int_t idx2 = _finalPars->index(parname2) ;
406 coutE(
InputArguments) <<
"RooFitResult::correlation(" <<
GetName() <<
") parameter " << parname1 <<
" is not a floating fit parameter" << endl ;
410 coutE(
InputArguments) <<
"RooFitResult::correlation(" <<
GetName() <<
") parameter " << parname2 <<
" is not a floating fit parameter" << endl ;
424 if (_globalCorr==0) {
428 RooAbsArg* arg = _initPars->find(parname) ;
430 coutE(
InputArguments) <<
"RooFitResult::correlation: variable " << parname <<
" not a floating parameter in fit" << endl ;
443 if (_globalCorr==0) {
447 RooAbsArg* arg = _initPars->find(parname) ;
449 coutE(
InputArguments) <<
"RooFitResult::globalCorr: variable " << parname <<
" not a floating parameter in fit" << endl ;
454 return ((
RooAbsReal*)_globalCorr->at(_initPars->index(arg)))->getVal() ;
467 if (_globalCorr==0) {
490 return (*_VM)(
row,col) ;
504 << indent <<
" RooFitResult: minimized FCN value: " << _minNLL <<
", estimated distance to minimum: " << _edm << endl
505 << indent <<
" covariance matrix quality: " ;
507 case -1 : os <<
"Unknown, matrix was externally provided" ; break ;
508 case 0 : os <<
"Not calculated at all" ; break ;
509 case 1 : os <<
"Approximation only, not accurate" ; break ;
510 case 2 : os <<
"Full matrix, but forced positive-definite" ; break ;
511 case 3 : os <<
"Full, accurate covariance matrix" ; break ;
514 os << indent <<
" Status : " ;
516 os <<
iter->first <<
"=" <<
iter->second <<
" " ;
518 os << endl << endl ;;
522 if (_constPars->getSize()>0) {
523 os << indent <<
" Constant Parameter Value " << endl
524 << indent <<
" -------------------- ------------" << endl ;
526 for (i=0 ; i<_constPars->getSize() ; i++) {
527 os << indent <<
" " << setw(20) << ((
RooAbsArg*)_constPars->at(i))->
GetName()
528 <<
" " << setw(12) <<
Form(
"%12.4e",((
RooRealVar*)_constPars->at(i))->getVal())
537 for (i=0 ; i<_finalPars->getSize() ; i++) {
538 if (((
RooRealVar*)_finalPars->at(i))->hasAsymError()) {
545 os << indent <<
" Floating Parameter InitialValue FinalValue (+HiError,-LoError) GblCorr." << endl
546 << indent <<
" -------------------- ------------ ---------------------------------- --------" << endl ;
548 os << indent <<
" Floating Parameter InitialValue FinalValue +/- Error GblCorr." << endl
549 << indent <<
" -------------------- ------------ -------------------------- --------" << endl ;
552 for (i=0 ; i<_finalPars->getSize() ; i++) {
553 os << indent <<
" " << setw(20) << ((
RooAbsArg*)_finalPars->at(i))->
GetName() ;
554 os << indent <<
" " << setw(12) <<
Form(
"%12.4e",((
RooRealVar*)_initPars->at(i))->getVal())
555 << indent <<
" " << setw(12) <<
Form(
"%12.4e",((
RooRealVar*)_finalPars->at(i))->getVal()) ;
557 if (((
RooRealVar*)_finalPars->at(i))->hasAsymError()) {
558 os << setw(21) <<
Form(
" (+%8.2e,-%8.2e)",((
RooRealVar*)_finalPars->at(i))->getAsymErrorHi(),
559 -1*((
RooRealVar*)_finalPars->at(i))->getAsymErrorLo()) ;
562 os << (doAsymErr?
" ":
"") <<
" +/- " << setw(9) <<
Form(
"%9.2e",err) ;
566 os <<
" " << setw(8) <<
Form(
"%8.6f" ,((
RooRealVar*)_globalCorr->at(i))->getVal()) ;
575 os << indent <<
" Floating Parameter FinalValue +/- Error " << endl
576 << indent <<
" -------------------- --------------------------" << endl ;
578 for (i=0 ; i<_finalPars->getSize() ; i++) {
580 os << indent <<
" " << setw(20) << ((
RooAbsArg*)_finalPars->at(i))->
GetName()
581 <<
" " << setw(12) <<
Form(
"%12.4e",((
RooRealVar*)_finalPars->at(i))->getVal())
582 <<
" +/- " << setw(9) <<
Form(
"%9.2e",err)
599 coutI(
Minimization) <<
"RooFitResult::fillCorrMatrix: number of floating parameters is zero, correlation matrix not filled" << endl ;
604 coutE(
Minimization) <<
"RooFitResult::fillCorrMatrix: ERROR: list of initial parameters must be filled first" << endl ;
610 if (_VM)
delete _VM ;
611 if (_GC)
delete _GC ;
618 (*_GC)[i] = globalCC[i] ;
639 _globalCorr =
new RooArgList(
"globalCorrelations") ;
641 TIterator* vIter = _initPars->createIterator() ;
650 gcTitle.
Append(
" Global Correlation") ;
651 _globalCorr->addOwned(*(
new RooRealVar(gcName.
Data(),gcTitle.Data(),0.))) ;
659 TIterator* vIter2 = _initPars->createIterator() ;
668 TString cTitle(
"Correlation between ") ;
679 TIterator *gcIter = _globalCorr->createIterator() ;
680 TIterator *parIter = _finalPars->createIterator() ;
682 for (
unsigned int i = 0; i < (
unsigned int)
_CM->
GetNcols() ; ++i) {
686 gcVal->
setVal((*_GC)(i)) ;
690 for (
unsigned int it = 0; it < (
unsigned int)
_CM->
GetNcols() ; ++it) {
692 double value = (*_CM)(i,it) ;
694 (*_CM)(i,it) = value;
717 coutI(
Minimization) <<
"RooFitResult::fillCorrMatrix: number of floating parameters is zero, correlation matrix not filled" << endl ;
722 coutE(
Minimization) <<
"RooFitResult::fillCorrMatrix: ERROR: list of initial parameters must be filled first" << endl ;
728 if (_VM)
delete _VM ;
729 if (_GC)
delete _GC ;
734 _GC =
new TVectorD(_initPars->getSize()) ;
747 ndex = m*(m-1) / 2 + n;
760 for (
int ii=0 ;
ii<_finalPars->getSize() ;
ii++) {
761 for (
int jj=0 ; jj<_finalPars->getSize() ; jj++) {
778 cout <<
"RooFitResult::isIdentical: minimized value of -log(L) is different " << _minNLL <<
" vs. " << other.
_minNLL << endl ;
782 for (
Int_t i=0 ; i<_constPars->getSize() ; i++) {
785 cout <<
"RooFitResult::isIdentical: cannot find constant parameter " << _constPars->at(i)->
GetName() <<
" in reference" << endl ;
788 if (ov &&
fabs(static_cast<RooAbsReal*>(_constPars->at(i))->getVal()-ov->
getVal())>=tol) {
789 cout <<
"RooFitResult::isIdentical: constant parameter " << _constPars->at(i)->GetName()
790 <<
" differs in value: " <<
static_cast<RooAbsReal*
>(_constPars->at(i))->getVal() <<
" vs. " << ov->
getVal() << endl ;
795 for (
Int_t i=0 ; i<_initPars->getSize() ; i++) {
798 cout <<
"RooFitResult::isIdentical: cannot find initial parameter " << _initPars->at(i)->
GetName() <<
" in reference" << endl ;
801 if (ov &&
fabs(static_cast<RooAbsReal*>(_initPars->at(i))->getVal()-ov->
getVal())>=tol) {
802 cout <<
"RooFitResult::isIdentical: initial parameter " << _initPars->at(i)->GetName()
803 <<
" differs in value: " <<
static_cast<RooAbsReal*
>(_initPars->at(i))->getVal() <<
" vs. " << ov->
getVal() << endl ;
808 for (
Int_t i=0 ; i<_finalPars->getSize() ; i++) {
811 cout <<
"RooFitResult::isIdentical: cannot find final parameter " << _finalPars->at(i)->
GetName() <<
" in reference" << endl ;
814 if (ov &&
fabs(static_cast<RooAbsReal*>(_finalPars->at(i))->getVal()-ov->
getVal())>=tol) {
815 cout <<
"RooFitResult::isIdentical: final parameter " << _finalPars->at(i)->GetName()
816 <<
" differs in value: " <<
static_cast<RooAbsReal*
>(_finalPars->at(i))->getVal() <<
" vs. " << ov->
getVal() << endl ;
822 if (_finalPars->getSize()>1) {
827 for (
Int_t i=0 ; i<_globalCorr->getSize() ; i++) {
830 cout <<
"RooFitResult::isIdentical: cannot find global correlation coefficient " << _globalCorr->at(i)->
GetName() <<
" in reference" << endl ;
833 if (ov &&
fabs(static_cast<RooAbsReal*>(_globalCorr->at(i))->getVal()-ov->
getVal())>=tolCorr) {
834 cout <<
"RooFitResult::isIdentical: global correlation coefficient " << _globalCorr->at(i)->GetName()
835 <<
" differs in value: " <<
static_cast<RooAbsReal*
>(_globalCorr->at(i))->getVal() <<
" vs. " << ov->
getVal() << endl ;
846 cout <<
"RooFitResult::isIdentical: cannot find correlation coefficient " << row->
at(i)->
GetName() <<
" in reference" << endl ;
849 if (ov &&
fabs(static_cast<RooAbsReal*>(row->
at(i))->getVal()-ov->
getVal())>=tolCorr) {
850 cout <<
"RooFitResult::isIdentical: correlation coefficient " << row->
at(i)->
GetName()
851 <<
" differs in value: " <<
static_cast<RooAbsReal*
>(row->
at(i))->getVal() <<
" vs. " << ov->
getVal() << endl ;
872 <<
" or match the number of variables of the last fit (" <<
gMinuit->
fNu <<
")" << endl ;
880 if (!dynamic_cast<RooRealVar*>(arg)) {
909 if ((xlo<xhi) && !isConst) {
910 var =
new RooRealVar(varName,varName,xval,xlo,xhi) ;
924 oocoutI((
TObject*)0,
Eval) <<
"RooFitResult::lastMinuitFit: fit parameter '" << varName
925 <<
"' stored in variable '" << var->
GetName() <<
"'" << endl ;
938 Int_t icode,npari,nparx ;
997 TH2D* hh =
new TH2D(name,name,n,0,n,n,0,n) ;
999 for (
Int_t i = 0 ; i<
n ; i++) {
1000 for (
Int_t j = 0 ; j<
n; j++) {
1001 hh->
Fill(i+0.5,n-j-0.5,(*
_CM)(i,j)) ;
1046 if (_finalPars->find(arg->
GetName())) {
1050 << arg->
GetName() <<
" was not a floating parameters in fit result and is ignored" << endl ;
1057 iter = _finalPars->createIterator() ;
1066 vector<int> map1, map2 ;
1067 for (
int i=0 ; i<_finalPars->getSize() ; i++) {
1068 if (params3.
find(_finalPars->at(i)->GetName())) {
1107 coutE(
Eval) <<
"RooFitResult::conditionalCovarianceMatrix(" <<
GetName() <<
") ERROR: covariance matrix is not positive definite (|V|="
1108 << det <<
") cannot reduce it" << endl ;
1109 throw string(
"RooFitResult::conditionalCovarianceMatrix() ERROR, input covariance matrix is not positive definite") ;
1117 if (_finalPars->find(arg->
GetName())) {
1121 << arg->
GetName() <<
" was not a floating parameters in fit result and is ignored" << endl ;
1128 iter = _finalPars->createIterator() ;
1137 vector<int> map1, map2 ;
1138 for (
int i=0 ; i<_finalPars->getSize() ; i++) {
1139 if (params3.
find(_finalPars->at(i)->GetName())) {
1157 TMatrixD S22bar = S11 - S12 * (S22Inv * S21) ;
1161 for (
int i=0 ; i<Vred.GetNcols() ; i++) {
1162 for (
int j=i ; j<Vred.GetNcols() ; j++) {
1163 Vred(i,j) = (S22bar(i,j) + S22bar(j,i))/2 ;
1164 Vred(j,i) = Vred(i,j) ;
1193 coutE(
Eval) <<
"RooFitResult::createHessePdf(" <<
GetName() <<
") ERROR: covariance matrix is not positive definite (|V|="
1194 << det <<
") cannot construct p.d.f" << endl ;
1203 if (_finalPars->find(arg->
GetName())) {
1207 << arg->
GetName() <<
" was not a floating parameters in fit result and is ignored" << endl ;
1214 iter = _finalPars->createIterator() ;
1224 if (params3.
getSize()==_finalPars->getSize()) {
1227 for (
Int_t i=0 ; i<_finalPars->getSize() ; i++) {
1246 vector<int> map1, map2 ;
1247 for (
int i=0 ; i<_finalPars->getSize() ; i++) {
1248 if (params3.
find(_finalPars->at(i)->GetName())) {
1263 for (
UInt_t i=0 ; i<map1.size() ; i++) {
1266 mu1.
add(*parclone) ;
1274 TMatrixD S22bar = S11 - S12 * (S22Inv * S21) ;
1278 for (
int i=0 ; i<Vred.GetNcols() ; i++) {
1279 for (
int j=i ; j<Vred.GetNcols() ; j++) {
1280 Vred(i,j) = (S22bar(i,j) + S22bar(j,i))/2 ;
1281 Vred(j,i) = Vred(i,j) ;
1349 os <<
"[constPars=" << *_constPars <<
",floatPars=" << *_finalPars <<
"]" ;
1359 os <<
"(status=" << _status <<
",FCNmin=" << _minNLL <<
",EDM=" << _edm <<
",covQual=" << _covQual <<
")" ;
1377 if (!opt || strlen(opt)==0) {
1387 void RooFitResult::Streamer(
TBuffer &R__b)
1396 TNamed::Streamer(R__b);
1397 RooPrintable::Streamer(R__b);
1398 RooDirItem::Streamer(R__b);
1417 TIterator *gcIter = _globalCorr->createIterator() ;
1418 TIterator *parIter = _finalPars->createIterator() ;
1420 for (
unsigned int i = 0; i < (
unsigned int)
_CM->
GetNcols() ; ++i) {
1424 (*_GC)(i) = gcVal->
getVal() ;
1428 for (
unsigned int it = 0; it < (
unsigned int)
_CM->
GetNcols() ; ++it) {
1430 double value = cVal->
getVal() ;
1431 (*_CM)(it,i) = value ;
1432 (*_CM)(i,it) = value;
1434 (*_VM)(i,it) = (*_VM)(it,i) ;
virtual void printArgs(std::ostream &os) const
Print arguments of fit result, i.e. the parameters of the fit.
virtual const char * GetTitle() const
Returns title of object.
virtual void SetLineWidth(Width_t lwidth)
virtual void mnstat(Double_t &fmin, Double_t &fedm, Double_t &errdef, Int_t &npari, Int_t &nparx, Int_t &istat)
*-*-*-*-*Returns concerning the current status of the minimization*-*-*-*-* *-* =====================...
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 Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
virtual void SetMaximum(Double_t maximum=-1111)
const RooArgList & floatParsFinal() const
const RooArgList & constPars() const
static Double_t gaussian(TRandom *generator=randomGenerator())
Return a Gaussian random variable with mean 0 and variance 1.
static void blockDecompose(const TMatrixD &input, const std::vector< int > &map1, const std::vector< int > &map2, TMatrixDSym &S11, TMatrixD &S12, TMatrixD &S21, TMatrixDSym &S22)
Block decomposition of covI according to given maps of observables.
RooArgList L(const RooAbsArg &v1)
void addObject(TObject *obj, Option_t *drawOptions="", Bool_t invisible=kFALSE)
Add a generic object to this plot.
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
virtual void SetName(const char *name)
Change (i.e.
virtual TList * GetList() const
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.
void addPlotable(RooPlotable *plotable, Option_t *drawOptions="", Bool_t invisible=kFALSE, Bool_t refreshNorm=kFALSE)
Add the specified plotable object to our plot.
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 ToUpper()
Change string to upper case.
Buffer base class used for serializing objects.
void setStatus(Int_t val)
Int_t GetNoElements() const
TMatrixDSym conditionalCovarianceMatrix(const RooArgList ¶ms) const
Return a reduced covariance matrix, which is calculated as ___ -1 Vred = V22 = V11 - V12 * V22 * V21...
virtual void SetMinimum(Double_t minimum=-1111)
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
TH2 * correlationHist(const char *name="correlation_matrix") const
Return TH2D of correlation matrix.
Short_t Min(Short_t a, Short_t b)
virtual void SetFillStyle(Style_t fstyle)
Bool_t addOwnedComponents(const RooArgSet &comps)
Take ownership of the contents of 'comps'.
A RooEllipse is a two-dimensional ellipse that can be used to represent an error contour.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
void setInitParList(const RooArgList &list)
Fill the list of initial values of the floating parameters.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual void SetNameTitle(const char *name, const char *title)
Change (i.e. set) all the TNamed parameters (name and title).
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
Iterator abstract base class.
void setEDM(Double_t val)
const char * Data() const
void appendToDir(TObject *obj, Bool_t forceMemoryResident=kFALSE)
Append object to directory.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
static const double x2[5]
R__EXTERN TMinuit * gMinuit
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...
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
virtual Double_t Determinant() const
The TNamed class is the base class for all named ROOT classes.
void deleteSharedProperties()
std::map< std::string, std::string >::const_iterator iter
TIterator * createIterator(Bool_t dir=kIterForward) const
virtual void SetMarkerColor(Color_t mcolor=1)
TString & Append(const char *cs)
Double_t getVal(const RooArgSet *set=0) const
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'.
TVectorT< Double_t > TVectorD
Double_t correlation(const RooAbsArg &par1, const RooAbsArg &par2) const
RooRealVar represents a fundamental (non-derived) real valued object.
void setMinNLL(Double_t val)
TList _corrMatrix
List of global correlation coefficients.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
virtual void SetLineColor(Color_t lcolor)
TMatrixDSym * _CM
triangular matrix used for generate random perturbations
VecExpr< UnaryOp< Fabs< T >, VecExpr< A, T, D >, T >, T, D > fabs(const VecExpr< A, T, D > &rhs)
Int_t statusCodeHistory(UInt_t icycle) const
Service class for 2-Dim histogram classes.
TString * fCpnam
Character to be plotted at the X,Y contour positions.
RooAbsArg * find(const char *name) const
Find object with given name in list.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
void setConstant(Bool_t value=kTRUE)
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 TObject * Remove(TObject *obj)
Remove object from the list.
char * Form(const char *fmt,...)
virtual ~RooFitResult()
Destructor.
void setFinalParList(const RooArgList &list)
Fill the list of final values of the floating parameters.
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)
void removeFromDir(TObject *obj)
Remove object from directory it was added to.
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. ...
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
Multivariate Gaussian p.d.f.
RooArgList * _randomPars
Correlation matrix (list of RooArgLists)
void setConstParList(const RooArgList &list)
Fill the list of constant parameters.
virtual Int_t GetSize() const
static const double x1[5]
RooAbsArg * at(Int_t idx) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
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...
RooDirItem is a utility base class for RooFit objects that are to be attached to ROOT directories...
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
TMatrixTSym< Double_t > TMatrixDSym
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.
virtual void SetBinLabel(Int_t bin, const char *label)
Set label for bin.
TMatrixT< Float_t > TMatrix
virtual void SetLineStyle(Style_t lstyle)
void setRange(const char *name, Double_t min, Double_t max)
Set range named 'name to [min,max].
Mother of all ROOT objects.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual void Add(TObject *obj)
Short_t Max(Short_t a, Short_t b)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
virtual TObject * Next()=0
const RooArgList * globalCorr()
Return the list of all global correlations.
void setCovQual(Int_t val)
Double_t Sqrt(Double_t x)
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.
Int_t Fill(Double_t)
Invalid Fill method.
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 ;.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0
void fillLegacyCorrMatrix() const
Sanity check.
std::vector< std::pair< std::string, int > > _statusHistory
void setError(Double_t value)
2-D histogram with a double per channel (see TH1 documentation)}
Double_t getError() const