Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TLeafDraw7Provider Class Reference

Provider for drawing of ROOT7 classes.

Definition at line 18 of file TLeafDraw7Provider.cxx.

Public Member Functions

 TLeafDraw7Provider ()
 
bool AddHist (std::shared_ptr< RPadBase > &subpad, TH1 *hist, const std::string &opt)
 
- Public Member Functions inherited from TLeafProvider
TH1DrawBranch (std::unique_ptr< RHolder > &obj)
 
TH1DrawBranchBrowsable (std::unique_ptr< RHolder > &obj)
 
TH1DrawBranchElement (std::unique_ptr< RHolder > &obj)
 
TH1DrawLeaf (std::unique_ptr< RHolder > &obj)
 
TH1DrawTree (TTree *ttree, const std::string &expr, const std::string &hname)
 
- Public Member Functions inherited from ROOT::Experimental::Browsable::RProvider
virtual ~RProvider ()
 Automatically unregister provider from all maps.
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::Browsable::RProvider
static std::shared_ptr< RElementBrowse (std::unique_ptr< RHolder > &obj)
 Create browsable element for the object Created element may take ownership over the object.
 
static std::shared_ptr< RElementBrowseNTuple (const std::string &tuplename, const std::string &filename)
 Start browsing of RNTuple.
 
static bool CanDraw6 (const ClassArg &)
 Return true if provided class can be drawn on the TCanvas.
 
static bool CanDraw7 (const ClassArg &)
 Return true if provided class can be drawn on the RCanvas.
 
static bool CanHaveChilds (const ClassArg &)
 Return true if provided class can have childs.
 
static bool Draw6 (TVirtualPad *subpad, std::unique_ptr< RHolder > &obj, const std::string &opt="")
 Invoke drawing of object on TCanvas sub-pad All existing providers are checked, first checked are class matches (including direct parents)
 
static bool Draw7 (std::shared_ptr< ROOT::Experimental::RPadBase > &subpad, std::unique_ptr< RHolder > &obj, const std::string &opt="")
 Invoke drawing of object on RCanvas sub-pad All existing providers are checked, first checked are class matches (including direct parents)
 
static std::string GetClassIcon (const ClassArg &, bool=false)
 Return icon name for the given class - either class name or TClass *.
 
static bool IsFileFormatSupported (const std::string &extension)
 
static std::shared_ptr< RElementOpenFile (const std::string &extension, const std::string &fullname)
 
- Protected Types inherited from ROOT::Experimental::Browsable::RProvider
using BrowseFunc_t = std::function< std::shared_ptr< RElement >(std::unique_ptr< RHolder > &)>
 
using BrowseNTupleFunc_t = std::function< std::shared_ptr< RElement >(const std::string &, const std::string &)>
 
using Draw6Func_t = std::function< bool(TVirtualPad *, std::unique_ptr< RHolder > &, const std::string &)>
 
using Draw7Func_t = std::function< bool(std::shared_ptr< ROOT::Experimental::RPadBase > &, std::unique_ptr< RHolder > &, const std::string &)>
 
using FileFunc_t = std::function< std::shared_ptr< RElement >(const std::string &)>
 
- Protected Member Functions inherited from ROOT::Experimental::Browsable::RProvider
void RegisterBrowse (const TClass *cl, BrowseFunc_t func)
 
void RegisterClass (const std::string &clname, const std::string &iconname, const std::string &browselib="", const std::string &draw6lib="", const std::string &draw7lib="")
 
void RegisterDraw6 (const TClass *cl, Draw6Func_t func)
 
void RegisterDraw7 (const TClass *cl, Draw7Func_t func)
 
void RegisterFile (const std::string &extension, FileFunc_t func)
 
void RegisterNTupleFunc (BrowseNTupleFunc_t func)
 
Inheritance diagram for TLeafDraw7Provider:
[legend]

Constructor & Destructor Documentation

◆ TLeafDraw7Provider()

TLeafDraw7Provider::TLeafDraw7Provider ( )
inline

Definition at line 39 of file TLeafDraw7Provider.cxx.

Member Function Documentation

◆ AddHist()

bool TLeafDraw7Provider::AddHist ( std::shared_ptr< RPadBase > &  subpad,
TH1 hist,
const std::string &  opt 
)
inline

Definition at line 20 of file TLeafDraw7Provider.cxx.

  • gui/browsable/src/TLeafDraw7Provider.cxx