]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/TOFSectorEditor.h
Minor changes in the local case based on the v4-04-Rev-14
[u/mrichter/AliRoot.git] / EVE / Alieve / TOFSectorEditor.h
CommitLineData
8616d353 1// $Header$
2
3#ifndef ALIEVE_TOFSectorEditor_H
4#define ALIEVE_TOFSectorEditor_H
5
6#include <TGedFrame.h>
7
8class TGCheckButton;
9class TGNumberEntry;
10class TGColorSelect;
11class TGDoubleHSlider;
12
13class TGHSlider;
14
15namespace Reve {
16 class RGValuator;
17 class RGDoubleValuator;
18 class ZTransSubEditor;
19}
20
21namespace Alieve {
22
23 class TOFSector;
24
25 class TOFSectorEditor : public TGedFrame
26 {
27 //private:
28 TOFSectorEditor(const TOFSectorEditor&); // Not implemented
29 TOFSectorEditor& operator=(const TOFSectorEditor&); // Not implemented
30
31 protected:
32 TOFSector* fM; // fModel dynamic-casted to TOFSectorEditor
33
34 Reve::RGValuator* fSectorID;
35
36 TGCheckButton* fAutoTrans;
37
38 TGCheckButton** fPlate;
39
40 TGCheckButton* fPlate0;
41 TGCheckButton* fPlate1;
42 TGCheckButton* fPlate2;
43 TGCheckButton* fPlate3;
44 TGCheckButton* fPlate4;
45
46 Reve::RGValuator* fThreshold;
47 Reve::RGValuator* fMaxVal;
48
49
50 // Declare widgets
51 // TGSomeWidget* fXYZZ;
52
53 public:
54 TOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
55 virtual ~TOFSectorEditor();
56
57 virtual void SetModel(TObject* obj);
58 void DoSectorID();
59 void DoAutoTrans();
60 void DoPlate0();
61 void DoPlate1();
62 void DoPlate2();
63 void DoPlate3();
64 void DoPlate4();
65
66 void DoPlate(Int_t nPlate);
67 void DoThreshold();
68 void DoMaxVal();
69
70
71 // Declare callback/slot methods
72 // void DoXYZZ();
73
74 ClassDef(TOFSectorEditor, 0); // Editor for TOFSector
75 }; // endclass TOFSectorEditor
76
77}
78
79#endif