]>
Commit | Line | Data |
---|---|---|
fd54c9e3 | 1 | #ifndef ALIEVETOFSECTOREDITOR_H |
2 | #define ALIEVETOFSECTOREDITOR_H | |
d810d0de | 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 | ||
fd54c9e3 | 10 | // $Id$ |
11 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
12 | ||
13 | // | |
14 | // | |
15 | // | |
d810d0de | 16 | |
17 | #include <TGedFrame.h> | |
18 | ||
19 | class TGCheckButton; | |
20 | class TGNumberEntry; | |
21 | class TGColorSelect; | |
22 | class TGDoubleHSlider; | |
23 | ||
24 | class TGHSlider; | |
25 | ||
26 | class TEveGValuator; | |
27 | class TEveGDoubleValuator; | |
51346b82 | 28 | |
c76ea574 | 29 | class AliEveTOFSector; |
51346b82 | 30 | |
c76ea574 | 31 | class AliEveTOFSectorEditor : public TGedFrame |
32 | { | |
c76ea574 | 33 | public: |
34 | AliEveTOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
35 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
36 | virtual ~AliEveTOFSectorEditor(); | |
d810d0de | 37 | |
c76ea574 | 38 | virtual void SetModel(TObject* obj); |
39 | void DoSectorID(); | |
40 | void DoAutoTrans(); | |
41 | void DoPlate0(); | |
42 | void DoPlate1(); | |
43 | void DoPlate2(); | |
44 | void DoPlate3(); | |
45 | void DoPlate4(); | |
51346b82 | 46 | |
c76ea574 | 47 | void DoPlate(Int_t nPlate); |
48 | void DoThreshold(); | |
49 | void DoMaxVal(); | |
51346b82 | 50 | |
4b456ebb | 51 | protected: |
52 | AliEveTOFSector* fM; // Model object. | |
53 | ||
54 | TEveGValuator* fSectorID; // Valuator for sector id. | |
55 | ||
56 | TGCheckButton* fAutoTrans; // Check-button for automatic translation. | |
57 | ||
58 | TGCheckButton** fPlate; // Check-buttons for plates. | |
59 | ||
60 | TGCheckButton* fPlate0; // Check-button for plate 0. | |
61 | TGCheckButton* fPlate1; // Check-button for plate 1. | |
62 | TGCheckButton* fPlate2; // Check-button for plate 2. | |
63 | TGCheckButton* fPlate3; // Check-button for plate 3. | |
64 | TGCheckButton* fPlate4; // Check-button for plate 4. | |
65 | ||
66 | TEveGValuator* fThreshold; // Valuator for threshold. | |
67 | TEveGValuator* fMaxVal; // Valuator for maximum value. | |
68 | ||
69 | private: | |
70 | AliEveTOFSectorEditor(const AliEveTOFSectorEditor&); // Not implemented | |
71 | AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented | |
72 | ||
c76ea574 | 73 | ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector |
4b456ebb | 74 | }; |
51346b82 | 75 | |
d810d0de | 76 | #endif |