ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooPlot

class RooPlot: public TNamed, public RooPrintable



A RooPlot is a plot frame and a container for graphics objects within that frame. As a frame, it provides the TH1-style public interface for settting plot ranges, configuring axes, etc. As a container, it holds an arbitrary set of objects that might be histograms of data, curves representing a fit model, or text labels. Use the Draw() method to draw a frame and the objects it contains. Use the various add...() methods to add objects to be drawn. In general, the add...() methods create a private copy of the object you pass them and return a pointer to this copy. The caller owns the input object and this class owns the returned object.

All RooAbsReal and RooAbsData derived classes implement plotOn() functions that facilitate to plot themselves on a given RooPlot, e.g.

 RooPlot *frame = x.frame() ;
 data.plotOn(frame) ;
 pdf.plotOn(frame) ;
 
These high level functions also take care of any projections or other mappings that need to be made to plot a multi-dimensional object onto a one-dimensional plot.

Function Members (Methods)

public:
RooPlot()
RooPlot(Double_t xmin, Double_t xmax)
RooPlot(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2)
RooPlot(const RooAbsRealLValue& var, Double_t xmin, Double_t xmax, Int_t nBins)
RooPlot(Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
RooPlot(const char* name, const char* title, const RooAbsRealLValue& var, Double_t xmin, Double_t xmax, Int_t nBins)
RooPlot(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
virtual~RooPlot()
voidTObject::AbstractMethod(const char* method) const
voidaddObject(TObject* obj, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
voidaddPlotable(RooPlotable* plotable, Option_t* drawOptions = "", Bool_t invisible = kFALSE, Bool_t refreshNorm = kFALSE)
voidaddTH1(TH1* hist, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBrowse(TBrowser* b)
Double_tchiSquare(int nFitParam = 0) const
Double_tchiSquare(const char* pdfname, const char* histname, int nFitParam = 0) const
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_tdefaultPrintContents(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)
Bool_tdrawAfter(const char* after, const char* target)
Bool_tdrawBefore(const char* before, const char* target)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
RooPlot*emptyClone(const char* name)
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
TObject*findObject(const char* name, const TClass* clas = 0) const
TAttFill*getAttFill(const char* name = 0) const
TAttLine*getAttLine(const char* name = 0) const
TAttMarker*getAttMarker(const char* name = 0) const
TAttText*getAttText(const char* name = 0) const
virtual Stat_tGetBinContent(Int_t) const
virtual Stat_tGetBinContent(Int_t, Int_t) const
virtual Stat_tGetBinContent(Int_t, Int_t, Int_t) const
RooCurve*getCurve(const char* name = 0) const
virtual Option_t*TObject::GetDrawOption() const
TStringgetDrawOptions(const char* name) const
static Long_tTObject::GetDtorOnly()
Double_tgetFitRangeBinW() const
Double_tgetFitRangeNEvt() const
Double_tgetFitRangeNEvt(Double_t xlo, Double_t xhi) const
RooHist*getHist(const char* name = 0) const
virtual const char*TObject::GetIconName() const
Bool_tgetInvisible(const char* name) const
Double_tGetMaximum(Double_t maxval = FLT_MAX) const
Double_tGetMinimum(Double_t minval = -FLT_MAX) const
virtual const char*TNamed::GetName() const
Int_tGetNbinsX() const
Int_tGetNdivisions(Option_t* axis = "X") const
const RooArgSet*getNormVars() const
TObject*getObject(Int_t idx) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tgetPadFactor() const
RooAbsRealLValue*getPlotVar() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TAxis*GetXaxis() const
TAxis*GetYaxis() 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
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
static voidRooPrintable::nameFieldLength(Int_t newLen)
const char*nameOf(Int_t idx) const
virtual Bool_tTObject::Notify()
Stat_tnumItems() const
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 = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = 0) const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidprintArgs(ostream& os) const
virtual voidprintClassName(ostream& os) const
virtual voidRooPrintable::printExtras(ostream& os) const
virtual voidprintMultiline(ostream& os, Int_t content, Bool_t verbose = kFALSE, TString indent = "") const
virtual voidprintName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidprintTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidprintValue(ostream& os) const
RooHist*pullHist(const char* histname = 0, const char* pdfname = 0) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidremove(const char* name = 0, Bool_t deleteToo = kTRUE)
voidTObject::ResetBit(UInt_t f)
RooHist*residHist(const char* histname = 0, const char* pdfname = 0, bool normalize = false) const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSetAxisColor(Color_t color = 1, Option_t* axis = "X")
voidSetAxisRange(Double_t xmin, Double_t xmax, Option_t* axis = "X")
voidSetBarOffset(Float_t offset = 0.25)
voidSetBarWidth(Float_t width = 0.5)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetContour(Int_t nlevels, const Double_t* levels = 0)
voidSetContourLevel(Int_t level, Double_t value)
virtual voidSetDrawOption(Option_t* option = "")
Bool_tsetDrawOptions(const char* name, TString options)
static voidTObject::SetDtorOnly(void* obj)
voidSetFillAttributes()
voidSetFillColor(Color_t fcolor)
voidSetFillStyle(Style_t fstyle)
voidsetInvisible(const char* name, Bool_t flag = kTRUE)
voidSetLabelColor(Color_t color = 1, Option_t* axis = "X")
voidSetLabelFont(Style_t font = 62, Option_t* axis = "X")
voidSetLabelOffset(Float_t offset = 0.005, Option_t* axis = "X")
voidSetLabelSize(Float_t size = 0.02, Option_t* axis = "X")
voidSetLineAttributes()
voidSetLineColor(Color_t lcolor)
voidSetLineStyle(Style_t lstyle)
voidSetLineWidth(Width_t lwidth)
voidSetMarkerAttributes()
voidSetMarkerColor(Color_t tcolor = 1)
voidSetMarkerSize(Size_t msize = 1)
voidSetMarkerStyle(Style_t mstyle = 1)
virtual voidSetMaximum(Double_t maximum = -1111)
virtual voidSetMinimum(Double_t minimum = -1111)
virtual voidSetName(const char* name)
virtual voidSetNameTitle(const char* name, const char* title)
voidSetNdivisions(Int_t n = 510, Option_t* axis = "X")
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOption(Option_t* option = " ")
voidsetPadFactor(Double_t factor)
voidSetStats(Bool_t stats = kTRUE)
voidSetTickLength(Float_t length = 0.02, Option_t* axis = "X")
virtual voidSetTitle(const char* name)
voidSetTitleFont(Style_t font = 62, Option_t* axis = "X")
voidSetTitleOffset(Float_t offset = 1, Option_t* axis = "X")
voidSetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetXTitle(const char* title)
voidSetYTitle(const char* title)
voidSetZTitle(const char* title)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
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
voidupdateNormVars(const RooArgSet& vars)
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:
RooPlot(const RooPlot& other)
TStringcaller(const char* method) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TStringhistName() const
voidinitialize()
voidTObject::MakeZombie()
voidupdateFitRangeNorm(const TH1* hist)
voidupdateFitRangeNorm(const RooPlotable* rp, Bool_t refeshNorm = kFALSE)
voidupdateYAxis(Double_t ymin, Double_t ymax, const char* label = "")

Data Members

protected:
Double_t_defYmaxDefault maximum for Yaxis (as calculated from contents)
Double_t_defYminDefault minimum for Yaxis (as calculated from contents)
TDirectory*_dir! non-persistent
TH1*_histHistogram that we uses as basis for drawing the content
RooList_itemsA list of the items we contain.
TIterator*_iterator! non-persistent
static Int_tRooPrintable::_nameLength
Double_t_normBinWidthHistogram bin width (for normalization)
Double_t_normNumEvtsNumber of events in histogram (for normalization)
const RooPlotable*_normObj! Pointer to normalization object ;
RooArgSet*_normVarsVariables that PDF plots should be normalized over
Double_t_padFactorScale our y-axis to _padFactor of our maximum contents.
RooAbsRealLValue*_plotVarCloneA clone of the variable we are plotting.
RooArgSet*_plotVarSetA list owning the cloned tree nodes of the plotVarClone
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooPlot()
 Default constructor
RooPlot(Double_t xmin, Double_t xmax)
 Constructor of RooPlot with range [xmin,xmax]
RooPlot(Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
 Construct of a two-dimensioanl RooPlot with ranges [xmin,xmax] x [ymin,ymax]
RooPlot(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2)
 Construct a two-dimensional RooPlot with ranges and properties taken
 from variables var1 and var2
RooPlot(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
 Construct a two-dimensional RooPlot with ranges and properties taken
 from variables var1 and var2 but with an overriding range definition
 of [xmin,xmax] x [ymin,ymax]
RooPlot(const char* name, const char* title, const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nbins)
 Create an 1-dimensional with all properties taken from 'var', but
 with an explicit range [xmin,xmax] and a default binning of 'nbins'
RooPlot(const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nbins)
 Create an 1-dimensional with all properties taken from 'var', but
 with an explicit range [xmin,xmax] and a default binning of 'nbins'
RooPlot* emptyClone(const char* name)
 Return empty clone of current RooPlot
void initialize()
 Perform initialization that is common to all constructors.
TString histName() const
 Construct automatic name of internal TH1
~RooPlot()
 Destructor
void updateNormVars(const RooArgSet& vars)
 Install the given set of observables are reference normalization
 variables for this frame. These observables are e.g. later used
 to automatically project out observables when plotting functions
 on this frame. This function is only effective when called the
 first time on a frame
Stat_t GetBinContent(Int_t ) const
 A plot object is a frame without any bin contents of its own so this
 method always returns zero.
Stat_t GetBinContent(Int_t , Int_t ) const
 A plot object is a frame without any bin contents of its own so this
 method always returns zero.
Stat_t GetBinContent(Int_t , Int_t , Int_t ) const
 A plot object is a frame without any bin contents of its own so this
 method always returns zero.
void addObject(TObject* obj, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
 Add a generic object to this plot. The specified options will be
 used to Draw() this object later. The caller transfers ownership
 of the object with this call, and the object will be deleted
 when its containing plot object is destroyed.
void addTH1(TH1* hist, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
 Add a TH1 histogram object to this plot. The specified options
 will be used to Draw() this object later. "SAME" will be added to
 the options if they are not already present. The caller transfers
 ownership of the object with this call, and the object will be
 deleted when its containing plot object is destroyed.
void addPlotable(RooPlotable* plotable, Option_t* drawOptions = "", Bool_t invisible = kFALSE, Bool_t refreshNorm = kFALSE)
 Add the specified plotable object to our plot. Increase our y-axis
 limits to fit this object if necessary. The default lower-limit
 is zero unless we are plotting an object that takes on negative values.
 This call transfers ownership of the plotable object to this class.
 The plotable object will be deleted when this plot object is deleted.
void updateFitRangeNorm(const TH1* hist)
 Update our plot normalization over our plot variable's fit range,
 which will be determined by the first suitable object added to our plot.
void updateFitRangeNorm(const RooPlotable* rp, Bool_t refeshNorm = kFALSE)
 Update our plot normalization over our plot variable's fit range,
 which will be determined by the first suitable object added to our plot.
void updateYAxis(Double_t ymin, Double_t ymax, const char* label = "")
 Update our y-axis limits to accomodate an object whose spread
 in y is (ymin,ymax). Use the specified y-axis label if we don't
 have one assigned already.
void Draw(Option_t* options = 0)
 Draw this plot and all of the elements it contains. The specified options
 only apply to the drawing of our frame. The options specified in our add...()
 methods will be used to draw each object we contain.
void printName(ostream& os) const
 Print frame name
void printTitle(ostream& os) const
 Print frame title
void printClassName(ostream& os) const
 Print frame class name
void printArgs(ostream& os) const
void printValue(ostream& os) const
 Print frame arguments
void printMultiline(ostream& os, Int_t content, Bool_t verbose = kFALSE, TString indent = "") const
 Frame detailed printing
const char* nameOf(Int_t idx) const
 Return the name of the object at slot 'idx' in this RooPlot.
 If the given index is out of range, return a null pointer
TObject* getObject(Int_t idx) const
 Return the name of the object at slot 'idx' in this RooPlot.
 If the given index is out of range, return a null pointer
TAttLine * getAttLine(const char* name = 0) const
 Return a pointer to the line attributes of the named object in this plot,
 or zero if the named object does not exist or does not have line attributes.
TAttFill * getAttFill(const char* name = 0) const
 Return a pointer to the fill attributes of the named object in this plot,
 or zero if the named object does not exist or does not have fill attributes.
TAttMarker * getAttMarker(const char* name = 0) const
 Return a pointer to the marker attributes of the named object in this plot,
 or zero if the named object does not exist or does not have marker attributes.
TAttText * getAttText(const char* name = 0) const
 Return a pointer to the text attributes of the named object in this plot,
 or zero if the named object does not exist or does not have text attributes.
RooCurve* getCurve(const char* name = 0) const
 Return a RooCurve pointer of the named object in this plot,
 or zero if the named object does not exist or is not a RooCurve
RooHist* getHist(const char* name = 0) const
 Return a RooCurve pointer of the named object in this plot,
 or zero if the named object does not exist or is not a RooCurve
void remove(const char* name = 0, Bool_t deleteToo = kTRUE)
 Remove object with given name, or last object added if no name is given.
 If deleteToo is true (default), the object removed from the RooPlot is
 also deleted.
Bool_t drawBefore(const char* before, const char* target)
 Change the order in which our contained objects are drawn so that
 the target object is drawn just before the specified object.
 Returns kFALSE if either object does not exist.
Bool_t drawAfter(const char* after, const char* target)
 Change the order in which our contained objects are drawn so that
 the target object is drawn just after the specified object.
 Returns kFALSE if either object does not exist.
TObject * findObject(const char* name, const TClass* clas = 0) const
 Find the named object in our list of items and return a pointer
 to it. Return zero and print a warning message if the named
 object cannot be found. If no name is supplied the last object
 added is returned.

 Note that the returned pointer is to a
 TObject and so will generally need casting. Use the getAtt...()
 methods to change the drawing style attributes of a contained
 object directly.
TString getDrawOptions(const char* name) const
 Return the Draw() options registered for the named object. Return
 an empty string if the named object cannot be found.
Bool_t setDrawOptions(const char* name, TString options)
 Register the specified drawing options for the named object.
 Return kFALSE if the named object cannot be found.
Bool_t getInvisible(const char* name) const
 Returns true of object with given name is set to be invisible
void setInvisible(const char* name, Bool_t flag = kTRUE)
 If flag is true object with 'name' is set to be invisible
 i.e. it is not drawn when Draw() is called
TString caller(const char* method) const
 Utility function
void SetMaximum(Double_t maximum = -1111)
 Set maximum value of Y axis
void SetMinimum(Double_t minimum = -1111)
 Set minimum value of Y axis
Double_t chiSquare(const char* pdfname, const char* histname, int nFitParam = 0) const
 Calculate and return reduced chi-squared of curve with given name with respect
 to histogram with given name. If nFitParam is non-zero, it is used to reduce the
 number of degrees of freedom for a chi^2 for a curve that was fitted to the
 data with that number of floating parameters
RooHist* residHist(const char* histname = 0, const char* pdfname = 0, bool normalize = false) const
 Return a RooHist containing the residuals of histogram 'histname' with respect
 to curve 'curvename'. If normalize is true the residuals are divided by the error
 on the histogram, effectively returning a pull histogram
Double_t getFitRangeNEvt(Double_t xlo, Double_t xhi) const
 Return the number of events that is associated with the range [xlo,xhi]
 This method is only fully functional for ranges not equal to the full
 range if the object that inserted the normalization data provided
 a link to an external object that can calculate the event count in
 in sub ranges. An error will be printed if this function is used
 on sub-ranges while that information is not available
void SetName(const char* name)
 Set the name of the RooPlot to 'name'
void SetNameTitle(const char* name, const char* title)
 Set the name and title of the RooPlot to 'name' and 'title'
void SetTitle(const char* name)
 Set the title of the RooPlot to 'title'
Int_t defaultPrintContents(Option_t* opt) const
 Define default print options, for a given print style
TAxis* GetXaxis() const
{ return _hist->GetXaxis() ; }
TAxis* GetYaxis() const
{ return _hist->GetYaxis() ; }
Int_t GetNbinsX() const
{ return _hist->GetNbinsX() ; }
Int_t GetNdivisions(Option_t* axis = "X") const
{ return _hist->GetNdivisions(axis) ; }
Double_t GetMinimum(Double_t minval = -FLT_MAX) const
{ return _hist->GetMinimum(minval) ; }
Double_t GetMaximum(Double_t maxval = FLT_MAX) const
{ return _hist->GetMaximum(maxval) ; }
void SetAxisColor(Color_t color = 1, Option_t* axis = "X")
{ _hist->SetAxisColor(color,axis) ; }
void SetAxisRange(Double_t xmin, Double_t xmax, Option_t* axis = "X")
{ _hist->SetAxisRange(xmin,xmax,axis) ; }
void SetBarOffset(Float_t offset = 0.25)
{ _hist->SetBarOffset(offset) ; }
void SetBarWidth(Float_t width = 0.5)
{ _hist->SetBarWidth(width) ; }
void SetContour(Int_t nlevels, const Double_t* levels = 0)
{ _hist->SetContour(nlevels,levels) ; }
void SetContourLevel(Int_t level, Double_t value)
{ _hist->SetContourLevel(level,value) ; }
void SetDrawOption(Option_t* option = "")
{ _hist->SetDrawOption(option) ; }
void SetFillAttributes()
void SetFillColor(Color_t fcolor)
{ _hist->SetFillColor(fcolor) ; }
void SetFillStyle(Style_t fstyle)
{ _hist->SetFillStyle(fstyle) ; }
void SetLabelColor(Color_t color = 1, Option_t* axis = "X")
{ _hist->SetLabelColor(color,axis) ; }
void SetLabelFont(Style_t font = 62, Option_t* axis = "X")
{ _hist->SetLabelFont(font,axis) ; }
void SetLabelOffset(Float_t offset = 0.005, Option_t* axis = "X")
{ _hist->SetLabelOffset(offset,axis) ; }
void SetLabelSize(Float_t size = 0.02, Option_t* axis = "X")
{ _hist->SetLabelSize(size,axis) ; }
void SetLineAttributes()
void SetLineColor(Color_t lcolor)
{ _hist->SetLineColor(lcolor) ; }
void SetLineStyle(Style_t lstyle)
{ _hist->SetLineStyle(lstyle) ; }
void SetLineWidth(Width_t lwidth)
{ _hist->SetLineWidth(lwidth) ; }
void SetMarkerAttributes()
void SetMarkerColor(Color_t tcolor = 1)
{ _hist->SetMarkerColor(tcolor) ; }
void SetMarkerSize(Size_t msize = 1)
{ _hist->SetMarkerSize(msize) ; }
void SetMarkerStyle(Style_t mstyle = 1)
{ _hist->SetMarkerStyle(mstyle) ; }
void SetNdivisions(Int_t n = 510, Option_t* axis = "X")
{ _hist->SetNdivisions(n,axis) ; }
void SetOption(Option_t* option = " ")
{ _hist->SetOption(option) ; }
void SetStats(Bool_t stats = kTRUE)
{ _hist->SetStats(stats) ; }
void SetTickLength(Float_t length = 0.02, Option_t* axis = "X")
{ _hist->SetTickLength(length,axis) ; }
void SetTitleFont(Style_t font = 62, Option_t* axis = "X")
{ _hist->SetTitleFont(font,axis) ; }
void SetTitleOffset(Float_t offset = 1, Option_t* axis = "X")
{ _hist->SetTitleOffset(offset,axis) ; }
void SetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
{ _hist->SetTitleSize(size,axis) ; }
void SetXTitle(const char* title)
{ _hist->SetXTitle(title) ; }
void SetYTitle(const char* title)
{ _hist->SetYTitle(title) ; }
void SetZTitle(const char* title)
{ _hist->SetZTitle(title) ; }
void Browse(TBrowser* b)
 Plot RooPlot when double-clicked in browser
void Streamer(TBuffer& b)
RooPlot()
Stat_t numItems() const
{return _items.GetSize();}
void Print(Option_t* options = 0) const
RooAbsRealLValue * getPlotVar() const
 data member get/set methods
{ return _plotVarClone; }
Double_t getFitRangeNEvt() const
{ return _normNumEvts; }
Double_t getFitRangeBinW() const
{ return _normBinWidth; }
Double_t getPadFactor() const
{ return _padFactor; }
void setPadFactor(Double_t factor)
{ if(factor >= 0) _padFactor= factor; }
const RooArgSet * getNormVars() const
{ return _normVars; }
Double_t chiSquare(int nFitParam = 0) const
{ return chiSquare(0,0,nFitParam) ; }
RooHist* pullHist(const char* histname = 0, const char* pdfname = 0) const
{ return residHist(histname,pdfname,true); }