Line | |
---|
1 | #ifndef MARS_MGDisplayAdc
|
---|
2 | #define MARS_MGDisplayAdc
|
---|
3 |
|
---|
4 | #ifndef ROOT_TFrame
|
---|
5 | #include <TGFrame.h> // TGTransientFrame
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TList;
|
---|
9 | class TCanvas;
|
---|
10 |
|
---|
11 | class MHFadcCam;
|
---|
12 |
|
---|
13 | class TGVSlider;
|
---|
14 | class TGListBox;
|
---|
15 | class TGTextButton;
|
---|
16 | class TGRadioButton;
|
---|
17 | class TRootEmbeddedCanvas;
|
---|
18 |
|
---|
19 | class MGDisplayAdc : public TGTransientFrame
|
---|
20 | {
|
---|
21 | private:
|
---|
22 | MHFadcCam *fHists; // Pointer to Container with the histograms
|
---|
23 |
|
---|
24 | TList *fList;
|
---|
25 | TCanvas *fCanvas;
|
---|
26 | TGVSlider *fSlider;
|
---|
27 | TGListBox *fHistoList;
|
---|
28 |
|
---|
29 | Int_t fHistoType;
|
---|
30 |
|
---|
31 | void AddFrameTop(TGHorizontalFrame *frame);
|
---|
32 | void AddFrameLow(TGHorizontalFrame *frame);
|
---|
33 |
|
---|
34 | //
|
---|
35 | // Create a main frame with a number of different buttons.
|
---|
36 | //
|
---|
37 | void UpdateHist();
|
---|
38 | Bool_t BuildHistoList();
|
---|
39 |
|
---|
40 | public:
|
---|
41 |
|
---|
42 | MGDisplayAdc(MHFadcCam *fHists ,
|
---|
43 | const TGWindow *p=NULL, const TGWindow *main=NULL,
|
---|
44 | UInt_t w=800, UInt_t h=500,
|
---|
45 | UInt_t options = kMainFrame|kVerticalFrame);
|
---|
46 | ~MGDisplayAdc();
|
---|
47 |
|
---|
48 | void CloseWindow();
|
---|
49 |
|
---|
50 | Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
|
---|
51 | };
|
---|
52 |
|
---|
53 | #endif
|
---|
54 |
|
---|
55 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.