ROOT  6.06/09
Reference Guide
RooPlot.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooPlot.h,v 1.37 2007/06/18 11:52:41 wouter Exp $
5  * Authors: *
6  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8  * *
9  * Copyright (c) 2000-2005, Regents of the University of California *
10  * and Stanford University. All rights reserved. *
11  * *
12  * Redistribution and use in source and binary forms, *
13  * with or without modification, are permitted according to the terms *
14  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15  *****************************************************************************/
16 #ifndef ROO_PLOT
17 #define ROO_PLOT
18 
19 #include <float.h>
20 #include "RooList.h"
21 #include "RooPrintable.h"
22 #include "TNamed.h"
23 
24 class TH1 ;
25 
26 class RooAbsReal;
27 class RooAbsRealLValue;
28 class RooArgSet ;
29 class RooHist;
30 class RooCurve ;
31 class RooPlotable;
32 class TDirectory ;
33 class TAttLine;
34 class TAttFill;
35 class TAttMarker;
36 class TAttText;
37 class TClass ;
38 class TAxis;
39 class TBrowser ;
40 
41 class RooPlot : public TNamed, public RooPrintable {
42 public:
43  RooPlot() ;
44  RooPlot(const char* name, const char* title, const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nBins) ;
45  RooPlot(const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nBins);
46  RooPlot(Double_t xmin, Double_t xmax);
48  RooPlot(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2);
49  RooPlot(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2,
50  Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax);
51  virtual ~RooPlot();
52 
53  RooPlot* emptyClone(const char* name) ;
54 
55  // implement the TH1 interface
56  virtual Stat_t GetBinContent(Int_t) const;
57  virtual Stat_t GetBinContent(Int_t, Int_t) const;
58  virtual Stat_t GetBinContent(Int_t, Int_t, Int_t) const;
59  virtual void Draw(Option_t *options= 0);
60 
61  // forwarding of relevant TH1 interface
62  TAxis* GetXaxis() const ;
63  TAxis* GetYaxis() const ;
64  Int_t GetNbinsX() const ;
65  Int_t GetNdivisions(Option_t* axis = "X") const ;
66  Double_t GetMinimum(Double_t minval = -FLT_MAX) const ;
67  Double_t GetMaximum(Double_t maxval = FLT_MAX) const ;
68 
69  void SetAxisColor(Color_t color = 1, Option_t* axis = "X") ;
70  void SetAxisRange(Double_t xmin, Double_t xmax, Option_t* axis = "X") ;
71  void SetBarOffset(Float_t offset = 0.25) ;
72  void SetBarWidth(Float_t width = 0.5) ;
73  void SetContour(Int_t nlevels, const Double_t* levels = 0) ;
74  void SetContourLevel(Int_t level, Double_t value) ;
75  void SetDrawOption(Option_t* option = "") ;
76  void SetFillAttributes() ;
77  void SetFillColor(Color_t fcolor) ;
78  void SetFillStyle(Style_t fstyle) ;
79  void SetLabelColor(Color_t color = 1, Option_t* axis = "X") ;
80  void SetLabelFont(Style_t font = 62, Option_t* axis = "X") ;
81  void SetLabelOffset(Float_t offset = 0.005, Option_t* axis = "X") ;
82  void SetLabelSize(Float_t size = 0.02, Option_t* axis = "X") ;
83  void SetLineAttributes() ;
84  void SetLineColor(Color_t lcolor) ;
85  void SetLineStyle(Style_t lstyle) ;
86  void SetLineWidth(Width_t lwidth) ;
87  void SetMarkerAttributes() ;
88  void SetMarkerColor(Color_t tcolor = 1) ;
89  void SetMarkerSize(Size_t msize = 1) ;
90  void SetMarkerStyle(Style_t mstyle = 1) ;
91  void SetName(const char *name) ;
92  void SetTitle(const char *name) ;
93  void SetNameTitle(const char *name, const char* title) ;
94  void SetNdivisions(Int_t n = 510, Option_t* axis = "X") ;
95  void SetOption(Option_t* option = " ") ;
96  void SetStats(Bool_t stats = kTRUE) ;
97  void SetTickLength(Float_t length = 0.02, Option_t* axis = "X") ;
98  void SetTitleFont(Style_t font = 62, Option_t* axis = "X") ;
99  void SetTitleOffset(Float_t offset = 1, Option_t* axis = "X") ;
100  void SetTitleSize(Float_t size = 0.02, Option_t* axis = "X") ;
101  void SetXTitle(const char* title) ;
102  void SetYTitle(const char* title) ;
103  void SetZTitle(const char* title) ;
104 
105  // container management
106  const char* nameOf(Int_t idx) const ;
107  TObject *findObject(const char *name, const TClass* clas=0) const;
108  TObject* getObject(Int_t idx) const ;
109  Stat_t numItems() const {return _items.GetSize();}
110 
111  void addPlotable(RooPlotable *plotable, Option_t *drawOptions= "", Bool_t invisible=kFALSE, Bool_t refreshNorm=kFALSE);
112  void addObject(TObject* obj, Option_t* drawOptions= "", Bool_t invisible=kFALSE);
113  void addTH1(TH1 *hist, Option_t* drawOptions= "", Bool_t invisible=kFALSE);
114 
115  void remove(const char* name=0, Bool_t deleteToo=kTRUE) ;
116 
117  // ascii printing
118  virtual void printName(std::ostream& os) const ;
119  virtual void printTitle(std::ostream& os) const ;
120  virtual void printClassName(std::ostream& os) const ;
121  virtual void printArgs(std::ostream& os) const ;
122  virtual void printValue(std::ostream& os) const ;
123  virtual void printMultiline(std::ostream& os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const ;
124 
125  virtual Int_t defaultPrintContents(Option_t* opt) const ;
126 
127  inline virtual void Print(Option_t *options= 0) const {
129  }
130 
131  // data member get/set methods
132  inline RooAbsRealLValue *getPlotVar() const { return _plotVarClone; }
133  inline Double_t getFitRangeNEvt() const { return _normNumEvts; }
134  Double_t getFitRangeNEvt(Double_t xlo, Double_t xhi) const ;
135  inline Double_t getFitRangeBinW() const { return _normBinWidth; }
136  inline Double_t getPadFactor() const { return _padFactor; }
137  inline void setPadFactor(Double_t factor) { if(factor >= 0) _padFactor= factor; }
138  void updateNormVars(const RooArgSet &vars);
139  const RooArgSet *getNormVars() const { return _normVars; }
140 
141  // get attributes of contained objects
142  TAttLine *getAttLine(const char *name=0) const;
143  TAttFill *getAttFill(const char *name=0) const;
144  TAttMarker *getAttMarker(const char *name=0) const;
145  TAttText *getAttText(const char *name=0) const;
146 
147  // Convenient type-safe accessors
148  RooCurve* getCurve(const char* name=0) const ;
149  RooHist* getHist(const char* name=0) const ;
150 
151 
152  // rearrange drawing order of contained objects
153  Bool_t drawBefore(const char *before, const char *target);
154  Bool_t drawAfter(const char *after, const char *target);
155 
156  // get/set drawing options for contained objects
157  TString getDrawOptions(const char *name) const;
158  Bool_t setDrawOptions(const char *name, TString options);
159 
160  Bool_t getInvisible(const char* name) const ;
161  void setInvisible(const char* name, Bool_t flag=kTRUE) ;
162 
163  virtual void SetMaximum(Double_t maximum = -1111) ;
164  virtual void SetMinimum(Double_t minimum = -1111) ;
165 
166  Double_t chiSquare(int nFitParam=0) const { return chiSquare(0,0,nFitParam) ; }
167  Double_t chiSquare(const char* pdfname, const char* histname, int nFitParam=0) const ;
168 
169  RooHist* residHist(const char* histname=0, const char* pdfname=0,bool normalize=false, bool useAverage=kFALSE) const ;
170  RooHist* pullHist(const char* histname=0, const char* pdfname=0, bool useAverage=false) const
171  { return residHist(histname,pdfname,true,useAverage); }
172 
173  void Browse(TBrowser *b) ;
174 
175  static Bool_t addDirectoryStatus() ;
176  static Bool_t setAddDirectoryStatus(Bool_t flag) ;
177 
178 protected:
179 
180  RooPlot(const RooPlot& other); // cannot be copied
181 
182  class DrawOpt {
183  public:
184 
185  DrawOpt(const char* _rawOpt=0) : invisible(kFALSE) { drawOptions[0] = 0 ; initialize(_rawOpt) ; }
186  void initialize(const char* _rawOpt) ;
187  const char* rawOpt() const ;
188 
189  char drawOptions[128] ;
191  } ;
192 
193 
194  void initialize();
195  TString histName() const ;
196  TString caller(const char *method) const;
197  void updateYAxis(Double_t ymin, Double_t ymax, const char *label= "");
198  void updateFitRangeNorm(const TH1* hist);
199  void updateFitRangeNorm(const RooPlotable* rp, Bool_t refeshNorm=kFALSE);
200 
201  TH1* _hist ; // Histogram that we uses as basis for drawing the content
202 
203  RooList _items; // A list of the items we contain.
204  Double_t _padFactor; // Scale our y-axis to _padFactor of our maximum contents.
205  RooAbsRealLValue *_plotVarClone; // A clone of the variable we are plotting.
206  RooArgSet *_plotVarSet; // A list owning the cloned tree nodes of the plotVarClone
207  RooArgSet *_normVars; // Variables that PDF plots should be normalized over
208 
209  const RooPlotable* _normObj ; //! Pointer to normalization object ;
210  Double_t _normNumEvts; // Number of events in histogram (for normalization)
211  Double_t _normBinWidth; // Histogram bin width (for normalization)
212 
213  TIterator *_iterator; //! non-persistent
214 
215  Double_t _defYmin ; // Default minimum for Yaxis (as calculated from contents)
216  Double_t _defYmax ; // Default maximum for Yaxis (as calculated from contents)
217 
218  TDirectory* _dir ; //! non-persistent
219 
220  static Bool_t _addDirStatus ; // static flag controlling AutoDirectoryAdd feature
221 
222  ClassDef(RooPlot,2) // Plot frame and container for graphics objects
223 };
224 
225 #endif
Double_t _padFactor
Definition: RooPlot.h:204
void SetNdivisions(Int_t n=510, Option_t *axis="X")
Definition: RooPlot.cxx:1147
void SetOption(Option_t *option=" ")
Definition: RooPlot.cxx:1148
void SetXTitle(const char *title)
Definition: RooPlot.cxx:1154
virtual void printValue(std::ostream &os) const
Print frame arguments.
Definition: RooPlot.cxx:633
void SetBarWidth(Float_t width=0.5)
Definition: RooPlot.cxx:1128
Int_t GetNbinsX() const
Definition: RooPlot.cxx:1119
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.
Definition: RooPlot.cxx:850
float xmin
Definition: THbookFile.cxx:93
void SetLineColor(Color_t lcolor)
Definition: RooPlot.cxx:1140
virtual void printName(std::ostream &os) const
Print frame name.
Definition: RooPlot.cxx:592
RooArgSet * _plotVarSet
Definition: RooPlot.h:206
void SetLabelColor(Color_t color=1, Option_t *axis="X")
Definition: RooPlot.cxx:1135
short Style_t
Definition: RtypesCore.h:76
void SetName(const char *name)
Set the name of the RooPlot to 'name'.
Definition: RooPlot.cxx:1077
virtual ~RooPlot()
Destructor.
Definition: RooPlot.cxx:325
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
float Float_t
Definition: RtypesCore.h:53
float Size_t
Definition: RtypesCore.h:83
char drawOptions[128]
Definition: RooPlot.h:189
const char Option_t
Definition: RtypesCore.h:62
void addObject(TObject *obj, Option_t *drawOptions="", Bool_t invisible=kFALSE)
Add a generic object to this plot.
Definition: RooPlot.cxx:392
float ymin
Definition: THbookFile.cxx:93
RooHist * pullHist(const char *histname=0, const char *pdfname=0, bool useAverage=false) const
Definition: RooPlot.h:170
void SetYTitle(const char *title)
Definition: RooPlot.cxx:1155
void SetLineAttributes()
Definition: RooPlot.cxx:1139
void SetMarkerColor(Color_t tcolor=1)
Definition: RooPlot.cxx:1144
TIterator * _iterator
Definition: RooPlot.h:213
void addTH1(TH1 *hist, Option_t *drawOptions="", Bool_t invisible=kFALSE)
Add a TH1 histogram object to this plot.
Definition: RooPlot.cxx:411
void addPlotable(RooPlotable *plotable, Option_t *drawOptions="", Bool_t invisible=kFALSE, Bool_t refreshNorm=kFALSE)
Add the specified plotable object to our plot.
Definition: RooPlot.cxx:447
void SetZTitle(const char *title)
Definition: RooPlot.cxx:1156
TAxis * GetYaxis() const
Definition: RooPlot.cxx:1118
void SetStats(Bool_t stats=kTRUE)
Definition: RooPlot.cxx:1149
DrawOpt(const char *_rawOpt=0)
Definition: RooPlot.h:185
void updateNormVars(const RooArgSet &vars)
Install the given set of observables are reference normalization variables for this frame...
Definition: RooPlot.cxx:350
Basic string class.
Definition: TString.h:137
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
const Bool_t kFALSE
Definition: Rtypes.h:92
void SetTitle(const char *name)
Set the title of the RooPlot to 'title'.
Definition: RooPlot.cxx:1099
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...
Definition: RooPlot.cxx:744
Double_t _normBinWidth
Definition: RooPlot.h:211
void SetDrawOption(Option_t *option="")
Set drawing option for object.
Definition: RooPlot.cxx:1131
virtual StyleOption defaultPrintStyle(Option_t *opt) const
TObject * getObject(Int_t idx) const
Return the name of the object at slot 'idx' in this RooPlot.
Definition: RooPlot.cxx:718
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...
Definition: RooPlot.cxx:764
Double_t GetMaximum(Double_t maxval=FLT_MAX) const
Definition: RooPlot.cxx:1122
Iterator abstract base class.
Definition: TIterator.h:32
void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
Definition: RooPlot.cxx:1153
Marker Attributes class.
Definition: TAttMarker.h:32
virtual void SetMinimum(Double_t minimum=-1111)
Set minimum value of Y axis.
Definition: RooPlot.cxx:959
void setInvisible(const char *name, Bool_t flag=kTRUE)
If flag is true object with 'name' is set to be invisible i.e.
Definition: RooPlot.cxx:915
Fill Area Attributes class.
Definition: TAttFill.h:32
Stat_t numItems() const
Definition: RooPlot.h:109
static Bool_t _addDirStatus
non-persistent
Definition: RooPlot.h:220
#define ClassDef(name, id)
Definition: Rtypes.h:254
Bool_t invisible
Definition: RooPlot.h:190
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
TH1 * _hist
Definition: RooPlot.h:201
TAxis * GetXaxis() const
Definition: RooPlot.cxx:1117
Bool_t setDrawOptions(const char *name, TString options)
Register the specified drawing options for the named object.
Definition: RooPlot.cxx:887
Double_t _defYmin
non-persistent
Definition: RooPlot.h:215
void SetLineWidth(Width_t lwidth)
Definition: RooPlot.cxx:1142
Double_t _normNumEvts
Pointer to normalization object ;.
Definition: RooPlot.h:210
TString histName() const
Construct automatic name of internal TH1.
Definition: RooPlot.cxx:312
short Color_t
Definition: RtypesCore.h:79
virtual void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Frame detailed printing.
Definition: RooPlot.cxx:662
void initialize(const char *_rawOpt)
Initialize the DrawOpt helper class.
Definition: RooPlot.cxx:1022
void SetLineStyle(Style_t lstyle)
Definition: RooPlot.cxx:1141
void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Definition: RooPlot.cxx:1137
void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="X")
Definition: RooPlot.cxx:1126
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:41
void initialize()
Perform initialization that is common to all constructors.
Definition: RooPlot.cxx:286
float ymax
Definition: THbookFile.cxx:93
void SetLabelSize(Float_t size=0.02, Option_t *axis="X")
Definition: RooPlot.cxx:1138
Double_t length(const TVector2 &v)
Definition: CsgOps.cxx:347
void SetContourLevel(Int_t level, Double_t value)
Definition: RooPlot.cxx:1130
Class to manage histogram axis.
Definition: TAxis.h:36
virtual void SetMaximum(Double_t maximum=-1111)
Set maximum value of Y axis.
Definition: RooPlot.cxx:949
void updateFitRangeNorm(const TH1 *hist)
Update our plot normalization over our plot variable's fit range, which will be determined by the fir...
Definition: RooPlot.cxx:472
void SetMarkerAttributes()
Definition: RooPlot.cxx:1143
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...
Definition: RooPlot.cxx:734
void SetNameTitle(const char *name, const char *title)
Set the name and title of the RooPlot to 'name' and 'title'.
Definition: RooPlot.cxx:1088
Text Attributes class.
Definition: TAttText.h:32
void SetMarkerSize(Size_t msize=1)
Definition: RooPlot.cxx:1145
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default print options, for a given print style.
Definition: RooPlot.cxx:1110
void SetContour(Int_t nlevels, const Double_t *levels=0)
Definition: RooPlot.cxx:1129
RooHist * residHist(const char *histname=0, const char *pdfname=0, bool normalize=false, bool useAverage=kFALSE) const
Return a RooHist containing the residuals of histogram 'histname' with respect to curve 'curvename'...
Definition: RooPlot.cxx:998
bool verbose
const char * rawOpt() const
Return the raw draw options.
Definition: RooPlot.cxx:1041
RooArgSet * _normVars
Definition: RooPlot.h:207
RooAbsRealLValue * _plotVarClone
Definition: RooPlot.h:205
void SetLabelFont(Style_t font=62, Option_t *axis="X")
Definition: RooPlot.cxx:1136
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
Definition: RooPlot.h:127
void SetTitleFont(Style_t font=62, Option_t *axis="X")
Definition: RooPlot.cxx:1151
The ROOT global object gROOT contains a list of all defined classes.
Definition: TClass.h:81
void Browse(TBrowser *b)
Plot RooPlot when double-clicked in browser.
Definition: RooPlot.cxx:1164
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 bef...
Definition: RooPlot.cxx:822
float xmax
Definition: THbookFile.cxx:93
Double_t chiSquare(int nFitParam=0) const
Definition: RooPlot.h:166
void SetTickLength(Float_t length=0.02, Option_t *axis="X")
Definition: RooPlot.cxx:1150
static void indent(ostringstream &buf, int indent_level)
RooAbsRealLValue * getPlotVar() const
Definition: RooPlot.h:132
short Width_t
Definition: RtypesCore.h:78
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 aft...
Definition: RooPlot.cxx:833
const char * nameOf(Int_t idx) const
Return the name of the object at slot 'idx' in this RooPlot.
Definition: RooPlot.cxx:702
Bool_t getInvisible(const char *name) const
Returns true of object with given name is set to be invisible.
Definition: RooPlot.cxx:902
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
virtual Int_t GetSize() const
Definition: TCollection.h:95
TDirectory * _dir
Definition: RooPlot.h:218
Int_t GetNdivisions(Option_t *axis="X") const
Definition: RooPlot.cxx:1120
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
void SetMarkerStyle(Style_t mstyle=1)
Definition: RooPlot.cxx:1146
Describe directory structure in memory.
Definition: TDirectory.h:41
virtual void printArgs(std::ostream &os) const
Interface for printing of object arguments.
Definition: RooPlot.cxx:619
const RooPlotable * _normObj
Definition: RooPlot.h:209
static Bool_t setAddDirectoryStatus(Bool_t flag)
Definition: RooPlot.cxx:80
void setPadFactor(Double_t factor)
Definition: RooPlot.h:137
The TH1 histogram class.
Definition: TH1.h:80
Double_t getFitRangeBinW() const
Definition: RooPlot.h:135
TString caller(const char *method) const
Utility function.
Definition: RooPlot.cxx:934
void SetBarOffset(Float_t offset=0.25)
Definition: RooPlot.cxx:1127
virtual 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...
Definition: RooPlot.cxx:360
virtual void printTitle(std::ostream &os) const
Print frame title.
Definition: RooPlot.cxx:601
RooPlot * emptyClone(const char *name)
Return empty clone of current RooPlot.
Definition: RooPlot.cxx:275
double Stat_t
Definition: RtypesCore.h:73
#define name(a, b)
Definition: linkTestLib0.cpp:5
void SetTitleOffset(Float_t offset=1, Option_t *axis="X")
Definition: RooPlot.cxx:1152
Mother of all ROOT objects.
Definition: TObject.h:58
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 exis...
Definition: RooPlot.cxx:785
virtual void printClassName(std::ostream &os) const
Print frame class name.
Definition: RooPlot.cxx:610
const RooArgSet * getNormVars() const
Definition: RooPlot.h:139
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 exis...
Definition: RooPlot.cxx:775
RooList _items
Definition: RooPlot.h:203
Double_t GetMinimum(Double_t minval=-FLT_MAX) const
Definition: RooPlot.cxx:1121
void SetAxisColor(Color_t color=1, Option_t *axis="X")
Definition: RooPlot.cxx:1125
Double_t _defYmax
Definition: RooPlot.h:216
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 obje...
Definition: RooPlot.cxx:754
void SetFillColor(Color_t fcolor)
Definition: RooPlot.cxx:1133
const Bool_t kTRUE
Definition: Rtypes.h:91
TObject * obj
float value
Definition: math.cpp:443
void SetFillStyle(Style_t fstyle)
Definition: RooPlot.cxx:1134
const Int_t n
Definition: legend1.C:16
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).
Definition: RooPlot.cxx:527
Line Attributes class.
Definition: TAttLine.h:32
void SetFillAttributes()
Definition: RooPlot.cxx:1132
static Bool_t addDirectoryStatus()
Definition: RooPlot.cxx:79
RooPlot()
Default constructor coverity[UNINIT_CTOR].
Definition: RooPlot.cxx:87
TString getDrawOptions(const char *name) const
Return the Draw() options registered for the named object.
Definition: RooPlot.cxx:875
Double_t getPadFactor() const
Definition: RooPlot.h:136
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
Definition: RooPlot.cxx:559
Double_t getFitRangeNEvt() const
Definition: RooPlot.h:133