]>
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; | |
fbb1b08d | 17 | class ZTransSubEditor; |
5987168b | 18 | } |
092578a7 | 19 | |
20 | namespace Alieve { | |
21 | ||
22 | class TPCSectorViz; | |
23 | ||
24 | class TPCSectorVizEditor : public TGedFrame | |
25 | { | |
265ecb21 | 26 | TPCSectorVizEditor(const TPCSectorVizEditor&); // Not implemented |
27 | TPCSectorVizEditor& operator=(const TPCSectorVizEditor&); // Not implemented | |
28 | ||
092578a7 | 29 | protected: |
30 | TPCSectorViz* fM; // fModel dynamic-casted to TPCSectorVizEditor | |
31 | ||
fbb1b08d | 32 | Reve::ZTransSubEditor* fHMTrans; |
33 | ||
5987168b | 34 | Reve::RGValuator* fSectorID; |
fbb1b08d | 35 | TGCheckButton* fAutoTrans; |
092578a7 | 36 | |
5987168b | 37 | TGCheckButton* fRnrInn; |
38 | TGCheckButton* fRnrOut1; | |
39 | TGCheckButton* fRnrOut2; | |
092578a7 | 40 | |
5987168b | 41 | Reve::RGValuator* fThreshold; |
265ecb21 | 42 | Reve::RGValuator* fMaxVal; |
092578a7 | 43 | |
5987168b | 44 | Reve::RGDoubleValuator* fTime; |
092578a7 | 45 | |
46 | public: | |
a8600b56 | 47 | TPCSectorVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, |
48 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
092578a7 | 49 | ~TPCSectorVizEditor(); |
50 | ||
a8600b56 | 51 | virtual void SetModel(TObject* obj); |
092578a7 | 52 | |
53 | void DoSectorID(); | |
fbb1b08d | 54 | void DoAutoTrans(); |
092578a7 | 55 | |
56 | void DoRnrInn(); | |
57 | void DoRnrOut1(); | |
58 | void DoRnrOut2(); | |
59 | ||
60 | void DoThreshold(); | |
61 | void DoMaxVal(); | |
62 | ||
092578a7 | 63 | void DoTime(); |
64 | ||
65 | ClassDef(TPCSectorVizEditor, 0); // Editor for TPCSectorViz | |
66 | }; // endclass TPCSectorVizEditor | |
67 | ||
68 | } | |
69 | ||
70 | #endif |