Logo ROOT  
Reference Guide
No Matches
ROOT::Experimental::RHistStatBoxBase Class Reference

Base class for histogram statistic box, provides graphics attributes and virtual method for fill statistic.

Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 58 of file RHistStatBox.hxx.


class  RReply
class  RRequest

Public Member Functions

 RHistStatBoxBase ()
const std::string & GetTitle () const
void SetTitle (const std::string &title)
- Public Member Functions inherited from ROOT::Experimental::RPave
 RPave ()
- Public Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const char *csstype)
virtual ~RDrawable ()
void ClearStyle ()
const std::string & GetCssClass () const
const char * GetCssType () const
const std::string & GetId () const
void SetCssClass (const std::string &cl)
void SetId (const std::string &id)
virtual void UseStyle (const std::shared_ptr< RStyle > &style)

Protected Types

enum  EShowBits {
  kShowTitle = 0x1 , kShowEntries = 0x2 , kShowMean = 0x4 , kShowDev = 0x8 ,
  kShowRange = 0x10

Protected Member Functions

std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &) override
 Creates display item for drawable By default item contains drawable data itself.
virtual void FillStatistic (unsigned, const RFrame::RUserRanges &, std::vector< std::string > &) const
virtual const std::vector< std::string > & GetEntriesNames () const
- Protected Member Functions inherited from ROOT::Experimental::RPave
 RPave (const char *csstype)
- Protected Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const RDrawable &)=delete
virtual void CollectShared (Internal::RIOSharedVector_t &)
virtual void Execute (const std::string &)
RAttrMapGetAttrMap ()
const RAttrMapGetAttrMap () const
Version_t GetVersion () const
virtual bool IsFrameRequired () const
bool MatchSelector (const std::string &selector) const
 Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method.
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
RDrawableoperator= (const RDrawable &)=delete
virtual void PopulateMenu (RMenuItems &)
void SetCssType (const char *csstype)
virtual void SetDrawableVersion (Version_t vers)

Private Attributes

unsigned fShowMask {0xff}
 show stat box lines
std::string fTitle
 stat box title

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RPave
enum  ECorner { kTopLeft = 1 , kTopRight = 2 , kBottomLeft = 3 , kBottomRight = 4 }
- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
- Public Attributes inherited from ROOT::Experimental::RPave
RAttrBorder border {this, "border"}
 ! border attributes
RAttrValue< ECornercorner {this, "corner", kTopRight}
 ! frame/pad corner to which pave is bound
RAttrFill fill {this, "fill"}
 ! fill attributes
RAttrValue< RPadLengthheight {this, "height", 0.2}
 ! pave height
RAttrValue< RPadLengthoffsetX {this, "offsetX", 0.02}
 ! offset X relative to selected frame or pad corner
RAttrValue< RPadLengthoffsetY {this, "offsetY", 0.02}
 ! offset Y relative to selected frame or pad corner
RAttrValue< boolonFrame {this, "onFrame", true}
 ! is pave assigned to frame (true) or to pad corner (false)
RAttrText text {this, "text"}
 ! text attributes
RAttrValue< RPadLengthwidth {this, "width", 0.4}
 ! pave width

#include <ROOT/RHistStatBox.hxx>

Inheritance diagram for ROOT::Experimental::RHistStatBoxBase:

Member Enumeration Documentation

◆ EShowBits


Definition at line 65 of file RHistStatBox.hxx.

Constructor & Destructor Documentation

◆ RHistStatBoxBase()

ROOT::Experimental::RHistStatBoxBase::RHistStatBoxBase ( )

Definition at line 114 of file RHistStatBox.hxx.

Member Function Documentation

◆ Display()

std::unique_ptr< RDisplayItem > RHistStatBoxBase::Display ( const RDisplayContext ctxt)

Creates display item for drawable By default item contains drawable data itself.

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 22 of file RHistStatBox.cxx.

◆ FillStatistic()

virtual void ROOT::Experimental::RHistStatBoxBase::FillStatistic ( unsigned  ,
const RFrame::RUserRanges ,
std::vector< std::string > &   
) const

◆ GetEntriesNames()

const std::vector< std::string > & RHistStatBoxBase::GetEntriesNames ( ) const

Definition at line 16 of file RHistStatBox.cxx.

◆ GetTitle()

const std::string & ROOT::Experimental::RHistStatBoxBase::GetTitle ( ) const

Definition at line 117 of file RHistStatBox.hxx.

◆ SetTitle()

void ROOT::Experimental::RHistStatBoxBase::SetTitle ( const std::string &  title)

Definition at line 116 of file RHistStatBox.hxx.

Member Data Documentation

◆ fShowMask

unsigned ROOT::Experimental::RHistStatBoxBase::fShowMask {0xff}

show stat box lines

Definition at line 61 of file RHistStatBox.hxx.

◆ fTitle

std::string ROOT::Experimental::RHistStatBoxBase::fTitle

stat box title

Definition at line 60 of file RHistStatBox.hxx.

Libraries for ROOT::Experimental::RHistStatBoxBase:

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