]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/ITSScaledModuleEditor.h
- Compute parameter covariances including absorber dispersion effects
[u/mrichter/AliRoot.git] / EVE / Alieve / ITSScaledModuleEditor.h
1 // $Header$
2
3 #ifndef ALIEVE_ITSScaledModuleEditor_H
4 #define ALIEVE_ITSScaledModuleEditor_H
5
6 #include <TGedFrame.h>
7 #include <Reve/RGBAPaletteEditor.h>
8
9 class TGNumberEntry;
10 class TGColorSelect;
11 class TGComboBox;
12
13 namespace Reve 
14 {
15 class RGValuator;
16 class RGDoubleValuator;
17 class RGBAPalette;
18 }
19
20 namespace Alieve {
21
22 class DigitScaleInfo;
23 class ITSScaledModule;
24 class AliITSsegmentation;
25
26 /**************************************************************************/
27
28 class ITSScaledModuleEditor : public TGedFrame
29 {
30 private:
31   ITSScaledModuleEditor(const ITSScaledModuleEditor&);            // Not implemented
32   ITSScaledModuleEditor& operator=(const ITSScaledModuleEditor&); // Not implemented
33
34   void CreateInfoFrame();
35
36 protected:
37   TGVerticalFrame*  fInfoFrame;
38
39   ITSScaledModule*  fModule; // fModel dynamic-casted to ITSScaledModuleEditor
40
41   TGNumberEntry*    fScale;
42   TGComboBox*       fStatistic;  
43
44   TGLabel*          fInfoLabel0;
45   TGLabel*          fInfoLabel1;
46
47 public:
48   ITSScaledModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
49   virtual ~ITSScaledModuleEditor();
50
51   virtual void   SetModel(TObject* obj);
52
53   void DoScale();
54   void DoStatType(Int_t t);
55
56   ClassDef(ITSScaledModuleEditor, 0); // Editor for ITSScaledModule
57 }; // endclass ITSScaledModuleEditor
58
59 }
60
61 #endif