3 #ifndef ALIEVE_TPCSector2DEditor_H
4 #define ALIEVE_TPCSector2DEditor_H
11 class TGDoubleHSlider;
18 class TPCSector2DEditor : public TGedFrame
21 TPCSector2D* fM; // fModel dynamic-casted to TPCSector2DEditor
23 TGCheckButton* fUseTexture;
25 TGNumberEntry* fSectorID;
27 TGCheckButton* fRnrInn;
28 TGCheckButton* fRnrOut1;
29 TGCheckButton* fRnrOut2;
31 TGLabel* fThresholdLabel;
32 TGLabel* fMaxValLabel;
33 TGHSlider* fThreshold;
36 TGCheckButton* fShowMax;
37 TGCheckButton* fAverage;
39 TGNumberEntry* fMinTime;
40 TGNumberEntry* fMaxTime;
41 TGDoubleHSlider* fTime;
44 TPCSector2DEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
47 virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
48 virtual Bool_t CanEditMainColor() { return true; }
68 ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D
69 }; // endclass TPCSector2DEditor