1#ifndef TSimpleHistogramCanvas_h
2#define TSimpleHistogramCanvas_h
34 void BeginRun(
int transition,
int run,
int time);
37 void EndRun(
int transition,
int run,
int time);
A canvas that plots a single TH1 or TGraph.
~TSimpleHistogramCanvas()
TGraph * fGraph
Pointer to the graph.
void BeginRun(int transition, int run, int time)
Take actions at begin run.
void UpdateCanvasHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas. Doesn't do anything.
std::vector< TH1 * > fExtraHistos
void AddExtraHisto(TH1 *h1)
std::vector< TGraph * > fExtraGraphs
void ResetCanvasHistograms()
Reset the histograms for this canvas.
void EndRun(int transition, int run, int time)
Take actions at end run
TH1 * fHisto
Pointer to the histogram.
void PlotCanvas(TDataContainer &dataContainer, TRootEmbeddedCanvas *embedCanvas)
Plot the histograms for this canvas.
void AddExtraGraph(TGraph *g1)