Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RHist1Drawable Class Referencefinal

Definition at line 126 of file RHistDrawable.hxx.

Public Member Functions

 RHist1Drawable ()=default
 
template<class HIST >
 RHist1Drawable (const std::shared_ptr< HIST > &hist)
 
RHist1DrawableBar ()
 
RHist1DrawableBar (double _offset, double _width, bool mode3d=false)
 
RHist1DrawableError (int kind=0)
 
RHist1DrawableHist ()
 
bool IsBar () const
 
bool IsError () const
 
bool IsHist () const
 
bool IsLego () const
 
bool IsLine () const
 
bool IsMarker () const
 
bool IsText () const
 
RHist1DrawableLego (int kind=0)
 
RHist1DrawableLine ()
 
RHist1DrawableMarker ()
 
RHist1DrawableStar ()
 
RHist1DrawableText ()
 
- Public Member Functions inherited from ROOT::Experimental::RHistDrawable< 1 >
 RHistDrawable ()=default
 
 RHistDrawable (const std::shared_ptr< HIST > &hist)
 
 ~RHistDrawable () override=default
 
std::shared_ptr< HistImpl_tGetHist () const
 
- Public Member Functions inherited from ROOT::Experimental::RHistDrawableBase
 RHistDrawableBase ()
 
- 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)
 

Public Attributes

RAttrValue< doublebaroffset {this, "baroffset", 0.}
 ! bar offset
 
RAttrValue< doublebarwidth {this, "barwidth", 1.}
 ! bar width
 
RAttrValue< booldrawtext {this, "drawtext", false}
 ! draw text
 
RAttrValue< boolsecondx {this, "secondx", false}
 ! is draw second x axis for histogram
 
RAttrValue< boolsecondy {this, "secondy", false}
 ! is draw second y axis for histogram
 
- Public Attributes inherited from ROOT::Experimental::RHistDrawableBase
RAttrFill fill {this, "fill"}
 ! hist fill attributes
 
RAttrLine line {this, "line"}
 ! hist line attributes
 
RAttrMarker marker {this, "marker"}
 ! hist marker attributes
 
RAttrValue< booloptimize {this, "optimize", false}
 ! optimize drawing
 
RAttrText text {this, "text"}
 ! hist text attributes
 

Protected Member Functions

std::unique_ptr< RDisplayItemCreateHistDisplay (const RDisplayContext &) override
 
bool Is3D () const final
 
- Protected Member Functions inherited from ROOT::Experimental::RHistDrawable< 1 >
void CollectShared (Internal::RIOSharedVector_t &vect) override
 
- Protected Member Functions inherited from ROOT::Experimental::RHistDrawableBase
std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &ctxt) override
 Creates display item for drawable By default item contains drawable data itself.
 
std::string GetDrawKind () const
 
bool IsFrameRequired () const final
 
void PopulateMenu (RMenuItems &) override
 
void SetDrawKind (const std::string &kind, int sub=-1)
 
- Protected Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const RDrawable &)=delete
 
virtual void Execute (const std::string &)
 
RAttrMapGetAttrMap ()
 
const RAttrMapGetAttrMap () const
 
Version_t GetVersion () 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
 
void SetCssType (const char *csstype)
 
virtual void SetDrawableVersion (Version_t vers)
 

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RHistDrawable< 1 >
using HistImpl_t = Detail::RHistImplPrecisionAgnosticBase< DIMENSIONS >
 
- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
 
- Protected Attributes inherited from ROOT::Experimental::RHistDrawable< 1 >
Internal::RIOShared< HistImpl_tfHistImpl
 I/O capable reference on histogram.
 

#include <ROOT/RHistDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RHist1Drawable:
[legend]

Constructor & Destructor Documentation

◆ RHist1Drawable() [1/2]

ROOT::Experimental::RHist1Drawable::RHist1Drawable ( )
default

◆ RHist1Drawable() [2/2]

template<class HIST >
ROOT::Experimental::RHist1Drawable::RHist1Drawable ( const std::shared_ptr< HIST > &  hist)
inline

