ROOTANA
Loading...
Searching...
No Matches
include
TSimpleExampleCanvas.hxx
Go to the documentation of this file.
1
#ifndef TSimpleExampleCanvas_h
2
#define TSimpleExampleCanvas_h
3
4
5
#include <iostream>
6
#include <string>
7
8
#include "TH1F.h"
9
#include "
TCanvasHandleBase.hxx
"
10
11
12
/// A simple example, using V1190 data
13
///
14
///
15
class
TSimpleExampleCanvas
:
public
TCanvasHandleBase
{
16
17
public
:
18
TSimpleExampleCanvas
();
19
20
/// Reset the histograms for this canvas
21
void
ResetCanvasHistograms
();
22
23
/// Update the histograms for this canvas.
24
void
UpdateCanvasHistograms
(
TDataContainer
& dataContainer);
25
26
/// Plot the histograms for this canvas
27
void
PlotCanvas
(
TDataContainer
& dataContainer, TRootEmbeddedCanvas *embedCanvas);
28
29
private
:
30
TH1F *
tdcHistogram
;
31
32
33
};
34
35
36
#endif
TCanvasHandleBase.hxx
TCanvasHandleBase
Definition
TCanvasHandleBase.hxx:17
TDataContainer
Definition
TDataContainer.hxx:29
TSimpleExampleCanvas
Definition
TSimpleExampleCanvas.hxx:15
TSimpleExampleCanvas::ResetCanvasHistograms
void ResetCanvasHistograms()
Reset the histograms for this canvas.
Definition
TSimpleExampleCanvas.cxx:15
TSimpleExampleCanvas::PlotCanvas
void PlotCanvas(TDataContainer &dataContainer, TRootEmbeddedCanvas *embedCanvas)
Plot the histograms for this canvas.
Definition
TSimpleExampleCanvas.cxx:38
TSimpleExampleCanvas::UpdateCanvasHistograms
void UpdateCanvasHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
Definition
TSimpleExampleCanvas.cxx:21
TSimpleExampleCanvas::TSimpleExampleCanvas
TSimpleExampleCanvas()
Definition
TSimpleExampleCanvas.cxx:6
TSimpleExampleCanvas::tdcHistogram
TH1F * tdcHistogram
Definition
TSimpleExampleCanvas.hxx:30
Generated on Wed Dec 25 2024 05:01:03 for ROOTANA by
1.9.8