3 #ifndef ALIEVE_TOFSectorEditor_H
4 #define ALIEVE_TOFSectorEditor_H
11 class TGDoubleHSlider;
17 class RGDoubleValuator;
18 class ZTransSubEditor;
25 class TOFSectorEditor : public TGedFrame
28 TOFSectorEditor(const TOFSectorEditor&); // Not implemented
29 TOFSectorEditor& operator=(const TOFSectorEditor&); // Not implemented
32 TOFSector* fM; // fModel dynamic-casted to TOFSectorEditor
34 Reve::RGValuator* fSectorID;
36 TGCheckButton* fAutoTrans;
38 TGCheckButton** fPlate;
40 TGCheckButton* fPlate0;
41 TGCheckButton* fPlate1;
42 TGCheckButton* fPlate2;
43 TGCheckButton* fPlate3;
44 TGCheckButton* fPlate4;
46 Reve::RGValuator* fThreshold;
47 Reve::RGValuator* fMaxVal;
51 // TGSomeWidget* fXYZZ;
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();
57 virtual void SetModel(TObject* obj);
66 void DoPlate(Int_t nPlate);
71 // Declare callback/slot methods
74 ClassDef(TOFSectorEditor, 0); // Editor for TOFSector
75 }; // endclass TOFSectorEditor