Definition at line 142 of file RHistDrawable.hxx.

Member Function Documentation

◆ Bar() [1/2]

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Bar ( )
inline

Definition at line 144 of file RHistDrawable.hxx.

◆ Bar() [2/2]

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Bar ( double  _offset,
double  _width,
bool  mode3d = false 
)
inline

Definition at line 145 of file RHistDrawable.hxx.

◆ CreateHistDisplay()

std::unique_ptr< RDisplayItem > RHist1Drawable::CreateHistDisplay ( const RDisplayContext ctxt)
overrideprotectedvirtual

Implements ROOT::Experimental::RHistDrawableBase.

Definition at line 28 of file RHistDrawable.cxx.

◆ Error()

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Error ( int  kind = 0)
inline

Definition at line 146 of file RHistDrawable.hxx.

◆ Hist()

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Hist ( )
inline

Definition at line 149 of file RHistDrawable.hxx.

◆ Is3D()

bool ROOT::Experimental::RHist1Drawable::Is3D ( ) const
inlinefinalprotectedvirtual

Reimplemented from ROOT::Experimental::RHistDrawableBase.

Definition at line 130 of file RHistDrawable.hxx.

◆ IsBar()

bool ROOT::Experimental::RHist1Drawable::IsBar ( ) const
inline

Definition at line 154 of file RHistDrawable.hxx.

◆ IsError()

bool ROOT::Experimental::RHist1Drawable::IsError ( ) const
inline

Definition at line 155 of file RHistDrawable.hxx.

◆ IsHist()

bool ROOT::Experimental::RHist1Drawable::IsHist ( ) const
inline

Definition at line 157 of file RHistDrawable.hxx.

◆ IsLego()

bool ROOT::Experimental::RHist1Drawable::IsLego ( ) const
inline

Definition at line 159 of file RHistDrawable.hxx.

◆ IsLine()

bool ROOT::Experimental::RHist1Drawable::IsLine ( ) const
inline

Definition at line 158 of file RHistDrawable.hxx.

◆ IsMarker()

bool ROOT::Experimental::RHist1Drawable::IsMarker ( ) const
inline

Definition at line 156 of file RHistDrawable.hxx.

◆ IsText()

bool ROOT::Experimental::RHist1Drawable::IsText ( ) const
inline

Definition at line 160 of file RHistDrawable.hxx.

◆ Lego()

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Lego ( int  kind = 0)
inline

Definition at line 151 of file RHistDrawable.hxx.

◆ Line()

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Line ( )
inline

Definition at line 150 of file RHistDrawable.hxx.

◆ Marker()

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Marker ( )
inline

Definition at line 147 of file RHistDrawable.hxx.

◆ Star()

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Star ( )
inline

Definition at line 148 of file RHistDrawable.hxx.

◆ Text()

RHist1Drawable & ROOT::Experimental::RHist1Drawable::Text ( )
inline

Definition at line 152 of file RHistDrawable.hxx.

Member Data Documentation

◆ baroffset

RAttrValue<double> ROOT::Experimental::RHist1Drawable::baroffset {this, "baroffset", 0.}

! bar offset

Definition at line 136 of file RHistDrawable.hxx.

◆ barwidth

RAttrValue<double> ROOT::Experimental::RHist1Drawable::barwidth {this, "barwidth", 1.}

! bar width

Definition at line 137 of file RHistDrawable.hxx.

◆ drawtext

RAttrValue<bool> ROOT::Experimental::RHist1Drawable::drawtext {this, "drawtext", false}

! draw text

Definition at line 133 of file RHistDrawable.hxx.

◆ secondx

RAttrValue<bool> ROOT::Experimental::RHist1Drawable::secondx {this, "secondx", false}

! is draw second x axis for histogram

Definition at line 134 of file RHistDrawable.hxx.

◆ secondy

RAttrValue<bool> ROOT::Experimental::RHist1Drawable::secondy {this, "secondy", false}

! is draw second y axis for histogram

Definition at line 135 of file RHistDrawable.hxx.

Libraries for ROOT::Experimental::RHist1Drawable:

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