]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTPCSectorVizEditor.h
Merge changes from branches/dev/EVE. This branch was following development in ROOT...
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTPCSectorVizEditor.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveTPCSectorVizEditor_H
11 #define AliEveTPCSectorVizEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGNumberEntry;
17 class TGColorSelect;
18 class TGDoubleHSlider;
19 class TGHSlider;
20
21 class TEveGValuator;
22 class TEveGDoubleValuator;
23 class TEveTransSubEditor;
24
25 class AliEveTPCSectorViz;
26
27 //------------------------------------------------------------------------------
28 // AliEveTPCSectorVizEditor
29 //
30 // Editor for AliEveTPCSectorViz.
31
32 class AliEveTPCSectorVizEditor : public TGedFrame
33 {
34   AliEveTPCSectorVizEditor(const AliEveTPCSectorVizEditor&);            // Not implemented
35   AliEveTPCSectorVizEditor& operator=(const AliEveTPCSectorVizEditor&); // Not implemented
36
37 protected:
38   AliEveTPCSectorViz   *fM;          // Model dynamic-casted to AliEveTPCSectorVizEditor
39
40   TEveTransSubEditor   *fHMTrans;    // Widget for transormation.
41
42   TEveGValuator        *fSectorID;   // Widget for SectorID.
43   TGCheckButton        *fAutoTrans;  // Widget for AutoTrans.
44
45   TGCheckButton        *fRnrInn;     // Widget for RnrInn.
46   TGCheckButton        *fRnrOut1;    // Widget for RnrOut1.
47   TGCheckButton        *fRnrOut2;    // Widget for RnrOut2.
48
49   TEveGValuator        *fThreshold;  // Widget for Threshold.
50   TEveGValuator        *fMaxVal;     // Widget for MaxVal.
51
52   TEveGDoubleValuator  *fTime;       // Widget for time-range.
53
54 public:
55   AliEveTPCSectorVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
56                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
57   virtual ~AliEveTPCSectorVizEditor() {}
58
59   virtual void SetModel(TObject* obj);
60
61   void DoSectorID();
62   void DoAutoTrans();
63
64   void DoRnrInn();
65   void DoRnrOut1();
66   void DoRnrOut2();
67
68   void DoThreshold();
69   void DoMaxVal();
70
71   void DoTime();
72
73   ClassDef(AliEveTPCSectorVizEditor, 0); // Editor for AliEveTPCSectorViz.
74 };
75
76 #endif