|
ROOTANA
|
A canvas that plots a single TH1 or TGraph. More...
#include <TSimpleHistogramCanvas.hxx>


Public Member Functions | |
| TSimpleHistogramCanvas (TH1 *histo, std::string name, std::string printoption="") | |
| TSimpleHistogramCanvas (TGraph *graph, std::string name) | |
| ~TSimpleHistogramCanvas () | |
| void | ResetCanvasHistograms () |
| Reset the histograms for this canvas. | |
| void | UpdateCanvasHistograms (TDataContainer &dataContainer) |
| Update the histograms for this canvas. Doesn't do anything. | |
| void | PlotCanvas (TDataContainer &dataContainer, TRootEmbeddedCanvas *embedCanvas) |
| Plot the histograms for this canvas. | |
| void | BeginRun (int transition, int run, int time) |
| Take actions at begin run. | |
| void | EndRun (int transition, int run, int time) |
| Take actions at end run | |
| void | AddExtraHisto (TH1 *h1) |
| void | AddExtraGraph (TGraph *g1) |
Public Member Functions inherited from TCanvasHandleBase | |
| TCanvasHandleBase (std::string tabName) | |
| virtual | ~TCanvasHandleBase () |
| std::string | GetTabName () |
| TRootEmbeddedCanvas * | GetEmbeddedCanvas () |
| This method is only. | |
| virtual void | SetUpCompositeFrame (TGCompositeFrame *, TRootanaDisplay *display) |
Private Member Functions | |
| TSimpleHistogramCanvas () | |
Private Attributes | |
| TH1 * | fHisto |
| Pointer to the histogram. | |
| TGraph * | fGraph |
| Pointer to the graph. | |
| std::vector< TH1 * > | fExtraHistos |
| std::vector< TGraph * > | fExtraGraphs |
| std::string | fPrintOption |
A canvas that plots a single TH1 or TGraph.
Definition at line 13 of file TSimpleHistogramCanvas.hxx.
| TSimpleHistogramCanvas::TSimpleHistogramCanvas | ( | TH1 * | histo, |
| std::string | name, | ||
| std::string | printoption = "" |
||
| ) |
Definition at line 7 of file TSimpleHistogramCanvas.cxx.
| TSimpleHistogramCanvas::TSimpleHistogramCanvas | ( | TGraph * | graph, |
| std::string | name | ||
| ) |
Definition at line 17 of file TSimpleHistogramCanvas.cxx.
| TSimpleHistogramCanvas::~TSimpleHistogramCanvas | ( | ) |
Definition at line 28 of file TSimpleHistogramCanvas.cxx.
|
private |
|
inline |
Definition at line 45 of file TSimpleHistogramCanvas.hxx.
|
inline |
Definition at line 40 of file TSimpleHistogramCanvas.hxx.
|
virtual |
Take actions at begin run.
Reimplemented from TCanvasHandleBase.
Definition at line 89 of file TSimpleHistogramCanvas.cxx.
|
virtual |
Take actions at end run
Reimplemented from TCanvasHandleBase.
Definition at line 94 of file TSimpleHistogramCanvas.cxx.
|
virtual |
Plot the histograms for this canvas.
Implements TCanvasHandleBase.
Definition at line 53 of file TSimpleHistogramCanvas.cxx.
|
virtual |
Reset the histograms for this canvas.
Reset the histograms in fHistoArray.
Implements TCanvasHandleBase.
Definition at line 40 of file TSimpleHistogramCanvas.cxx.
|
virtual |
Update the histograms for this canvas. Doesn't do anything.
Update the histograms for this canvas.
Implements TCanvasHandleBase.
Definition at line 46 of file TSimpleHistogramCanvas.cxx.
|
private |
Definition at line 58 of file TSimpleHistogramCanvas.hxx.
|
private |
Definition at line 57 of file TSimpleHistogramCanvas.hxx.
|
private |
Pointer to the graph.
Definition at line 54 of file TSimpleHistogramCanvas.hxx.
|
private |
Pointer to the histogram.
Definition at line 52 of file TSimpleHistogramCanvas.hxx.
|
private |
Definition at line 61 of file TSimpleHistogramCanvas.hxx.