]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/GridStepperEditor.h
- Compute parameter covariances including absorber dispersion effects
[u/mrichter/AliRoot.git] / EVE / Reve / GridStepperEditor.h
1 // $Header$
2
3 #ifndef REVE_GridStepperEditor_H
4 #define REVE_GridStepperEditor_H
5
6 #include <TGedFrame.h>
7
8 class TGButton;
9 class TGCheckButton;
10 class TGNumberEntry;
11 class TGColorSelect;
12
13 namespace Reve {
14
15 class GridStepper;
16 class RGValuator;
17
18 class GridStepperSubEditor : public TGVerticalFrame
19 {
20 private:
21   GridStepperSubEditor(const GridStepperSubEditor&);            // Not implemented
22   GridStepperSubEditor& operator=(const GridStepperSubEditor&); // Not implemented
23
24 protected:
25   GridStepper   *fM;
26
27   RGValuator    *fNx;
28   RGValuator    *fNy;
29   RGValuator    *fNz;    
30   RGValuator    *fDx; 
31   RGValuator    *fDy; 
32   RGValuator    *fDz;
33
34 public:
35   GridStepperSubEditor(const TGWindow* p);
36   virtual ~GridStepperSubEditor() {}
37
38   void SetModel(GridStepper* m);
39
40   void Changed(); //*SIGNAL*
41
42   void DoNs();
43   void DoDs();
44
45   ClassDef(GridStepperSubEditor, 0) // Sub-editor for GridStepper
46 };
47
48
49 class GridStepperEditor : public TGedFrame
50 {
51 private:
52   GridStepperEditor(const GridStepperEditor&);            // Not implemented
53   GridStepperEditor& operator=(const GridStepperEditor&); // Not implemented
54
55 protected:
56   GridStepper            *fM;  // fModel dynamic-casted to GridStepper
57   GridStepperSubEditor   *fSE;
58
59 public:
60   GridStepperEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
61   virtual ~GridStepperEditor() {}
62
63   virtual void SetModel(TObject* obj);
64
65   ClassDef(GridStepperEditor, 0) // Editor for GridStepper
66 };
67
68 }
69
70 #endif