16 #ifndef ROOT7_THistDrawable 17 #define ROOT7_THistDrawable 29 namespace Experimental {
33 template <
int DIMENSIONS,
class PRECISION,
34 template <
int D_,
class P_,
template <
class P__>
class STORAGE>
class... STAT>
38 template <
int DIMENSIONS>
39 class THistImplPrecisionAgnosticBase;
46 template <
int DIMENSION>
88 template <
int DIMENSIONS>
102 template <
class HIST>
104 : fHistImpl(
std::shared_ptr<
HistImpl_t>(hist, hist->GetImpl())), fOpts(pad)
107 template <
class HIST>
109 : fHistImpl(
std::unique_ptr<
HistImpl_t>(
std::move(hist->TakeImpl()))), fOpts(pad)
Base class for drawable entities: objects that can be painted on a TPad.
Namespace for new ROOT classes and functions.
Internal::TUniWeakPtr< HistImpl_t > fHistImpl
void LoadHistPainterLibrary()
Base class for graphic containers for TDrawable-s.
void Execute(const std::string &) final
const THistDrawingOpts< DIMENSIONS > & GetOptions() const
THistDrawingOpts< DIMENSIONS > fOpts
Abstract interface for painting a canvas.
THistDrawable(const std::shared_ptr< HIST > &hist, TPadBase &pad)
THistDrawable(std::unique_ptr< HIST > &&hist, TPadBase &pad)
std::unique_ptr< TH1 > fOldHist
Base class for THistImplBase that abstracts out the histogram's PRECISION.
Binding & operator=(OUT(*fun)(void))
THistDrawingOpts< DIMENSIONS > & GetOptions()