Merge from EVE-dev to HEAD.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector2DEditor.h
1 // $Header$
2
3 #ifndef ALIEVE_TPCSector2DEditor_H
4 #define ALIEVE_TPCSector2DEditor_H
5
6 #include <TGedFrame.h>
7
8 class TGCheckButton;
9 class TGNumberEntry;
10 class TGColorSelect;
11 class TGDoubleHSlider;
12 class TGHSlider;
13
14
15 namespace Alieve {
16
17 class TPCSector2D;
18
19 class TPCSector2DEditor : public TGedFrame
20 {
21 protected:
22   TPCSector2D* fM; // fModel dynamic-casted to TPCSector2DEditor
23
24   TGCheckButton*   fShowMax;
25   TGCheckButton*   fAverage;
26
27   TGCheckButton*   fUseTexture;
28
29 public:
30   TPCSector2DEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
31   ~TPCSector2DEditor();
32
33   virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
34
35   void DoShowMax();
36   void DoAverage();
37   void SetupAverage();
38
39   void DoUseTexture();
40
41   ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D
42 }; // endclass TPCSector2DEditor
43
44 }
45
46 #endif