ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooPlotable

class RooPlotable: public RooPrintable



Class RooPotable is a base class for objects that can be inserted into RooPlots and take advantage of its internal normalization and axis range adjustment features. The most useful implementation of RooPlotable are RooHist and RooCurve.

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~RooPlotable()
static TClass*Class()
TObject*crossCast()
virtual Int_tRooPrintable::defaultPrintContents(Option_t* opt) const
static ostream&RooPrintable::defaultPrintStream(ostream* os = 0)
virtual RooPrintable::StyleOptionRooPrintable::defaultPrintStyle(Option_t* opt) const
virtual Double_tgetFitRangeBinW() const
virtual Double_tgetFitRangeNEvt() const
virtual Double_tgetFitRangeNEvt(Double_t xlo, Double_t xhi) const
const char*getYAxisLabel() const
Double_tgetYAxisMax() const
Double_tgetYAxisMin() const
virtual TClass*IsA() const
static voidRooPrintable::nameFieldLength(Int_t newLen)
RooPlotable&operator=(const RooPlotable&)
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 voidprintMultiline(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
voidsetYAxisLabel(const char* label)
voidsetYAxisLimits(Double_t ymin, Double_t ymax)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidupdateYAxisLimits(Double_t y)

Data Members

public:
enum RooPrintable::ContentsOption { kName
kClassName
kValue
kArgs
kExtras
kAddress
kTitle
kCollectionHeader
};
enum RooPrintable::StyleOption { kInline
kSingleLine
kStandard
kVerbose
kTreeStructure
};
protected:
static Int_tRooPrintable::_nameLength
Double_t_normValue
TString_yAxisLabel
Double_t_ymax
Double_t_ymin

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void printMultiline(ostream& os, Int_t contents, Bool_t verbose = kFALSE, TString indent = "") const
 Print detailed information
TObject * crossCast()
 Return cast of RooPlotable as TObject. Note that is this a cross
 cast that will change the pointer value in most cases
virtual ~RooPlotable()
{ }
const char* getYAxisLabel() const
{ return _yAxisLabel.Data(); }
void setYAxisLabel(const char* label)
{ _yAxisLabel= label; }
void updateYAxisLimits(Double_t y)
void setYAxisLimits(Double_t ymin, Double_t ymax)
Double_t getYAxisMin() const
{ return _ymin; }
Double_t getYAxisMax() const
{ return _ymax; }
Double_t getFitRangeNEvt() const
 the normalization value refers to the full "fit range" instead of
 the "plot range"
Double_t getFitRangeNEvt(Double_t xlo, Double_t xhi) const
Double_t getFitRangeBinW() const