library: libRooFit
#include "RooFitResult.h"

RooFitResult


class description - header file - source file
viewCVS header - viewCVS source

class RooFitResult: public TNamed, public RooPrintable, public RooDirItem

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
RooFitResult(const RooFitResult& other)
RooFitResult(const char* name = "0", const char* title = "0")
virtual~RooFitResult()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*clone() const
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
const RooArgList&constPars() const
virtual voidTNamed::Copy(TObject& named) const
const RooArgList*correlation(const RooAbsArg& par) const
const RooArgList*correlation(const char* parname) const
Double_tcorrelation(const RooAbsArg& par1, const RooAbsArg& par2) const
Double_tcorrelation(const char* parname1, const char* parname2) const
Int_tcovQual() const
static ostream&RooPrintable::defaultStream(ostream* os = 0)
virtual voidTObject::Delete(Option_t* option = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
Double_tedm() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
const RooArgList&floatParsFinal() const
const RooArgList&floatParsInit() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
const RooArgList*globalCorr()
Double_tglobalCorr(const RooAbsArg& par)
Double_tglobalCorr(const char* parname)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
static voidRooPrintable::inLinePrint(ostream& os, const TNamed& named)
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
static RooFitResult*lastMinuitFit(const RooArgList& varList = RooArgList())
RooPrintable::PrintOptionRooPrintable::lessVerbose(RooPrintable::PrintOption opt) const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
Double_tminNll() const
virtual Bool_tTObject::Notify()
Int_tnumInvalidNLL() const
static voidRooPrintable::oneLinePrint(ostream& os, const TNamed& named)
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
RooPrintable::PrintOptionRooPrintable::parseOptions(Option_t* options) const
RooPlot*plotOn(RooPlot* frame, const RooAbsArg& par1, const RooAbsArg& par2, const char* options = "ME") const
RooPlot*plotOn(RooPlot* plot, const char* parName1, const char* parName2, const char* options = "ME") const
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = "0") const
virtual voidprintToStream(ostream& stream, RooPrintable::PrintOption opt = Standard, TString indent = ) const
const RooArgList&randomizePars() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
Int_tstatus() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
voidRooDirItem::appendToDir(TObject* obj, Bool_t forceMemoryResident = kFALSE)
Double_tcorrelation(Int_t row, Int_t col) const
Double_tcovariance(Int_t row, Int_t col) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidfillCorrMatrix()
voidTObject::MakeZombie()
voidRooDirItem::removeFromDir(TObject* obj)
voidsetConstParList(const RooArgList& list)
voidsetCovQual(Int_t val)
voidsetEDM(Double_t val)
voidsetFinalParList(const RooArgList& list)
voidsetInitParList(const RooArgList& list)
voidsetMinNLL(Double_t val)
voidsetNumInvalidNLL(Int_t val)
voidsetStatus(Int_t val)

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
enum RooPrintable::PrintOption { InLine
OneLine
Standard
Shape
Verbose
};
protected:
Int_t_statusMINUIT status code
Int_t_covQualMUINUIT quality code of covariance matrix
Int_t_numBadNLLNumber calls with bad (zero,negative) likelihood
Double_t_minNLLNLL at minimum
Double_t_edmEstimated distance to minimum
RooArgList*_constParsList of constant parameters
RooArgList*_initParsList of floating parameters with initial values
RooArgList*_finalParsList of floating parameters with final values
RooArgList*_globalCorrList of global correlation coefficients
TList_corrMatrixCorrelation matrix (list of RooArgLists)
RooArgList*_randomPars! List of floating parameters with most recent random perturbation applied
TMatrixF*_Lt! triangular matrix used for generate random perturbations
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
TDirectory*RooDirItem::_dir! Do not persist

Class Description

RooFitResult(const char* name, const char* title)
 Constructor
RooFitResult(const RooFitResult& other)
 Copy constructor
~RooFitResult()
 Destructor
void setConstParList(const RooArgList& list)
 Fill the list of constant parameters
void setInitParList(const RooArgList& list)
 Fill the list of initial values of the floating parameters 
void setFinalParList(const RooArgList& list)
 Fill the list of final values of the floating parameters 
