]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTPCSectorVizEditor.h
Coverity
[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
24 class AliEveTPCSectorViz;
25
26 //------------------------------------------------------------------------------
27 // AliEveTPCSectorVizEditor
28 //
29 // Editor for AliEveTPCSectorViz.
30
31 class AliEveTPCSectorVizEditor : public TGedFrame
32 {
33 public:
34   AliEveTPCSectorVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
35                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
36   virtual ~AliEveTPCSectorVizEditor() {}
37
38   virtual void SetModel(TObject* obj);
39
40   void DoSectorID();
41   void DoAutoTrans();
42
43   void DoRnrInn();
44   void DoRnrOut1();
45   void DoRnrOut2();
46
47   void DoThreshold();
48   void DoMaxVal();
49
50   void DoTime();
51
52 protected:
53   AliEveTPCSectorViz   *fM;          // Model dynamic-casted to AliEveTPCSectorVizEditor
54
55   TEveGValuator        *fSectorID;   // Widget for SectorID.
56   TGCheckButton        *fAutoTrans;  // Widget for AutoTrans.
57
58   TGCheckButton        *fRnrInn;     // Widget for RnrInn.
59   TGCheckButton        *fRnrOut1;    // Widget for RnrOut1.
60   TGCheckButton        *fRnrOut2;    // Widget for RnrOut2.
61
62   TEveGValuator        *fThreshold;  // Widget for Threshold.
63   TEveGValuator        *fMaxVal;     // Widget for MaxVal.
64
65   TEveGDoubleValuator  *fTime;       // Widget for time-range.
66
67 private:
68   AliEveTPCSectorVizEditor(const AliEveTPCSectorVizEditor&);            // Not implemented
69   AliEveTPCSectorVizEditor& operator=(const AliEveTPCSectorVizEditor&); // Not implemented
70
71   ClassDef(AliEveTPCSectorVizEditor, 0); // Editor for AliEveTPCSectorViz.
72 };
73
74 #endif