]>
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 | ||
a15e6d7d | 10 | #ifndef AliEveTPCSector2DEditor_H |
11 | #define AliEveTPCSector2DEditor_H | |
d810d0de | 12 | |
13 | #include <TGedFrame.h> | |
14 | ||
15 | class TGCheckButton; | |
16 | class TGComboBox; | |
17 | ||
d810d0de | 18 | class AliEveTPCSector2D; |
19 | ||
a15e6d7d | 20 | //------------------------------------------------------------------------------ |
21 | // AliEveTPCSector2DEditor | |
22 | // | |
23 | // GUI editor for AliEveTPCSector2D. | |
24 | // | |
25 | ||
d810d0de | 26 | class AliEveTPCSector2DEditor : public TGedFrame |
27 | { | |
28 | AliEveTPCSector2DEditor(const AliEveTPCSector2DEditor&); // Not implemented | |
29 | AliEveTPCSector2DEditor& operator=(const AliEveTPCSector2DEditor&); // Not implemented | |
30 | ||
31 | protected: | |
a97abca8 | 32 | AliEveTPCSector2D *fM; // Model object. |
d810d0de | 33 | |
a97abca8 | 34 | TGCheckButton *fShowMax; // Check to show maximum signal. |
35 | TGCheckButton *fAverage; // Check-box to show average of the signal. | |
d810d0de | 36 | |
a97abca8 | 37 | TGCheckButton *fUseTexture; // Check-box to use texture. |
38 | TGCheckButton *fPickEmpty; // Check-box for picking of empty pads. | |
39 | TGComboBox *fPickMode; // Selector of pick-mode. | |
d810d0de | 40 | |
41 | public: | |
42 | AliEveTPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
43 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
a15e6d7d | 44 | virtual ~AliEveTPCSector2DEditor() {} |
d810d0de | 45 | |
46 | virtual void SetModel(TObject* obj); | |
47 | ||
48 | void DoShowMax(); | |
49 | void DoAverage(); | |
50 | void SetupAverage(); | |
51 | ||
52 | void DoUseTexture(); | |
53 | void DoPickEmpty(); | |
54 | void DoPickMode(Int_t mode); | |
55 | ||
a97abca8 | 56 | ClassDef(AliEveTPCSector2DEditor, 0); // Editor for AliEveTPCSector2D. |
a15e6d7d | 57 | }; |
d810d0de | 58 | |
59 | #endif |