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