RooPlot * plotOn(RooPlot *frame, const char *parName1, const char *parName2, const char *options)
 Add objects to a 2D plot that represent the fit results for the
 two named parameters.  The input frame with the objects added is
 returned, or zero in case of an error.  Which objects are added
 are determined by the options string which should be a concatenation
 of the following (not case sensitive):

   M - a marker at the best fit result
   E - an error ellipse calculated at 1-sigma using the error matrix at the minimum
   1 - the 1-sigma error bar for parameter 1
   2 - the 1-sigma error bar for parameter 2
   B - the bounding box for the error ellipse
   H - a line and horizontal axis for reading off the correlation coefficient
   V - a line and vertical axis for reading off the correlation coefficient
   A - draw axes for reading off the correlation coefficients with the H or V options

 You can change the attributes of objects in the returned RooPlot using the
 various RooPlot::getAttXxx(name) member functions, e.g.

   plot->getAttLine("contour")->SetLineStyle(kDashed);

 Use plot->Print() for a list of all objects and their names (unfortunately most
 of the ROOT builtin graphics objects like TLine are unnamed). Drag the left mouse
 button along the labels of either axis button to interactively zoom in a plot.
 lookup the input parameters by name: we require that they were floated in our fit
const RooArgList& randomizePars()
 Return a list of floating parameter values that are perturbed from the final
 fit values by random amounts sampled from the covariance matrix. The returned
 object is overwritten with each call and belongs to the RooFitResult. Uses
 the "square root method" to decompose the covariance matrix, which makes inverting
 it unnecessary.
Double_t correlation(const char* parname1, const char* parname2)
 Return the correlation between parameters 'par1' and 'par2'
const RooArgList* correlation(const char* parname)
 Return the set of correlation coefficients of parameter 'par' with
 all other floating parameters
Double_t globalCorr(const char* parname)
 Return the global correlation of the named parameter
const RooArgList* globalCorr()
 Return the list of all global correlations
Double_t correlation(Int_t row, Int_t col)
 Return a correlation matrix element addressed with numeric indices.
Double_t covariance(Int_t row, Int_t col)
 Return the covariance matrix element addressed with numeric indices.
void printToStream(ostream& os, PrintOption opt, TString indent)
 Print fit result to stream 'os'. In Verbose mode, the contant parameters and
 the initial and final values of the floating parameters are printed. 
 Standard mode only the final values of the floating parameters are printed
void fillCorrMatrix()
 Extract the correlation matrix and the global correlation coefficients from the MINUIT memory buffer 
 and fill the internal arrays.
RooFitResult* lastMinuitFit(const RooArgList& varList)
 Verify length of supplied varList
TObject* clone()
{ return new RooFitResult(*this); }
void Print(Option_t *options= 0)
Int_t status()
 Accessors
{ return _status ; }
Int_t covQual()
{ return _covQual ; }
Int_t numInvalidNLL()
{ return _numBadNLL ; }
Double_t edm()
{ return _edm ; }
Double_t minNll()
{ return _minNLL ; }
const RooArgList& constPars()
{ return *_constPars ; }
const RooArgList& floatParsInit()
{ return *_initPars ; }
const RooArgList& floatParsFinal()
{ return *_finalPars ; }
Double_t correlation(const RooAbsArg& par1, const RooAbsArg& par2)
 Correlation matrix element and row accessors
return correlation(par1.GetName(),par2.GetName())
Double_t globalCorr(const RooAbsArg& par)
 Global correlation accessors
{ return globalCorr(par.GetName()) ; }
RooPlot * plotOn(RooPlot *frame, const RooAbsArg &par1, const RooAbsArg &par2, const char *options= "ME")
 Add objects to a 2D plot
void setMinNLL(Double_t val)
{ _minNLL = val ; }
void setEDM(Double_t val)
{ _edm = val ; }
void setStatus(Int_t val)
{ _status = val ; }
void setCovQual(Int_t val)
{ _covQual = val ; }
void setNumInvalidNLL(Int_t val)
{ _numBadNLL=val ; }

Last update: Sat Dec 9 09:58:01 2006
Copyright (c) 2000-2005, Regents of the University of California *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.