ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Attributes | List of all members
RooPlotable Class Referenceabstract

Definition at line 26 of file RooPlotable.h.

Public Member Functions

 RooPlotable ()
 
virtual ~RooPlotable ()
 
const char * getYAxisLabel () const
 
void setYAxisLabel (const char *label)
 
void updateYAxisLimits (Double_t y)
 
void setYAxisLimits (Double_t ymin, Double_t ymax)
 
Double_t getYAxisMin () const
 
Double_t getYAxisMax () const
 
virtual Double_t getFitRangeNEvt () const =0
 
virtual Double_t getFitRangeNEvt (Double_t xlo, Double_t xhi) const =0
 
virtual Double_t getFitRangeBinW () const =0
 
virtual void printMultiline (std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
 Print detailed information. More...
 
TObjectcrossCast ()
 Return cast of RooPlotable as TObject. More...
 
- Public Member Functions inherited from RooPrintable
 RooPrintable ()
 
virtual ~RooPrintable ()
 
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'. More...
 
virtual void printAddress (std::ostream &os) const
 Print class name of object. More...
 
virtual void printName (std::ostream &os) const
 Print name of object. More...
 
virtual void printTitle (std::ostream &os) const
 Print title of object. More...
 
virtual void printClassName (std::ostream &os) const
 Print class name of object. More...
 
virtual void printValue (std::ostream &os) const
 Interface to print value of object. More...
 
virtual void printArgs (std::ostream &os) const
 Interface for printing of object arguments. More...
 
virtual void printExtras (std::ostream &os) const
 Interface to print extras of object. More...
 
virtual void printTree (std::ostream &os, TString indent="") const
 Interface for tree structure printing of object. More...
 
virtual Int_t defaultPrintContents (Option_t *opt) const
 Default choice of contents to be printed (name and value) More...
 
virtual StyleOption defaultPrintStyle (Option_t *opt) const
 

Protected Attributes

TString _yAxisLabel
 
Double_t _ymin
 
Double_t _ymax
 
Double_t _normValue
 

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(). More...
 
static void nameFieldLength (Int_t newLen)
 Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to given amount. More...
 
- Static Protected Attributes inherited from RooPrintable
static Int_t _nameLength
 

#include <RooPlotable.h>

+ Inheritance diagram for RooPlotable:
+ Collaboration diagram for RooPlotable:

Constructor & Destructor Documentation

RooPlotable::RooPlotable ( )
inline

Definition at line 28 of file RooPlotable.h.

virtual RooPlotable::~RooPlotable ( )
inlinevirtual

Definition at line 29 of file RooPlotable.h.

Member Function Documentation

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.

Referenced by RooPlot::addPlotable().

virtual Double_t RooPlotable::getFitRangeBinW ( ) const
pure virtual

Implemented in RooHist, RooCurve, and RooEllipse.

Referenced by RooPlot::updateFitRangeNorm().

virtual Double_t RooPlotable::getFitRangeNEvt ( ) const
pure virtual
virtual Double_t RooPlotable::getFitRangeNEvt ( Double_t  xlo,
Double_t  xhi 
) const
pure virtual

Implemented in RooHist, RooCurve, and RooEllipse.

const char* RooPlotable::getYAxisLabel ( ) const
inline

Definition at line 31 of file RooPlotable.h.

Referenced by RooPlot::addPlotable(), and RooHist::RooHist().

Double_t RooPlotable::getYAxisMax ( ) const
inline
Double_t RooPlotable::getYAxisMin ( ) const
inline

Definition at line 41 of file RooPlotable.h.

Referenced by RooPlot::addPlotable(), and RooCurve::shiftCurveToZero().

void RooPlotable::printMultiline ( std::ostream &  os,
Int_t  contents,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const
virtual

Print detailed information.

Reimplemented from RooPrintable.

Reimplemented in RooHist, RooCurve, and RooEllipse.

Definition at line 42 of file RooPlotable.cxx.

Referenced by RooEllipse::printMultiline(), and RooHist::printMultiline().

void RooPlotable::setYAxisLabel ( const char *  label)
inline
void RooPlotable::setYAxisLimits ( Double_t  ymin,
Double_t  ymax 
)
inline

Definition at line 37 of file RooPlotable.h.

Referenced by RooCurve::shiftCurveToZero().

void RooPlotable::updateYAxisLimits ( Double_t  y)
inline

Member Data Documentation

Double_t RooPlotable::_normValue
protected

Definition at line 55 of file RooPlotable.h.

TString RooPlotable::_yAxisLabel
protected

Definition at line 54 of file RooPlotable.h.

Referenced by getYAxisLabel(), and setYAxisLabel().

Double_t RooPlotable::_ymax
protected

Definition at line 55 of file RooPlotable.h.

Referenced by getYAxisMax(), setYAxisLimits(), and updateYAxisLimits().

Double_t RooPlotable::_ymin
protected

Definition at line 55 of file RooPlotable.h.

Referenced by getYAxisMin(), setYAxisLimits(), and updateYAxisLimits().


The documentation for this class was generated from the following files: