11#ifndef ROOT7_RTreeViewer 
   12#define ROOT7_RTreeViewer 
   31class RTreeDrawMonitoring;
 
   32class RTreeDrawInvokeTimer;
 
   96   std::unique_ptr<RTreeDrawInvokeTimer> 
fTimer; 
 
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
std::unique_ptr< RTreeDrawInvokeTimer > fTimer
! timer to invoke tree draw
 
void Show(const RWebDisplayArgs &args="", bool always_start_new_browser=false)
Show or update viewer in web window If web browser already started - just refresh drawing like "reloa...
 
void SendProgress(Double_t nevent=0.)
Send progress to the client.
 
void UpdateConfig()
Update RConfig data.
 
std::string FormatItemName(const std::string &name)
Format item name used in draw expression.
 
void InvokeTreeDraw()
Invoke tree drawing.
 
bool SuggestLeaf(const TLeaf *leaf)
Suggest to use leaf in the gui Normally just assign as last edited expression.
 
std::string fTitle
! title of tree viewer
 
void SetTree(TTree *tree)
assign new TTree to the viewer
 
std::string GetWindowAddr() const
Return address of web window used for tree viewer.
 
std::string GetWindowUrl(bool remote)
Return URL of web window used for tree viewer See ROOT::RWebWindow::GetUrl docu for more details.
 
std::string fLastSendProgress
! last send progress to client
 
PerformDrawCallback_t fCallback
! callback invoked when tree draw performed
 
void Update()
Update tree viewer in all web displays.
 
bool fShowHierarchy
! show TTree hierarchy
 
std::shared_ptr< ROOT::RWebWindow > fWebWindow
! web window
 
static RTreeViewer * NewViewer(TTree *)
Create new viewer Method used for plugin.
 
void SendCfg(unsigned connid)
Send data for initialize viewer.
 
bool SuggestExpression(const std::string &expr)
Suggest to use expression in the gui Normally just assign as last edited expression.
 
virtual ~RTreeViewer()
destructor
 
void WebWindowConnect(unsigned connid)
react on new connection
 
bool GetShowHierarchy() const
Returns default hierarchy browser visibility.
 
TTree * fTree
! TTree to show
 
void SetCallback(PerformDrawCallback_t func)
 
void AddBranches(TObjArray *branches)
Add branches to config.
 
void WebWindowCallback(unsigned connid, const std::string &arg)
receive data from client
 
RConfig fCfg
! configuration, exchanged between client and server
 
RTreeViewer(TTree *tree=nullptr)
constructor
 
void SetTitle(const std::string &title)
 
void SetShowHierarchy(bool on=true)
Configures default hierarchy browser visibility, only has effect before showing web window.
 
bool SuggestBranch(const TBranch *branch)
Suggest to use branch in the gui Normally just assign as last edited expression.
 
std::function< void(const std::string &)> PerformDrawCallback_t
 
const std::string & GetTitle() const
 
Holds different arguments for starting browser with RWebDisplayHandle::Display() method.
 
A TTree is a list of TBranches.
 
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
 
A TTree represents a columnar dataset.
 
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
 
RBranchInfo(const std::string &_name, const std::string &_title)
 
std::vector< RBranchInfo > fBranches