]>
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_TOFSectorEditor_H | |
11 | #define ALIEVE_TOFSectorEditor_H | |
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; | |
24 | class TEveTransSubEditor; | |
25 | ||
51346b82 | 26 | |
c76ea574 | 27 | class AliEveTOFSector; |
51346b82 | 28 | |
c76ea574 | 29 | class AliEveTOFSectorEditor : public TGedFrame |
30 | { | |
31 | private: | |
32 | AliEveTOFSectorEditor(const AliEveTOFSectorEditor&); // Not implemented | |
33 | AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented | |
d810d0de | 34 | |
c76ea574 | 35 | protected: |
36 | AliEveTOFSector* fM; // Model object. | |
51346b82 | 37 | |
c76ea574 | 38 | TEveGValuator* fSectorID; |
51346b82 | 39 | |
c76ea574 | 40 | TGCheckButton* fAutoTrans; |
d810d0de | 41 | |
c76ea574 | 42 | TGCheckButton** fPlate; |
d810d0de | 43 | |
c76ea574 | 44 | TGCheckButton* fPlate0; |
45 | TGCheckButton* fPlate1; | |
46 | TGCheckButton* fPlate2; | |
47 | TGCheckButton* fPlate3; | |
48 | TGCheckButton* fPlate4; | |
d810d0de | 49 | |
c76ea574 | 50 | TEveGValuator* fThreshold; |
51 | TEveGValuator* fMaxVal; | |
d810d0de | 52 | |
c76ea574 | 53 | public: |
54 | AliEveTOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
55 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
56 | virtual ~AliEveTOFSectorEditor(); | |
d810d0de | 57 | |
c76ea574 | 58 | virtual void SetModel(TObject* obj); |
59 | void DoSectorID(); | |
60 | void DoAutoTrans(); | |
61 | void DoPlate0(); | |
62 | void DoPlate1(); | |
63 | void DoPlate2(); | |
64 | void DoPlate3(); | |
65 | void DoPlate4(); | |
51346b82 | 66 | |
c76ea574 | 67 | void DoPlate(Int_t nPlate); |
68 | void DoThreshold(); | |
69 | void DoMaxVal(); | |
51346b82 | 70 | |
c76ea574 | 71 | ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector |
72 | }; // endclass AliEveTOFSectorEditor | |
51346b82 | 73 | |
d810d0de | 74 | #endif |