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

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

Definition at line 80 of file THistDrawable.hxx.

Public Types

using HistImpl_t = Detail::THistImplPrecisionAgnosticBase< DIMENSIONS >
 

Public Member Functions

template<class HIST >
 THistDrawable (const std::shared_ptr< HIST > &hist, THistDrawOptions< DIMENSIONS > opts)
 
template<class HIST >
 THistDrawable (std::unique_ptr< HIST > &&hist, THistDrawOptions< DIMENSIONS > opts)
 
void Paint (TCanvas &canv) final
 Paint the histogram. More...
 
- Public Member Functions inherited from ROOT::Experimental::Internal::THistDrawableBase
 THistDrawableBase ()
 
 THistDrawableBase (THistDrawableBase &&)
 
virtual ~THistDrawableBase ()
 
TH1GetOldHist () const
 
THistDrawableBaseoperator= (THistDrawableBase &&)
 
- Public Member Functions inherited from ROOT::Experimental::Internal::TDrawable
virtual ~TDrawable ()
 

Private Member Functions

bool UpdateOldHist ()
 

Private Attributes

TUniWeakPtr< HistImpl_tfHistImpl
 
THistDrawOptions< DIMENSIONS > fOpts
 

Additional Inherited Members

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

#include <ROOT/THistDrawable.hxx>

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

Member Typedef Documentation

◆ HistImpl_t

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

Definition at line 82 of file THistDrawable.hxx.

Constructor & Destructor Documentation

◆ THistDrawable() [1/2]

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

Definition at line 91 of file THistDrawable.hxx.

◆ THistDrawable() [2/2]

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::Internal::THistDrawable< DIMENSIONS >::THistDrawable ( std::unique_ptr< HIST > &&  hist,
THistDrawOptions< DIMENSIONS >  opts 
)
inline

Definition at line 96 of file THistDrawable.hxx.

Member Function Documentation

◆ Paint()

template<int DIMENSIONS>
void ROOT::Experimental::Internal::THistDrawable< DIMENSIONS >::Paint ( TCanvas canv)
inlinefinalvirtual

Paint the histogram.

Implements ROOT::Experimental::Internal::TDrawable.

Definition at line 101 of file THistDrawable.hxx.

◆ UpdateOldHist()

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

Definition at line 51 of file THistDrawable.cxx.

Member Data Documentation

◆ fHistImpl

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

Definition at line 85 of file THistDrawable.hxx.

◆ fOpts

template<int DIMENSIONS>
THistDrawOptions<DIMENSIONS> ROOT::Experimental::Internal::THistDrawable< DIMENSIONS >::fOpts
private

Definition at line 86 of file THistDrawable.hxx.


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