]>
Commit | Line | Data |
---|---|---|
d810d0de | 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 * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
9 | ||
10 | #ifndef ALIEVE_TPCSectorVizEditor_H | |
11 | #define ALIEVE_TPCSectorVizEditor_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 | ||
26 | class AliEveTPCSectorViz; | |
27 | ||
28 | class AliEveTPCSectorVizEditor : public TGedFrame | |
29 | { | |
30 | AliEveTPCSectorVizEditor(const AliEveTPCSectorVizEditor&); // Not implemented | |
31 | AliEveTPCSectorVizEditor& operator=(const AliEveTPCSectorVizEditor&); // Not implemented | |
32 | ||
33 | protected: | |
34 | AliEveTPCSectorViz* fM; // fModel dynamic-casted to AliEveTPCSectorVizEditor | |
35 | ||
36 | TEveTransSubEditor* fHMTrans; | |
37 | ||
38 | TEveGValuator* fSectorID; | |
39 | TGCheckButton* fAutoTrans; | |
40 | ||
41 | TGCheckButton* fRnrInn; | |
42 | TGCheckButton* fRnrOut1; | |
43 | TGCheckButton* fRnrOut2; | |
44 | ||
45 | TEveGValuator* fThreshold; | |
51346b82 | 46 | TEveGValuator* fMaxVal; |
d810d0de | 47 | |
48 | TEveGDoubleValuator* fTime; | |
49 | ||
50 | public: | |
51 | AliEveTPCSectorVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
52 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
53 | ~AliEveTPCSectorVizEditor(); | |
54 | ||
55 | virtual void SetModel(TObject* obj); | |
56 | ||
57 | void DoSectorID(); | |
58 | void DoAutoTrans(); | |
59 | ||
60 | void DoRnrInn(); | |
61 | void DoRnrOut1(); | |
62 | void DoRnrOut2(); | |
63 | ||
64 | void DoThreshold(); | |
65 | void DoMaxVal(); | |
66 | ||
67 | void DoTime(); | |
51346b82 | 68 | |
d810d0de | 69 | ClassDef(AliEveTPCSectorVizEditor, 0); // Editor for AliEveTPCSectorViz |
70 | }; // endclass AliEveTPCSectorVizEditor | |
71 | ||
72 | #endif |