Logo ROOT  
Reference Guide
No Matches
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)
- 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.
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.
void SetStyle (RStyle *style)

Private Attributes

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

Additional Inherited Members

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

#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: