]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TPCSectorVizEditor.h
Merge from EVE-dev.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSectorVizEditor.h
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
14 namespace Reve {
15 class RGValuator;
16 class RGDoubleValuator;
17 }
18
19 namespace Alieve {
20
21 class TPCSectorViz;
22
23 class TPCSectorVizEditor : public TGedFrame
24 {
25 protected:
26   TPCSectorViz* fM; // fModel dynamic-casted to TPCSectorVizEditor
27
28   Reve::RGValuator* fSectorID;
29   TGCheckButton*    fTrans;
30
31   TGCheckButton*    fRnrInn;
32   TGCheckButton*    fRnrOut1;
33   TGCheckButton*    fRnrOut2;
34
35   Reve::RGValuator* fThreshold;
36   Reve::RGValuator* fMaxVal;
37
38   Reve::RGDoubleValuator* fTime;
39
40 public:
41   TPCSectorVizEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
42   ~TPCSectorVizEditor();
43
44   virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
45
46   void DoSectorID();
47   void DoTrans();
48
49   void DoRnrInn();
50   void DoRnrOut1();
51   void DoRnrOut2();
52
53   void DoThreshold();
54   void DoMaxVal();
55
56   void DoTime();
57  
58   ClassDef(TPCSectorVizEditor, 0); // Editor for TPCSectorViz
59 }; // endclass TPCSectorVizEditor
60
61 }
62
63 #endif