80 _status(other._status),
81 _covQual(other._covQual),
82 _numBadNLL(other._numBadNLL),
83 _minNLL(other._minNLL),
85 _statusHistory(other._statusHistory)
138 for(
auto* rrv : dynamic_range_cast<RooRealVar*>(*
_constPars)) {
140 rrv->deleteSharedProperties() ;
155 for(
auto* rrv : dynamic_range_cast<RooRealVar*>(*
_initPars)) {
157 rrv->deleteSharedProperties() ;
173 for(
auto* rrv : dynamic_range_cast<RooRealVar*>(*
_finalPars)) {
175 rrv->deleteSharedProperties() ;
187 coutE(InputArguments) <<
"RooFitResult::statusCodeHistory(" <<
GetName()
188 <<
" ERROR request for status history slot "
189 << icycle <<
" exceeds history count of " <<
_statusHistory.size() << endl ;
201 coutE(InputArguments) <<
"RooFitResult::statusLabelHistory(" <<
GetName()
202 <<
" ERROR request for status history slot "
203 << icycle <<
" exceeds history count of " <<
_statusHistory.size() << endl ;
236 const char *options)
const
240 if(
nullptr == par1) {
241 coutE(InputArguments) <<
"RooFitResult::correlationPlot: parameter not floated in fit: " << parName1 << endl;
245 if(
nullptr == par2) {
246 coutE(InputArguments) <<
"RooFitResult::correlationPlot: parameter not floated in fit: " << parName2 << endl;
285 box->SetFillStyle(0);
344 for(
Int_t iPar= 0; iPar < nPar; iPar++) {
347 for(
Int_t k= 0; k < iPar; k++) {
348 double tmp= L(k,iPar);
349 L(iPar,iPar)-= tmp*tmp;
351 L(iPar,iPar)= sqrt(L(iPar,iPar));
353 for(
Int_t jPar= iPar+1; jPar < nPar; jPar++) {
355 for(
Int_t k= 0; k < iPar; k++) {
356 L(iPar,jPar)-= L(k,iPar)*L(k,jPar);
358 L(iPar,jPar)/= L(iPar,iPar);
376 for(
auto * par : static_range_cast<RooRealVar*>(*
_randomPars)) {
377 par->setVal(par->getVal() +
g(
index++));
392 coutE(InputArguments) <<
"RooFitResult::correlation(" <<
GetName() <<
") parameter " << parname1 <<
" is not a floating fit parameter" << endl ;
396 coutE(InputArguments) <<
"RooFitResult::correlation(" <<
GetName() <<
") parameter " << parname2 <<
" is not a floating fit parameter" << endl ;
416 coutE(InputArguments) <<
"RooFitResult::correlation: variable " << parname <<
" not a floating parameter in fit" << endl ;
435 coutE(InputArguments) <<
"RooFitResult::globalCorr: variable " << parname <<
" not a floating parameter in fit" << endl ;
467 return (*
_CM)(row,col) ;
476 return (*
_VM)(row,col) ;
490 <<
indent <<
" RooFitResult: minimized FCN value: " <<
_minNLL <<
", estimated distance to minimum: " <<
_edm << endl
491 <<
indent <<
" covariance matrix quality: " ;
493 case -1 : os <<
"Unknown, matrix was externally provided" ; break ;
494 case 0 : os <<
"Not calculated at all" ; break ;
495 case 1 : os <<
"Approximation only, not accurate" ; break ;
496 case 2 : os <<
"Full matrix, but forced positive-definite" ; break ;
497 case 3 : os <<
"Full, accurate covariance matrix" ; break ;
500 os <<
indent <<
" Status : " ;
502 os << iter->first <<
"=" << iter->second <<
" " ;
504 os << endl << endl ;;
509 os <<
indent <<
" Constant Parameter Value " << endl
510 <<
indent <<
" -------------------- ------------" << endl ;
526 bool doAsymErr(
false) ;
535 os <<
indent <<
" Floating Parameter InitialValue FinalValue (+HiError,-LoError) GblCorr." << endl
536 <<
indent <<
" -------------------- ------------ ---------------------------------- --------" << endl ;
538 os <<
indent <<
" Floating Parameter InitialValue FinalValue +/- Error GblCorr." << endl
539 <<
indent <<
" -------------------- ------------ -------------------------- --------" << endl ;
552 os << (doAsymErr?
" ":
"") <<
" +/- " << setw(9) <<
Form(
"%9.2e",err) ;
565 os <<
indent <<
" Floating Parameter FinalValue +/- Error " << endl
566 <<
indent <<
" -------------------- --------------------------" << endl ;
572 <<
" +/- " << setw(9) <<
Form(
"%9.2e",err)
589 coutI(Minimization) <<
"RooFitResult::fillCorrMatrix: number of floating parameters is zero, correlation matrix not filled" << endl ;
594 coutE(Minimization) <<
"RooFitResult::fillCorrMatrix: ERROR: list of initial parameters must be filled first" << endl ;
608 (*_GC)[i] = globalCC[i] ;
634 gcName.
Append(arg->GetName()) ;
636 TString gcTitle(arg->GetTitle()) ;
637 gcTitle.
Append(
" Global Correlation") ;
642 name.Append(arg->GetName()) ;
649 cName.
Append(arg->GetName()) ;
651 cName.
Append(arg2->GetName()) ;
653 TString cTitle(
"Correlation between ") ;
654 cTitle.
Append(arg->GetName()) ;
656 cTitle.
Append(arg2->GetName()) ;
657 corrMatrixRow->
addOwned(std::make_unique<RooRealVar>(cName.
Data(),cTitle.
Data(),0.));
661 for (
unsigned int i = 0; i < (
unsigned int)
_CM->
GetNcols() ; ++i) {
664 auto& gcVal =
static_cast<RooRealVar&
>((*_globalCorr)[i]);
669 for (
unsigned int it = 0; it < (
unsigned int)
_CM->
GetNcols() ; ++it) {
670 auto& cVal =
static_cast<RooRealVar&
>(corrMatrixCol[it]);
671 double value = (*_CM)(i,it) ;
673 (*_CM)(i,it) =
value;
691 coutI(Minimization) <<
"RooFitResult::fillCorrMatrix: number of floating parameters is zero, correlation matrix not filled" << endl ;
696 coutE(Minimization) <<
"RooFitResult::fillCorrMatrix: ERROR: list of initial parameters must be filled first" << endl ;
721 ndex =
m*(
m-1) / 2 +
n;
769void isIdenticalErrMsg(std::string
const& msgHead,
const RooAbsReal* tv,
const RooAbsReal* ov,
bool verbose) {
771 std::cout <<
"RooFitResult::isIdentical: " << msgHead <<
" " << tv->
GetName() <<
" differs in value:\t"
776void isErrorIdenticalErrMsg(std::string
const& msgHead,
const RooRealVar* tv,
const RooRealVar* ov,
bool verbose) {
778 std::cout <<
"RooFitResult::isIdentical: " << msgHead <<
" " << tv->
GetName() <<
" differs in error:\t"
796 auto deviation = [](
const double left,
const double right,
double tolerance){
797 return right != 0. ? std::abs((left - right)/right) >= tolerance : std::abs(left) >= tolerance;
800 auto compare = [&](
RooArgList const& pars,
RooArgList const& otherpars, std::string
const& prefix,
bool isVerbose) {
803 for (
auto * tv : static_range_cast<const RooAbsReal*>(pars)) {
808 if(verbose) cout <<
"RooFitResult::isIdentical: cannot find " << prefix <<
" " << tv->
GetName() <<
" in reference" << endl ;
814 isIdenticalErrMsg(prefix, tv, ov, isVerbose);
819 auto * rtv =
dynamic_cast<RooRealVar const*
>(tv);
820 auto * rov =
dynamic_cast<RooRealVar const*
>(ov);
822 if (ov && deviation(rtv->getError(), rov->getError(), tolErr)) {
823 isErrorIdenticalErrMsg(prefix, rtv, rov, isVerbose);
833 if(verbose) std::cout <<
"RooFitResult::isIdentical: minimized value of -log(L) is different " <<
_minNLL <<
" vs. " << other.
_minNLL << std::endl;
859 auto deviationCorr = [tolCorr](
const double left,
const double right){
860 return std::abs(left - right) >= tolCorr;
873 if(verbose) cout <<
"RooFitResult::isIdentical: cannot find global correlation coefficient " << tv->
GetName() <<
" in reference" << endl ;
877 isIdenticalErrMsg(
"global correlation coefficient", tv, ov, verbose);
889 if(verbose) cout <<
"RooFitResult::isIdentical: cannot find correlation coefficient " << tv->
GetName() <<
" in reference" << endl ;
893 isIdenticalErrMsg(
"correlation coefficient", tv, ov, verbose);
913 oocoutE(
nullptr,InputArguments) <<
"RooFitResult::lastMinuitFit: ERROR: supplied variable list must be either empty " << endl
914 <<
" or match the number of variables of the last fit (" <<
gMinuit->
fNu <<
")" << endl ;
921 oocoutE(
nullptr,InputArguments) <<
"RooFitResult::lastMinuitFit: ERROR: variable '" << arg->GetName() <<
"' is not of type RooRealVar" << endl ;
945 std::unique_ptr<RooRealVar> var;
946 if (varList.
empty()) {
948 if ((xlo<xhi) && !isConst) {
949 var = std::make_unique<RooRealVar>(varName,varName,xval,xlo,xhi) ;
951 var = std::make_unique<RooRealVar>(varName,varName,xval) ;
953 var->setConstant(isConst) ;
956 var = std::unique_ptr<RooRealVar>{
static_cast<RooRealVar*
>(varList.
at(i-1)->
Clone())};
960 var->setRange(xlo,xhi) ;
963 oocoutI(
nullptr,Eval) <<
"RooFitResult::lastMinuitFit: fit parameter '" << varName
964 <<
"' stored in variable '" << var->GetName() <<
"'" << endl ;
972 var->setError(xerr) ;
977 Int_t icode,npari,nparx ;
978 double fmin,
edm,errdef ;
982 r->setInitParList(floatPars) ;
983 r->setFinalParList(floatPars) ;
986 r->setCovQual(icode) ;
988 r->fillCorrMatrix() ;
1004 oocoutE(
nullptr, InputArguments) <<
"RooFitResult::lastMinuitFit: ERROR: variable '" << arg->
GetName()
1005 <<
"' is not of type RooRealVar" << endl;
1018 if (arg->isConstant()) {
1026 r->setInitParList(floatPars);
1027 r->setFinalParList(floatPars);
1032 r->fillPrefitCorrMatrix();
1058 (*_CM)(i,j) = (*
_CM)(i,j) / sqrt((*
_CM)(i,i)*(*
_CM)(j,j)) ;
1080 for (
Int_t i = 0 ; i<
n ; i++) {
1081 for (
Int_t j = 0 ; j<
n; j++) {
1082 hh->
Fill(i+0.5,
n-j-0.5,(*
_CM)(i,j)) ;
1123 coutW(InputArguments) <<
"RooFitResult::reducedCovarianceMatrix(" <<
GetName() <<
") WARNING input variable "
1124 << arg->GetName() <<
" was not a floating parameters in fit result and is ignored" << endl ;
1130 vector<int> indexMap(params2.
getSize());
1131 for (
int i=0 ; i<params2.
getSize() ; i++) {
1133 assert(indexMap[i] < V.
GetNrows());
1137 for (
int i = 0; i < Vred.
GetNrows(); ++i) {
1138 for (
int j = 0; j < Vred.
GetNcols(); ++j) {
1139 Vred(i,j) = V( indexMap[i], indexMap[j]);
1170 coutE(Eval) <<
"RooFitResult::conditionalCovarianceMatrix(" <<
GetName() <<
") ERROR: covariance matrix is not positive definite (|V|="
1171 << det <<
") cannot reduce it" << endl ;
1172 throw string(
"RooFitResult::conditionalCovarianceMatrix() ERROR, input covariance matrix is not positive definite") ;
1181 coutW(InputArguments) <<
"RooFitResult::conditionalCovarianceMatrix(" <<
GetName() <<
") WARNING input variable "
1182 << arg->GetName() <<
" was not a floating parameters in fit result and is ignored" << endl ;
1189 if (params2.
find(arg->GetName())) {
1195 vector<int> map1, map2 ;
1215 TMatrixD S22bar = S11 - S12 * (S22Inv * S21) ;
1219 for (
int i=0 ; i<Vred.GetNcols() ; i++) {
1220 for (
int j=i ; j<Vred.GetNcols() ; j++) {
1221 Vred(i,j) = (S22bar(i,j) + S22bar(j,i))/2 ;
1222 Vred(j,i) = Vred(i,j) ;
1251 coutE(Eval) <<
"RooFitResult::createHessePdf(" <<
GetName() <<
") ERROR: covariance matrix is not positive definite (|V|="
1252 << det <<
") cannot construct p.d.f" << endl ;
1262 coutW(InputArguments) <<
"RooFitResult::createHessePdf(" <<
GetName() <<
") WARNING input variable "
1263 << arg->GetName() <<
" was not a floating parameters in fit result and is ignored" << endl ;
1270 if (params2.
find(arg->GetName())) {
1299 vector<int> map1, map2 ;
1316 for (
UInt_t i=0 ; i<map1.size() ; i++) {
1319 mu1.
add(*parclone) ;
1327 TMatrixD S22bar = S11 - S12 * (S22Inv * S21) ;
1331 for (
int i=0 ; i<Vred.GetNcols() ; i++) {
1332 for (
int j=i ; j<Vred.GetNcols() ; j++) {
1333 Vred(i,j) = (S22bar(i,j) + S22bar(j,i))/2 ;
1334 Vred(j,i) = Vred(i,j) ;
1430 if (!opt || strlen(opt)==0) {
1472 for (
unsigned int i = 0; i < (
unsigned int)
_CM->
GetNcols() ; ++i) {
1475 auto& gcVal =
static_cast<RooRealVar&
>((*_globalCorr)[i]);
1476 (*_GC)(i) = gcVal.
getVal() ;
1480 for (
unsigned int it = 0; it < (
unsigned int)
_CM->
GetNcols() ; ++it) {
1481 auto& cVal =
static_cast<RooRealVar&
>(corrMatrixCol[it]);
1482 double value = cVal.getVal() ;
1483 (*_CM)(it,i) =
value ;
1484 (*_CM)(i,it) =
value;
1486 (*_VM)(i,it) = (*
_VM)(it,i) ;
static void indent(ostringstream &buf, int indent_level)
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 r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
TMatrixTSym< Double_t > TMatrixDSym
TMatrixT< Float_t > TMatrix
R__EXTERN TMinuit * gMinuit
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
TVectorT< Double_t > TVectorD
TVectorT< Float_t > TVector
Common abstract base class for objects that represent a value and a "shape" in RooFit.
static void ioStreamerPass2Finalize()
Method called by workspace container to finalize schema evolution issues that cannot be handled in a ...
bool addOwnedComponents(const RooAbsCollection &comps)
Take ownership of the contents of 'comps'.
TObject * Clone(const char *newname=nullptr) const override
Make a clone of an object using the Streamer facility.
RooAbsCollection * snapshot(bool deepCopy=true) const
Take a snap shot of current collection contents.
Int_t getSize() const
Return the number of elements in the collection.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
Int_t index(const RooAbsArg *arg) const
Returns index of given arg, or -1 if arg is not in the collection.
void assign(const RooAbsCollection &other) const
Sets the value, cache and constant attribute of any argument in our set that also appears in the othe...
virtual bool addOwned(RooAbsArg &var, bool silent=false)
Add an argument and transfer the ownership to the collection.
virtual RooAbsArg * addClone(const RooAbsArg &var, bool silent=false)
Add a clone of the specified argument to list.
RooAbsArg * find(const char *name) const
Find object with given name in list.
Abstract interface for all probability density functions.
void setConstant(bool value=true)
Abstract base class for objects that represent a real value and implements functionality common to al...
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDirItem is a utility base class for RooFit objects that are to be attached to ROOT directories.
virtual void Streamer(TBuffer &)
void removeFromDir(TObject *obj)
Remove object from directory it was added to.
TDirectory * _dir
! Associated directory
void appendToDir(TObject *obj, bool forceMemoryResident=false)
Append object to directory.
A RooEllipse is a two-dimensional ellipse that can be used to represent an error contour.
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
TMatrixDSym conditionalCovarianceMatrix(const RooArgList ¶ms) const
Return a reduced covariance matrix, which is calculated as.
void fillCorrMatrix()
Internal utility method to extract the correlation matrix and the global correlation coefficients fro...
double correlation(const RooAbsArg &par1, const RooAbsArg &par2) const
Return correlation between par1 and par2.
~RooFitResult() override
Destructor.
TList _corrMatrix
! Correlation matrix (list of RooArgLists)
std::vector< std::pair< std::string, int > > _statusHistory
History of status codes.
const TMatrixDSym & covarianceMatrix() const
Return covariance matrix.
TMatrixDSym * _CM
Correlation matrix.
bool isIdentical(const RooFitResult &other, double tol=1e-6, double tolCorr=1e-4, bool verbose=true) const
Return true if this fit result is identical to other within tolerances.
void setConstParList(const RooArgList &list)
Fill the list of constant parameters.
Int_t statusCodeHistory(UInt_t icycle) const
double _minNLL
NLL at minimum.
Int_t _numBadNLL
Number calls with bad (zero,negative) likelihood.
TMatrixDSym * _VM
Covariance matrix.
void SetNameTitle(const char *name, const char *title) override
Change name and title of RooFitResult object.
Int_t defaultPrintContents(Option_t *opt) const override
Configure default contents to be printed.
void printClassName(std::ostream &os) const override
Print class name of fit result.
RooArgList * _initPars
List of floating parameters with initial values.
TClass * IsA() const override
RooFitResult(const char *name=nullptr, const char *title=nullptr)
Constructor with name and title.
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...
Int_t _covQual
MINUIT quality code of covariance matrix.
void fillPrefitCorrMatrix()
RooArgList * _constPars
List of constant parameters.
RooArgList * _globalCorr
! List of global correlation coefficients
const RooArgList & randomizePars() const
Generate random perturbations of the final parameters using the covariance matrix.
const RooArgList * globalCorr()
Return the list of all global correlations.
static RooFitResult * prefitResult(const RooArgList ¶mList)
Import the results of the last fit performed by gMinuit, interpreting the fit parameters as the given...
void setCovarianceMatrix(TMatrixDSym &V)
Store externally provided correlation matrix in this RooFitResult ;.
RooArgList * _finalPars
List of floating parameters with final values.
double edm() const
Return estimated distance to minimum.
const RooArgList & constPars() const
Return list of constant parameters.
Int_t _status
MINUIT status code.
bool isIdenticalNoCov(const RooFitResult &other, double tol=1e-6, double tolErr=1e-3, bool verbose=true) const
Return true if this fit result is identical to other within tolerances, ignoring the correlation matr...
void SetName(const char *name) override
Change name of RooFitResult object.
const char * statusLabelHistory(UInt_t icycle) const
void printValue(std::ostream &os) const override
Print the value of the fit result, i.e.g the status, minimized FCN, edm and covariance quality code.
void printTitle(std::ostream &os) const override
Print title of fit result.
TH2 * correlationHist(const char *name="correlation_matrix") const
Return TH2D of correlation matrix.
void fillLegacyCorrMatrix() const
Sanity check.
void setInitParList(const RooArgList &list)
Fill the list of initial values of the floating parameters.
RooPlot * plotOn(RooPlot *frame, const RooAbsArg &par1, const RooAbsArg &par2, const char *options="ME") const
Add objects to a 2D plot.
void Streamer(TBuffer &) override
Stream an object of class RooFitResult.
StyleOption defaultPrintStyle(Option_t *opt) const override
Configure mapping of Print() arguments to RooPrintable print styles.
double covariance(Int_t row, Int_t col) const
Return the covariance matrix element addressed with numeric indices.
TMatrixF * _Lt
! triangular matrix used for generate random perturbations
const RooArgList & floatParsFinal() const
Return list of floating parameters after fit.
RooArgList * _randomPars
! List of floating parameters with most recent random perturbation applied
static RooFitResult * lastMinuitFit(const RooArgList &varList=RooArgList())
Import the results of the last fit performed by gMinuit, interpreting the fit parameters as the given...
void printMultiline(std::ostream &os, Int_t contents, bool verbose=false, TString indent="") const override
Print fit result to stream 'os'.
TVectorD * _GC
Global correlation coefficients.
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...
double _edm
Estimated distance to minimum.
void setFinalParList(const RooArgList &list)
Fill the list of final values of the floating parameters.
void printArgs(std::ostream &os) const override
Print arguments of fit result, i.e. the parameters of the fit.
void printName(std::ostream &os) const override
Print name of fit result.
const TMatrixDSym & correlationMatrix() const
Return correlation matrix ;.
Multivariate Gaussian p.d.f.
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.
A RooPlot is a plot frame and a container for graphics objects within that frame.
void addObject(TObject *obj, Option_t *drawOptions="", bool invisible=false)
Add a generic object to this plot.
void addPlotable(RooPlotable *plotable, Option_t *drawOptions="", bool invisible=false, bool refreshNorm=false)
Add the specified plotable object to our plot.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual void Streamer(TBuffer &)
virtual void printValue(std::ostream &os) const
Interface to print value of object.
static double gaussian(TRandom *generator=randomGenerator())
Return a Gaussian random variable with mean 0 and variance 1.
RooRealVar represents a variable that can be changed from the outside.
void setVal(double value) override
Set value of variable to 'value'.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetBinLabel(Int_t bin, const char *label)
Set label for bin.
Buffer base class used for serializing objects.
virtual Version_t ReadVersion(UInt_t *start=nullptr, UInt_t *bcnt=nullptr, const TClass *cl=nullptr)=0
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=nullptr)=0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
virtual void RemoveAll(TCollection *col)
Remove all objects in collection col from this collection.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
virtual TList * GetList() const
virtual void SetMaximum(Double_t maximum=-1111)
virtual void SetMinimum(Double_t minimum=-1111)
2-D histogram with a double per channel (see TH1 documentation)}
Service class for 2-D histogram classes.
Int_t Fill(Double_t) override
Invalid Fill method.
Use the TLine constructor to create a simple line.
void Streamer(TBuffer &) override
Stream all objects in the collection to or from the I/O buffer.
void Add(TObject *obj) override
TObject * Remove(TObject *obj) override
Remove object from the list.
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
Int_t GetNoElements() const
Double_t Determinant() const override
TString * fCpnam
Character to be plotted at the X,Y contour positions.
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.
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
void Streamer(TBuffer &) override
Stream an object of class TObject.
const char * GetTitle() const override
Returns title of object.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual void SetNameTitle(const char *name, const char *title)
Set all the TNamed parameters (name and title).
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
const char * Data() const
void ToUpper()
Change string to upper case.
TString & Append(const char *cs)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
Double_t Sqrt(Double_t x)
Returns the square root of x.
Short_t Min(Short_t a, Short_t b)
Returns the smallest of a and b.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.