Logo ROOT   6.12/07
Reference Guide
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Experimental::THistDrawable< DIMENSIONS > Class Template Referencefinal

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

Definition at line 89 of file THistDrawable.hxx.

Public Types

using HistImpl_t = Detail::THistImplPrecisionAgnosticBase< DIMENSIONS >
 

Public Member Functions

 THistDrawable ()
 
template<class HIST >
 THistDrawable (const std::shared_ptr< HIST > &hist, TPadBase &pad)
 
template<class HIST >
 THistDrawable (std::unique_ptr< HIST > &&hist, TPadBase &pad)
 
THistDrawingOpts< DIMENSIONS > & GetOptions ()
 
const THistDrawingOpts< DIMENSIONS > & GetOptions () const
 
void Paint (Internal::TVirtualCanvasPainter &canv) final
 Paint the histogram. More...
 
- Public Member Functions inherited from ROOT::Experimental::THistDrawableBase
 THistDrawableBase ()
 
 THistDrawableBase (THistDrawableBase &&)
 
virtual ~THistDrawableBase ()
 
void Execute (const std::string &) final
 
TH1GetOldHist () const
 
THistDrawableBaseoperator= (THistDrawableBase &&)
 
void PopulateMenu (TMenuItems &) final
 Method can be used to provide menu items for the drawn object. More...
 
- Public Member Functions inherited from ROOT::Experimental::TDrawable
virtual ~TDrawable ()
 

Private Member Functions

bool UpdateOldHist ()
 

Private Attributes

Internal::TUniWeakPtr< HistImpl_tfHistImpl
 
THistDrawingOpts< DIMENSIONS > fOpts
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Experimental::THistDrawableBase
std::unique_ptr< TH1fOldHist
 

#include <ROOT/THistDrawable.hxx>

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

Member Typedef Documentation

◆ HistImpl_t

template<int DIMENSIONS>
using ROOT::Experimental::THistDrawable< DIMENSIONS >::HistImpl_t = Detail::THistImplPrecisionAgnosticBase<DIMENSIONS>

Definition at line 91 of file THistDrawable.hxx.

Constructor & Destructor Documentation

◆ THistDrawable() [1/3]

template<int DIMENSIONS>
THistDrawable::THistDrawable ( )
default

◆ THistDrawable() [2/3]

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::THistDrawable< DIMENSIONS >::THistDrawable ( const std::shared_ptr< HIST > &  hist,
TPadBase pad 
)
inline

Definition at line 103 of file THistDrawable.hxx.

◆ THistDrawable() [3/3]

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::THistDrawable< DIMENSIONS >::THistDrawable ( std::unique_ptr< HIST > &&  hist,
TPadBase pad 
)
inline

Definition at line 108 of file THistDrawable.hxx.

Member Function Documentation

◆ GetOptions() [1/2]

template<int DIMENSIONS>
THistDrawingOpts<DIMENSIONS>& ROOT::Experimental::THistDrawable< DIMENSIONS >::GetOptions ( )
inline

Definition at line 115 of file THistDrawable.hxx.

◆ GetOptions() [2/2]

template<int DIMENSIONS>
const THistDrawingOpts<DIMENSIONS>& ROOT::Experimental::THistDrawable< DIMENSIONS >::GetOptions ( ) const
inline

Definition at line 116 of file THistDrawable.hxx.

◆ Paint()

template<int DIMENSIONS>
void THistDrawable::Paint ( Internal::TVirtualCanvasPainter canv)
finalvirtual

Paint the histogram.

Implements ROOT::Experimental::TDrawable.

Definition at line 156 of file THistDrawable.cxx.

◆ UpdateOldHist()

template<int DIMENSIONS>
bool THistDrawable::UpdateOldHist ( )
private

Definition at line 85 of file THistDrawable.cxx.

Member Data Documentation

◆ fHistImpl

template<int DIMENSIONS>
Internal::TUniWeakPtr<HistImpl_t> ROOT::Experimental::THistDrawable< DIMENSIONS >::fHistImpl
private

Definition at line 94 of file THistDrawable.hxx.

◆ fOpts

template<int DIMENSIONS>
THistDrawingOpts<DIMENSIONS> ROOT::Experimental::THistDrawable< DIMENSIONS >::fOpts
private

Definition at line 95 of file THistDrawable.hxx.

Libraries for ROOT::Experimental::THistDrawable< DIMENSIONS >:
[legend]

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