]>
Commit | Line | Data |
---|---|---|
092578a7 | 1 | // $Header$ |
2 | ||
3 | #ifndef ALIEVE_TPCSectorVizEditor_H | |
4 | #define ALIEVE_TPCSectorVizEditor_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
11 | class TGDoubleHSlider; | |
12 | class TGHSlider; | |
13 | ||
5987168b | 14 | namespace Reve { |
15 | class RGValuator; | |
16 | class RGDoubleValuator; | |
17 | } | |
092578a7 | 18 | |
19 | namespace Alieve { | |
20 | ||
21 | class TPCSectorViz; | |
22 | ||
23 | class TPCSectorVizEditor : public TGedFrame | |
24 | { | |
265ecb21 | 25 | TPCSectorVizEditor(const TPCSectorVizEditor&); // Not implemented |
26 | TPCSectorVizEditor& operator=(const TPCSectorVizEditor&); // Not implemented | |
27 | ||
092578a7 | 28 | protected: |
29 | TPCSectorViz* fM; // fModel dynamic-casted to TPCSectorVizEditor | |
30 | ||
5987168b | 31 | Reve::RGValuator* fSectorID; |
02937761 | 32 | TGCheckButton* fTrans; |
092578a7 | 33 | |
5987168b | 34 | TGCheckButton* fRnrInn; |
35 | TGCheckButton* fRnrOut1; | |
36 | TGCheckButton* fRnrOut2; | |
092578a7 | 37 | |
5987168b | 38 | Reve::RGValuator* fThreshold; |
265ecb21 | 39 | Reve::RGValuator* fMaxVal; |
092578a7 | 40 | |
5987168b | 41 | Reve::RGDoubleValuator* fTime; |
092578a7 | 42 | |
43 | public: | |
44 | TPCSectorVizEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()); | |
45 | ~TPCSectorVizEditor(); | |
46 | ||
47 | virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event); | |
48 | ||
49 | void DoSectorID(); | |
02937761 | 50 | void DoTrans(); |
092578a7 | 51 | |
52 | void DoRnrInn(); | |
53 | void DoRnrOut1(); | |
54 | void DoRnrOut2(); | |
55 | ||
56 | void DoThreshold(); | |
57 | void DoMaxVal(); | |
58 | ||
092578a7 | 59 | void DoTime(); |
60 | ||
61 | ClassDef(TPCSectorVizEditor, 0); // Editor for TPCSectorViz | |
62 | }; // endclass TPCSectorVizEditor | |
63 | ||
64 | } | |
65 | ||
66 | #endif |