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