ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Abstract class for a tab composed of a single TCanvas. More...
#include <AtTabCanvas.h>
Public Member Functions | |
AtTabCanvas (TString name, Int_t rows=1, Int_t cols=1) | |
![]() | |
AtTabBase (TString tabName) | |
virtual | ~AtTabBase ()=default |
void | Init () |
Called in the init stage of the run. More... | |
virtual void | Exec ()=0 |
Called after the run's Exec() to update tab. More... | |
AtTabInfo * | GetTabInfo () |
void | SetTabName (TString name) |
Protected Member Functions | |
void | MakeTab (TEveWindowSlot *slot) override |
Create the gui components of the tab in the passed window slot. More... | |
void | UpdateCanvas () |
![]() | |
virtual void | InitTab ()=0 |
template<typename T > | |
T * | GetFairRootInfo (std::string infoName=T::Class_Name()) |
Protected Attributes | |
TCanvas * | fCanvas {nullptr} |
Int_t | fRows |
Int_t | fCols |
![]() | |
Int_t | fTabId {0} |
TString | fTabName |
std::unique_ptr< AtTabInfo > | fTabInfo {std::make_unique<AtTabInfo>()} |
Additional Inherited Members | |
![]() | |
static int | fNumTabs = 0 |
Abstract class for a tab composed of a single TCanvas.
Optionally can be subdivded into multiple canvases. We don't use TRootEmbeddedCanvas because we may want the toolbar
Definition at line 20 of file AtTabCanvas.h.
|
inline |
Definition at line 26 of file AtTabCanvas.h.
|
overrideprotectedvirtual |
Create the gui components of the tab in the passed window slot.
Implements AtTabBase.
Reimplemented in AtTabPad, and AtTabMacro.
Definition at line 8 of file AtTabCanvas.cxx.
|
protected |
Definition at line 24 of file AtTabCanvas.cxx.
|
protected |
Definition at line 22 of file AtTabCanvas.h.
|
protected |
Definition at line 23 of file AtTabCanvas.h.
|
protected |
Definition at line 23 of file AtTabCanvas.h.