ROOTANA
|
#include <TMulticanvas.h>
Public Member Functions | |
TMulticanvas (std::string CanvasName="Multi Canvas") | |
void | AddHisto2D (TH2 *histo, int index) |
void | AddHistoSingle (TH1 *histo, int index) |
void | AddGraphSingle (TGraph *graph, int index) |
void | PlotCanvas (TDataContainer &dataContainer, TRootEmbeddedCanvas *embedCanvas) |
Plot the histograms for this canvas for a particular index;. | |
void | ResetCanvasHistograms () |
Reset the histograms for this canvas. | |
void | UpdateCanvasHistograms (TDataContainer &dataContainer) |
Update the histograms for this canvas. | |
Public Member Functions inherited from TCanvasHandleBase | |
TCanvasHandleBase (std::string tabName) | |
virtual | ~TCanvasHandleBase () |
virtual void | BeginRun (int transition, int run, int time) |
Take actions at begin run. | |
virtual void | EndRun (int transition, int run, int time) |
Take actions at end run | |
std::string | GetTabName () |
TRootEmbeddedCanvas * | GetEmbeddedCanvas () |
This method is only. | |
virtual void | SetUpCompositeFrame (TGCompositeFrame *, TRootanaDisplay *display) |
Private Attributes | |
TH1 * | fSummaryHistoSingle [gMaxSubCanvasesMuCa] |
TH2 * | fSummaryHisto2D [gMaxSubCanvasesMuCa] |
TGraph * | fSummaryGraphSingle [gMaxSubCanvasesMuCa] |
bool | fHasHisto2D [gMaxSubCanvasesMuCa] |
bool | fHasHistoSingle [gMaxSubCanvasesMuCa] |
bool | fHasGraphSingle [gMaxSubCanvasesMuCa] |
This is a canvas to display a set of four histograms.
The class also supports adding single histograms or graphs, if you want a canvas that mixes plots for a part of detector with overall summary plots.
Definition at line 15 of file TMulticanvas.h.
TMulticanvas::TMulticanvas | ( | std::string | CanvasName = "Multi Canvas" | ) |
Definition at line 4 of file TMulticanvas.cxx.
|
inline |
Definition at line 48 of file TMulticanvas.h.
|
inline |
Definition at line 34 of file TMulticanvas.h.
|
inline |
Definition at line 41 of file TMulticanvas.h.
|
virtual |
Plot the histograms for this canvas for a particular index;.
Plot the histograms for this canvas for a particular index; this is the function that user must provide.
Implements TCanvasHandleBase.
Definition at line 20 of file TMulticanvas.cxx.
|
virtual |
Reset the histograms for this canvas.
Implements TCanvasHandleBase.
Definition at line 52 of file TMulticanvas.cxx.
|
inlinevirtual |
Update the histograms for this canvas.
Implements TCanvasHandleBase.
Definition at line 61 of file TMulticanvas.h.
|
private |
Definition at line 25 of file TMulticanvas.h.
|
private |
Definition at line 23 of file TMulticanvas.h.
|
private |
Definition at line 24 of file TMulticanvas.h.
|
private |
Definition at line 21 of file TMulticanvas.h.
|
private |
Definition at line 20 of file TMulticanvas.h.
|
private |
Definition at line 19 of file TMulticanvas.h.