ROOTANA
Loading...
Searching...
No Matches
TComplicatedExampleCanvas.hxx
Go to the documentation of this file.
1#ifndef TComplicatedExampleCanvas_h
2#define TComplicatedExampleCanvas_h
3
4
5#include <iostream>
6#include <string>
7
8#include "TH1F.h"
10#include "TGNumberEntry.h"
11
12/// A complicated canvas example, using the values from V792 module
14
15public:
17
18 /// Reset the histograms for this canvas
20
21 /// Update the histograms for this canvas.
22 void UpdateCanvasHistograms(TDataContainer& dataContainer);
23
24 /// Plot the histograms for this canvas
25 void PlotCanvas(TDataContainer& dataContainer, TRootEmbeddedCanvas *embedCanvas);
26
27 void SetUpCompositeFrame(TGCompositeFrame *compFrame, TRootanaDisplay *display);
28
29 void BeginRun(int transition,int run,int time){
30 std::cout << "BOR: User can do something here... " << std::endl;
31 }
32
33private:
34 TH1F *adcValue[32];
35 TGNumberEntry *fBankCounterButton;
36
37};
38
39
40#endif
A complicated canvas example, using the values from V792 module.
void BeginRun(int transition, int run, int time)
Take actions at begin run.
void PlotCanvas(TDataContainer &dataContainer, TRootEmbeddedCanvas *embedCanvas)
Plot the histograms for this canvas.
void UpdateCanvasHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
void ResetCanvasHistograms()
Reset the histograms for this canvas.
void SetUpCompositeFrame(TGCompositeFrame *compFrame, TRootanaDisplay *display)