Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 58 of file RHistStatBox.hxx.

Classes

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.
 
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.
 
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
 
std::string fTitle
 stat box title
 

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 65 of file RHistStatBox.hxx.

Constructor & Destructor Documentation

◆ RHistStatBoxBase()

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

Definition at line 114 of file RHistStatBox.hxx.

Member Function Documentation

◆ 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

◆ GetEntriesNames()

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

Definition at line 16 of file RHistStatBox.cxx.

◆ GetTitle()

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

Definition at line 117 of file RHistStatBox.hxx.

◆ SetTitle()

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

Definition at line 116 of file RHistStatBox.hxx.

Member Data Documentation

◆ fShowMask

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

show stat box lines

Definition at line 61 of file RHistStatBox.hxx.

◆ fTitle

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

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: