Logo ROOT  
Reference Guide
ROOT::Experimental::RHistStatBox< DIMENSIONS > Class Template Reference

template<int DIMENSIONS>
class ROOT::Experimental::RHistStatBox< DIMENSIONS >

Template class for statistic box for RHist class.

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

Public Types

using HistImpl_t = Detail::RHistImplPrecisionAgnosticBase< DIMENSIONS >
 
- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
 

Public Member Functions

template<class HIST >
 RHistStatBox (const std::shared_ptr< HIST > &hist, const std::string &title="")
 
std::shared_ptr< HistImpl_tGetHist () const
 
- Public Member Functions inherited from ROOT::Experimental::RHistStatBoxBase
 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 Member Functions

void CollectShared (Internal::RIOSharedVector_t &vect) override
 
- Protected Member Functions inherited from ROOT::Experimental::RHistStatBoxBase
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

Internal::RIOShared< HistImpl_tfHistImpl
 I/O capable reference on histogram. More...
 

Additional Inherited Members

- Protected Types inherited from ROOT::Experimental::RHistStatBoxBase
enum  EShowBits {
  kShowTitle = 0x1 , kShowEntries = 0x2 , kShowMean = 0x4 , kShowDev = 0x8 ,
  kShowRange = 0x10
}
 

#include <ROOT/RHistStatBox.hxx>

Inheritance diagram for ROOT::Experimental::RHistStatBox< DIMENSIONS >:
[legend]

Member Typedef Documentation

◆ HistImpl_t

template<int DIMENSIONS>
using ROOT::Experimental::RHistStatBox< DIMENSIONS >::HistImpl_t = Detail::RHistImplPrecisionAgnosticBase<DIMENSIONS>

Definition at line 215 of file RHistStatBox.hxx.

Constructor & Destructor Documentation

◆ RHistStatBox()

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::RHistStatBox< DIMENSIONS >::RHistStatBox ( const std::shared_ptr< HIST > &  hist,
const std::string &  title = "" 
)
inline

Definition at line 227 of file RHistStatBox.hxx.

Member Function Documentation

◆ CollectShared()

template<int DIMENSIONS>
void ROOT::Experimental::RHistStatBox< DIMENSIONS >::CollectShared ( Internal::RIOSharedVector_t vect)
inlineoverrideprotectedvirtual

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 222 of file RHistStatBox.hxx.

◆ GetHist()

template<int DIMENSIONS>
std::shared_ptr< HistImpl_t > ROOT::Experimental::RHistStatBox< DIMENSIONS >::GetHist ( ) const
inline

Definition at line 233 of file RHistStatBox.hxx.

Member Data Documentation

◆ fHistImpl

template<int DIMENSIONS>
Internal::RIOShared<HistImpl_t> ROOT::Experimental::RHistStatBox< DIMENSIONS >::fHistImpl
private

I/O capable reference on histogram.

Definition at line 218 of file RHistStatBox.hxx.


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