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

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

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

Definition at line 70 of file RHistStatBox.hxx.

Classes

class  RHistStatBoxAttrs
 
class  RReply
 
class  RRequest
 

Public Member Functions

 RHistStatBoxBase ()
 
RAttrLineAttrBorder ()
 
RAttrFillAttrFill ()
 
RAttrTextAttrText ()
 
const RAttrLineGetAttrBorder () const
 
const RAttrFillGetAttrFill () const
 
const RAttrTextGetAttrText () const
 
RPadLength GetCornerX () const
 
RPadLength GetCornerY () const
 
RPadLength GetHeight () const
 
const std::string & GetTitle () const
 
RPadLength GetWidth () const
 
RHistStatBoxBaseSetAttrBorder (const RAttrLine &border)
 
RHistStatBoxBaseSetAttrFill (const RAttrFill &fill)
 
RHistStatBoxBaseSetAttrText (const RAttrText &attr)
 
RHistStatBoxBaseSetCornerX (const RPadLength &pos)
 
RHistStatBoxBaseSetCornerY (const RPadLength &pos)
 
RHistStatBoxBaseSetHeight (const RPadLength &height)
 
void SetTitle (const std::string &title)
 
RHistStatBoxBaseSetWidth (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
 
bool IsFrameRequired () const final
 
- Protected Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const RDrawable &)=delete
 
virtual void CollectShared (Internal::RIOSharedVector_t &)
 
virtual std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &)
 Creates display item for drawable By default item contains drawable data itself. More...
 
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...
 
RDrawableoperator= (const RDrawable &)=delete
 
virtual void PopulateMenu (RMenuItems &)
 
virtual void SetDrawableVersion (Version_t vers)
 

Private Attributes

RHistStatBoxAttrs fAttr {this, ""}
 ! stat box direct attributes More...
 
RAttrLine fAttrBorder {this, "border_"}
 ! border attributes More...
 
RAttrFill fAttrFill {this, "fill_"}
 ! line attributes More...
 
RAttrText fAttrText {this, "text_"}
 ! text attributes More...
 
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:
[legend]

Member Enumeration Documentation

◆ EShowBits

Enumerator
kShowTitle 
kShowEntries 
kShowMean 
kShowDev 
kShowRange 

Definition at line 87 of file RHistStatBox.hxx.

Constructor & Destructor Documentation

◆ RHistStatBoxBase()

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

Definition at line 139 of file RHistStatBox.hxx.

Member Function Documentation

◆ AttrBorder()

RAttrLine & ROOT::Experimental::RHistStatBoxBase::AttrBorder ( )
inline

Definition at line 194 of file RHistStatBox.hxx.

◆ AttrFill()

RAttrFill & ROOT::Experimental::RHistStatBoxBase::AttrFill ( )
inline

Definition at line 198 of file RHistStatBox.hxx.

◆ AttrText()

RAttrText & ROOT::Experimental::RHistStatBoxBase::AttrText ( )
inline

Definition at line 190 of file RHistStatBox.hxx.

◆ Display()

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

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
inlineprotectedvirtual

◆ GetAttrBorder()

const RAttrLine & ROOT::Experimental::RHistStatBoxBase::GetAttrBorder ( ) const
inline

Definition at line 192 of file RHistStatBox.hxx.

◆ GetAttrFill()

const RAttrFill & ROOT::Experimental::RHistStatBoxBase::GetAttrFill ( ) const
inline

Definition at line 196 of file RHistStatBox.hxx.

◆ GetAttrText()

const RAttrText & ROOT::Experimental::RHistStatBoxBase::GetAttrText ( ) const
inline

Definition at line 188 of file RHistStatBox.hxx.

◆ GetCornerX()

RPadLength ROOT::Experimental::RHistStatBoxBase::GetCornerX ( ) const
inline

Definition at line 150 of file RHistStatBox.hxx.

◆ GetCornerY()

RPadLength ROOT::Experimental::RHistStatBoxBase::GetCornerY ( ) const
inline

Definition at line 161 of file RHistStatBox.hxx.

◆ GetEntriesNames()

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

Definition at line 16 of file RHistStatBox.cxx.

◆ GetHeight()

RPadLength ROOT::Experimental::RHistStatBoxBase::GetHeight ( ) const
inline

Definition at line 183 of file RHistStatBox.hxx.

◆ GetTitle()

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

Definition at line 142 of file RHistStatBox.hxx.

◆ GetWidth()

RPadLength ROOT::Experimental::RHistStatBoxBase::GetWidth ( ) const
inline

Definition at line 172 of file RHistStatBox.hxx.

◆ IsFrameRequired()

bool ROOT::Experimental::RHistStatBoxBase::IsFrameRequired ( ) const
inlinefinalprotectedvirtual

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 89 of file RHistStatBox.hxx.

◆ SetAttrBorder()

RHistStatBoxBase & ROOT::Experimental::RHistStatBoxBase::SetAttrBorder ( const RAttrLine border)
inline

Definition at line 193 of file RHistStatBox.hxx.

◆ SetAttrFill()

RHistStatBoxBase & ROOT::Experimental::RHistStatBoxBase::SetAttrFill ( const RAttrFill fill)
inline

Definition at line 197 of file RHistStatBox.hxx.

◆ SetAttrText()

RHistStatBoxBase & ROOT::Experimental::RHistStatBoxBase::SetAttrText ( const RAttrText attr)
inline

Definition at line 189 of file RHistStatBox.hxx.

◆ SetCornerX()

RHistStatBoxBase & ROOT::Experimental::RHistStatBoxBase::SetCornerX ( const RPadLength pos)
inline

Definition at line 144 of file RHistStatBox.hxx.

◆ SetCornerY()

RHistStatBoxBase & ROOT::Experimental::RHistStatBoxBase::SetCornerY ( const RPadLength pos)
inline

Definition at line 155 of file RHistStatBox.hxx.

◆ SetHeight()

RHistStatBoxBase & ROOT::Experimental::RHistStatBoxBase::SetHeight ( const RPadLength height)
inline

Definition at line 177 of file RHistStatBox.hxx.

◆ SetTitle()

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

Definition at line 141 of file RHistStatBox.hxx.

◆ SetWidth()

RHistStatBoxBase & ROOT::Experimental::RHistStatBoxBase::SetWidth ( const RPadLength width)
inline

Definition at line 166 of file RHistStatBox.hxx.

Member Data Documentation

◆ fAttr

RHistStatBoxAttrs ROOT::Experimental::RHistStatBoxBase::fAttr {this, ""}
private

! stat box direct attributes

Definition at line 83 of file RHistStatBox.hxx.

◆ fAttrBorder

RAttrLine ROOT::Experimental::RHistStatBoxBase::fAttrBorder {this, "border_"}
private

! border attributes

Definition at line 81 of file RHistStatBox.hxx.

◆ fAttrFill

RAttrFill ROOT::Experimental::RHistStatBoxBase::fAttrFill {this, "fill_"}
private

! line attributes

Definition at line 82 of file RHistStatBox.hxx.

◆ fAttrText

RAttrText ROOT::Experimental::RHistStatBoxBase::fAttrText {this, "text_"}
private

! text attributes

Definition at line 80 of file RHistStatBox.hxx.

◆ fShowMask

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

show stat box lines

Definition at line 78 of file RHistStatBox.hxx.

◆ fTitle

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

stat box title

Definition at line 77 of file RHistStatBox.hxx.

Libraries for ROOT::Experimental::RHistStatBoxBase:
[legend]

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