ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
12 #include <unordered_map>
18 class TMemberInspector;
33 AtTabMacro(
int nRow = 1,
int nCol = 1, TString name =
"Macro");
45 void MakeTab(TEveWindowSlot *)
override;
Contains all the data needed by an AtTab.
void SetDrawPadFunction(std::function< void(AtTabInfo(*), Int_t)> function, int row=0, int col=0)
void SetDrawEventFunction(std::function< void(AtTabInfo(*))> function, int row=0, int col=0)
std::unordered_map< Int_t, std::function< void(AtTabInfo(*))> > fDrawEventMap
DataHandling::AtPadNum * fPadNum
AtTabMacro(int nRow=1, int nCol=1, TString name="Macro")
Abstract class for a tab composed of a single TCanvas.
std::unordered_map< Int_t, std::function< void(AtTabInfo(*), Int_t)> > fDrawPadMap
void Exec() override
Called after the run's Exec() to update tab.
void SetDrawTreeFunction(std::function< void(AtTabInfo(*))> function, int row=0, int col=0)
void Update(DataHandling::AtSubject *sub) override
Tab for drawing arbitrary functions (probably needs refactor)
std::unordered_map< Int_t, std::function< void(AtTabInfo(*))> > fDrawTreeMap
void MakeTab(TEveWindowSlot *) override
Create the gui components of the tab in the passed window slot.