Logo ROOT  
Reference Guide
ROOT::Experimental::RHistDisplayItem Class Reference

Definition at line 28 of file RHistDisplayItem.hxx.

Public Member Functions

 RHistDisplayItem ()=default
 RHistDisplayItem (const RDrawable &dr)
void AddAxis (const RAxisBase *axis, int left=-1, int right=-1, int step=1)
auto & GetBinContent ()
void SetContentMinMax (double min, double minpos, double max)
- Public Member Functions inherited from ROOT::Experimental::RIndirectDisplayItem
 RIndirectDisplayItem ()=default
 RIndirectDisplayItem (const RDrawable &dr)
 Constructor. More...
- Public Member Functions inherited from ROOT::Experimental::RDisplayItem
 RDisplayItem ()=default
 RDisplayItem (bool dummy)
virtual ~RDisplayItem ()
virtual void BuildFullId (const std::string &prefix)
 Build full id, including prefix and object index. More...
unsigned GetIndex () const
std::string GetObjectID () const
void SetIndex (unsigned indx)
void SetObjectID (const std::string &id)
void SetObjectIDAsPtr (const void *ptr)
 Assign id using arbitrary pointer value Typically drawable pointer should be used here. More...
void SetStyle (RStyle *style)

Private Attributes

std::vector< const RAxisBase * > fAxes
 histogram axes, only temporary pointers More...
std::vector< doublefBinContent
 extracted bins values More...
double fContMax {0.}
 maximum content value More...
double fContMin {0.}
 minimum content value More...
double fContMinPos {0.}
 minimum positive value More...
std::vector< intfIndicies
 [left,right,step] for each axes More...

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem
static std::string ObjectIDFromPtr (const void *ptr)
 Construct fillid using pointer value. More...
- Protected Attributes inherited from ROOT::Experimental::RIndirectDisplayItem
const RAttrMapfAttr {nullptr}
 pointer on drawable attributes More...
const std::string * fCssClass {nullptr}
 pointer on drawable class More...
const std::string * fId {nullptr}
 pointer on drawable id More...
- Protected Attributes inherited from ROOT::Experimental::RDisplayItem
bool fDummy {false}
 if true, just placeholder for drawable which does not changed More...
unsigned fIndex {0}
 ! index inside current pad, used to produce fully-qualified id, not send to client More...
std::string fObjectID
 unique object identifier More...
RStylefStyle {nullptr}
 style object More...

#include <ROOT/RHistDisplayItem.hxx>

Inheritance diagram for ROOT::Experimental::RHistDisplayItem:

Constructor & Destructor Documentation

◆ RHistDisplayItem() [1/2]

ROOT::Experimental::RHistDisplayItem::RHistDisplayItem ( )

◆ RHistDisplayItem() [2/2]

RHistDisplayItem::RHistDisplayItem ( const RDrawable dr)

Definition at line 20 of file RHistDisplayItem.cxx.

Member Function Documentation

◆ AddAxis()

void ROOT::Experimental::RHistDisplayItem::AddAxis ( const RAxisBase axis,
int  left = -1,
int  right = -1,
int  step = 1 

Definition at line 41 of file RHistDisplayItem.hxx.

◆ GetBinContent()

auto & ROOT::Experimental::RHistDisplayItem::GetBinContent ( )

Definition at line 49 of file RHistDisplayItem.hxx.

◆ SetContentMinMax()

void ROOT::Experimental::RHistDisplayItem::SetContentMinMax ( double  min,
double  minpos,
double  max 

Definition at line 51 of file RHistDisplayItem.hxx.

Member Data Documentation

◆ fAxes

std::vector<const RAxisBase *> ROOT::Experimental::RHistDisplayItem::fAxes

histogram axes, only temporary pointers

Definition at line 29 of file RHistDisplayItem.hxx.

◆ fBinContent

std::vector<double> ROOT::Experimental::RHistDisplayItem::fBinContent

extracted bins values

Definition at line 31 of file RHistDisplayItem.hxx.

◆ fContMax

double ROOT::Experimental::RHistDisplayItem::fContMax {0.}

maximum content value

Definition at line 34 of file RHistDisplayItem.hxx.

◆ fContMin

double ROOT::Experimental::RHistDisplayItem::fContMin {0.}

minimum content value

Definition at line 32 of file RHistDisplayItem.hxx.

◆ fContMinPos

double ROOT::Experimental::RHistDisplayItem::fContMinPos {0.}

minimum positive value

Definition at line 33 of file RHistDisplayItem.hxx.

◆ fIndicies

std::vector<int> ROOT::Experimental::RHistDisplayItem::fIndicies

[left,right,step] for each axes

Definition at line 30 of file RHistDisplayItem.hxx.

Libraries for ROOT::Experimental::RHistDisplayItem:

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