Logo ROOT  
Reference Guide
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 (const std::string &csstype="pave")
RAttrLineAttrBorder ()
RAttrFillAttrFill ()
RAttrTextAttrText ()
const RAttrLineGetAttrBorder () const
const RAttrFillGetAttrFill () const
const RAttrTextGetAttrText () const
RPadLength GetCornerX () const
RPadLength GetCornerY () const
RPadLength GetHeight () const
RPadLength GetWidth () const
RPaveSetAttrBorder (const RAttrLine &border)
RPaveSetAttrFill (const RAttrFill &fill)
RPaveSetAttrText (const RAttrText &attr)
RPaveSetCornerX (const RPadLength &pos)
RPaveSetCornerY (const RPadLength &pos)
RPaveSetHeight (const RPadLength &height)
RPaveSetWidth (const RPadLength &width)
- Public Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const std::string &type)
virtual ~RDrawable ()
void ClearStyle ()
const std::string & GetCssClass () const
const std::string & 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. More...
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::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. More...
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
RDrawableoperator= (const RDrawable &)=delete
virtual void PopulateMenu (RMenuItems &)
virtual void SetDrawableVersion (Version_t vers)

Private Attributes

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

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t

#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.

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