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.
Definition at line 26 of file RooPlotable.h.
Public Member Functions | |
RooPlotable () | |
virtual | ~RooPlotable () |
TObject * | crossCast () |
Return cast of RooPlotable as TObject. | |
virtual Double_t | getFitRangeBinW () const =0 |
virtual Double_t | getFitRangeNEvt () const =0 |
virtual Double_t | getFitRangeNEvt (Double_t xlo, Double_t xhi) const =0 |
const char * | getYAxisLabel () const |
Double_t | getYAxisMax () const |
Double_t | getYAxisMin () const |
virtual void | printMultiline (std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const |
Print detailed information. | |
void | setYAxisLabel (const char *label) |
void | setYAxisLimits (Double_t ymin, Double_t ymax) |
void | updateYAxisLimits (Double_t y) |
Public Member Functions inherited from RooPrintable | |
RooPrintable () | |
virtual | ~RooPrintable () |
virtual Int_t | defaultPrintContents (Option_t *opt) const |
Default choice of contents to be printed (name and value) | |
virtual StyleOption | defaultPrintStyle (Option_t *opt) const |
virtual void | printAddress (std::ostream &os) const |
Print class name of object. | |
virtual void | printArgs (std::ostream &os) const |
Interface for printing of object arguments. | |
virtual void | printClassName (std::ostream &os) const |
Print class name of object. | |
virtual void | printExtras (std::ostream &os) const |
Interface to print extras of object. | |
virtual void | printName (std::ostream &os) const |
Print name of object. | |
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'. | |
virtual void | printTitle (std::ostream &os) const |
Print title of object. | |
virtual void | printTree (std::ostream &os, TString indent="") const |
Interface for tree structure printing of object. | |
virtual void | printValue (std::ostream &os) const |
Interface to print value of object. | |
Protected Attributes | |
Double_t | _normValue |
TString | _yAxisLabel |
Double_t | _ymax |
Double_t | _ymin |
Additional Inherited Members | |
Public Types inherited from RooPrintable | |
enum | ContentsOption { kName =1 , kClassName =2 , kValue =4 , kArgs =8 , kExtras =16 , kAddress =32 , kTitle =64 , kCollectionHeader =128 } |
enum | StyleOption { kInline =1 , kSingleLine =2 , kStandard =3 , kVerbose =4 , kTreeStructure =5 } |
Static Public Member Functions inherited from RooPrintable | |
static std::ostream & | defaultPrintStream (std::ostream *os=0) |
Return a reference to the current default stream to use in Print(). | |
static void | nameFieldLength (Int_t newLen) |
Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to given amount. | |
Static Protected Attributes inherited from RooPrintable | |
static Int_t | _nameLength |
#include <RooPlotable.h>
|
inline |
Definition at line 28 of file RooPlotable.h.
|
inlinevirtual |
Definition at line 29 of file RooPlotable.h.
TObject * RooPlotable::crossCast | ( | ) |
Return cast of RooPlotable as TObject.
Note that is this a cross cast that will change the pointer value in most cases
Definition at line 54 of file RooPlotable.cxx.
|
pure virtual |
Implemented in RooCurve, RooEllipse, and RooHist.
|
pure virtual |
Implemented in RooCurve, RooEllipse, and RooHist.
Implemented in RooCurve, RooHist, and RooEllipse.
|
inline |
Definition at line 31 of file RooPlotable.h.
|
inline |
Definition at line 42 of file RooPlotable.h.
|
inline |
Definition at line 41 of file RooPlotable.h.
|
virtual |
Print detailed information.
Reimplemented from RooPrintable.
Reimplemented in RooHist, RooCurve, and RooEllipse.
Definition at line 42 of file RooPlotable.cxx.
|
inline |
Definition at line 32 of file RooPlotable.h.
Definition at line 37 of file RooPlotable.h.
Definition at line 33 of file RooPlotable.h.
|
protected |
Definition at line 55 of file RooPlotable.h.
|
protected |
Definition at line 54 of file RooPlotable.h.
|
protected |
Definition at line 55 of file RooPlotable.h.
|
protected |
Definition at line 55 of file RooPlotable.h.