Last change
on this file since 4823 was 452, checked in by harald, 24 years ago |
Further improvements in the layout of some guiclasses.
Know the fundament for calculating the pedestals is created with
the first implementation of the classes MPixPedest and MPedest.
A first task for calculating the pedestals is set up (MCalcPed1).
|
File size:
1.9 KB
|
Line | |
---|
1 | #ifndef MGDISPLAYADC_H
|
---|
2 | #define MGDISPLAYADC_H
|
---|
3 |
|
---|
4 | #include <iostream.h>
|
---|
5 | #include <TROOT.h>
|
---|
6 | #include <TApplication.h>
|
---|
7 | #include <TSystem.h>
|
---|
8 | #include <TGClient.h>
|
---|
9 | #include <TGButton.h>
|
---|
10 | #include <TGMenu.h>
|
---|
11 | #include <TGTab.h>
|
---|
12 | #include <TGListBox.h>
|
---|
13 | #include <TGPicture.h>
|
---|
14 | #include <TRootEmbeddedCanvas.h>
|
---|
15 | #include <TCanvas.h>
|
---|
16 | #include <TGFSContainer.h>
|
---|
17 | #include <TGMsgBox.h>
|
---|
18 | #include <TVirtualX.h>
|
---|
19 | #include <TGFrame.h>
|
---|
20 | #include <TGTextEntry.h>
|
---|
21 | #include <TGSlider.h>
|
---|
22 | #include <TGDoubleSlider.h>
|
---|
23 | #include <TGScrollBar.h>
|
---|
24 | #include <TSlider.h>
|
---|
25 |
|
---|
26 |
|
---|
27 |
|
---|
28 |
|
---|
29 | ////#include <TGPrintDialog>
|
---|
30 |
|
---|
31 | #include <TVirtualX.h>
|
---|
32 | #include <TGClient.h>
|
---|
33 |
|
---|
34 | #include "MHistosAdc.h"
|
---|
35 |
|
---|
36 | class MHistosAdc;
|
---|
37 |
|
---|
38 | enum ETestCommandIdentifiers {
|
---|
39 | VSId1
|
---|
40 | };
|
---|
41 |
|
---|
42 |
|
---|
43 | enum ComIdentDisplayAdc {
|
---|
44 | M_BUTTON_SAVE,
|
---|
45 | M_BUTTON_PRINT,
|
---|
46 | M_BUTTON_PRINTALL,
|
---|
47 | M_BUTTON_CLOSE ,
|
---|
48 |
|
---|
49 | M_BUTTON_PREV,
|
---|
50 | M_BUTTON_NEXT,
|
---|
51 |
|
---|
52 | M_LIST_HISTO
|
---|
53 |
|
---|
54 | } ;
|
---|
55 |
|
---|
56 | class MGDisplayAdc : public TGTransientFrame {
|
---|
57 | private:
|
---|
58 |
|
---|
59 | MHistosAdc *fHists; // Pointer to Container with the histograms
|
---|
60 |
|
---|
61 | // Create a main frame with a number of different buttons.
|
---|
62 |
|
---|
63 | TGCompositeFrame *fFrameTop ; // top part of the main window
|
---|
64 | TGCompositeFrame *fFrameLow ; // low part of the main window
|
---|
65 |
|
---|
66 | TGVerticalFrame *fFT1, *fFT2, *fFT3 ;
|
---|
67 |
|
---|
68 | TGListBox *fHistoList ;
|
---|
69 | TGTextButton *fButtonPrev, *fButtonNext ;
|
---|
70 |
|
---|
71 | TRootEmbeddedCanvas *fECanv ;
|
---|
72 |
|
---|
73 | TGTextButton *fButtonSave, *fButtonPrint, *fButtonPrintAll, *fButtonClose ;
|
---|
74 |
|
---|
75 | TCanvas *fCanv ;
|
---|
76 |
|
---|
77 | //for sliders
|
---|
78 |
|
---|
79 | TGVSlider *fVslider1;
|
---|
80 |
|
---|
81 | public:
|
---|
82 |
|
---|
83 | MGDisplayAdc(MHistosAdc *fHists ,
|
---|
84 | const TGWindow *p, const TGWindow *main,
|
---|
85 | UInt_t w, UInt_t h,
|
---|
86 | UInt_t options = kMainFrame | kVerticalFrame ) ;
|
---|
87 |
|
---|
88 | ~MGDisplayAdc();
|
---|
89 |
|
---|
90 | void CloseWindow() ;
|
---|
91 |
|
---|
92 | Bool_t BuildHistoList() ;
|
---|
93 |
|
---|
94 | Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
|
---|
95 |
|
---|
96 | } ;
|
---|
97 |
|
---|
98 | #endif
|
---|
99 |
|
---|
100 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.