18 bool AddHist(std::shared_ptr<ROOT::Experimental::RPadBase> &subpad,
TH1 *hist,
const std::string &opt)
23 std::shared_ptr<TH1> shared;
27 subpad->GetCanvas()->Update(
true);
33 RegisterDraw7(
TLeaf::Class(), [
this](std::shared_ptr<ROOT::Experimental::RPadBase> &subpad, std::unique_ptr<RHolder> &obj,
const std::string &opt) ->
bool {
41 RegisterDraw7(
TBranch::Class(), [
this](std::shared_ptr<ROOT::Experimental::RPadBase> &subpad, std::unique_ptr<RHolder> &obj,
const std::string &opt) ->
bool {
TLeafDraw7Provider newTLeafDraw7Provider
void RegisterDraw7(const TClass *cl, Draw7Func_t func)
Provides v7 drawing facilities for TObject types (TGraph, TH1, TH2, etc).
TH1 is the base class of all histogram classes in ROOT.
Provider for drawing TLeaf/TBranch in ROOT7 canvas.
bool AddHist(std::shared_ptr< ROOT::Experimental::RPadBase > &subpad, TH1 *hist, const std::string &opt)
Provider for drawing of branches / leafs in the TTree.
TH1 * DrawBranch(const TBranch *tbranch)
TH1 * DrawBranchBrowsable(std::unique_ptr< RHolder > &obj)
TH1 * DrawBranchElement(std::unique_ptr< RHolder > &obj)
TH1 * DrawLeaf(std::unique_ptr< RHolder > &obj)