ROOT logo
ROOT » ROOSTATS » RooStats::LikelihoodIntervalPlot

class RooStats::LikelihoodIntervalPlot: public TNamed, public RooPrintable


LikelihoodIntervalPlot :

This class provides simple and straightforward utilities to plot a LikelihoodInterval
object.

Function Members (Methods)

public:
virtual~LikelihoodIntervalPlot()
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*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tRooPrintable::defaultPrintContents(Option_t* opt) const
static ostream&RooPrintable::defaultPrintStream(ostream* os = 0)
virtual RooPrintable::StyleOptionRooPrintable::defaultPrintStyle(Option_t* opt) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(Option_t* options = 0)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
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
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
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
virtual voidTObject::Inspect() constMENU
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
RooStats::LikelihoodIntervalPlotLikelihoodIntervalPlot()
RooStats::LikelihoodIntervalPlotLikelihoodIntervalPlot(RooStats::LikelihoodInterval* theInterval)
RooStats::LikelihoodIntervalPlotLikelihoodIntervalPlot(const RooStats::LikelihoodIntervalPlot&)
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
static voidRooPrintable::nameFieldLength(Int_t newLen)
virtual Bool_tTObject::Notify()
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)
RooStats::LikelihoodIntervalPlot&operator=(const RooStats::LikelihoodIntervalPlot&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidRooPrintable::printArgs(ostream& os) const
virtual voidRooPrintable::printClassName(ostream& os) const
virtual voidRooPrintable::printExtras(ostream& os) const
virtual voidRooPrintable::printMultiline(ostream& os, Int_t contents, Bool_t verbose = kFALSE, TString indent = "") const
virtual voidRooPrintable::printName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidRooPrintable::printTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidRooPrintable::printValue(ostream& os) 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 = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetContourColor(const Color_t color)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetLikelihoodInterval(RooStats::LikelihoodInterval* theInterval)
voidSetLineColor(const Color_t color)
voidSetMaximum(const Double_t theMaximum)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidSetNPoints(Int_t np)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPlotParameters(const RooArgSet* params)
voidSetPrecision(double eps)
voidSetRange(double x1, double x2)
voidSetRange(double x1, double y1, double x2, double y2)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() 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:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
static Int_tRooPrintable::_nameLength
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
Int_tfColor
Int_tfFillStyle
RooStats::LikelihoodInterval*fInterval
Int_tfLineColor
Double_tfMaximumfunction maximum
Int_tfNPointsnumber of points used to scan the PL
Int_tfNdimPlot
RooArgSet*fParamsPlot
Double_tfPrecisionRooCurve precision
Double_tfXmax
Double_tfXmin
Double_tfYmax
Double_tfYmin

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

LikelihoodIntervalPlot()
 LikelihoodIntervalPlot default constructor
 with default parameters
LikelihoodIntervalPlot(LikelihoodInterval* theInterval)
 LikelihoodIntervalPlot copy constructor
~LikelihoodIntervalPlot()
void SetLikelihoodInterval(RooStats::LikelihoodInterval* theInterval)
void SetPlotParameters(const RooArgSet* params)
void Draw(Option_t* options = 0)
 draw the Likelihood interval or contour plot
 For 1D problem draw the log profile likelihood function ratio and its interval
 The curve is draws in a RooPLot by default (i.e as a RooCurve)
 The plotting range (default is the full parameter range) and the precision of the RooCurve
 can be specified by using SetRange(x1,x2) and SetPrecision(eps).
 SetNPoints(npoints) can also be used  (default is npoints=100)
 Optionally the function can be drawn as a TF1 (option="tf1") obtained by sampling the npoints
 For 2D case, a contour is drawn. The number of contour points is controlled by
 SetNPoints(npoints) (default is npoints=40)
 In case of problems finding the contour with Minuit, the option "nominuit" can be used.
 In this case the profile likelihood function is sampled in the npoints x npoints values and then
 an approximate contour is obtained.
LikelihoodIntervalPlot()
void SetRange(double x1, double x2)
 set plot range (for 1D plot)
{ fXmin = x1; fXmax = x2; }
void SetRange(double x1, double y1, double x2, double y2)
 set plot range (for 2D plot)
void SetPrecision(double eps)
set plot precision (when drawing a RooPlot)
{ fPrecision = eps; }
void SetContourColor(const Color_t color)
{fColor = color;}
void SetLineColor(const Color_t color)
{fLineColor = color;}
void SetMaximum(const Double_t theMaximum)
{fMaximum = theMaximum;}
void SetNPoints(Int_t np)
{ fNPoints = np; }