#include <TGedFrame.h>
class TGCheckButton;
-class TGNumberEntry;
-class TGColorSelect;
-class TGDoubleHSlider;
-class TGHSlider;
+class TGComboBox;
+
namespace Alieve {
class TPCSector2DEditor : public TGedFrame
{
+ TPCSector2DEditor(const TPCSector2DEditor&); // Not implemented
+ TPCSector2DEditor& operator=(const TPCSector2DEditor&); // Not implemented
+
protected:
TPCSector2D* fM; // fModel dynamic-casted to TPCSector2DEditor
- TGCheckButton* fUseTexture;
-
- TGNumberEntry* fSectorID;
-
- TGLabel* fThresholdLabel;
- TGLabel* fMaxValLabel;
- TGHSlider* fthreshold;
- TGHSlider* fMaxVal;
-
TGCheckButton* fShowMax;
+ TGCheckButton* fAverage;
- TGDoubleHSlider* fTime;
+ TGCheckButton* fUseTexture;
+ TGCheckButton* fPickEmpty;
+ TGComboBox* fPickMode;
public:
- TPCSector2DEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
+ TPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
+ UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
~TPCSector2DEditor();
- virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
- virtual Bool_t CanEditMainColor() { return true; }
+ virtual void SetModel(TObject* obj);
- // void DoXYZZ();
- void DoUseTexture();
+ void DoShowMax();
+ void DoAverage();
+ void SetupAverage();
- void DoSectorID();
+ void DoUseTexture();
+ void DoPickEmpty();
+ void DoPickMode(Int_t mode);
- void Dothreshold();
- void DoMaxVal();
- void DoShowMax();
- void DoTime();
-
ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D
}; // endclass TPCSector2DEditor