]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Alieve/TPCSector2DEditor.h
Minor changes in the local case based on the v4-04-Rev-14
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector2DEditor.h
index dfca7a25a79809a70d318472439cbc6941773efe..baf658dff02ef917e3fc570130cf0f66f5ba0b05 100644 (file)
@@ -6,10 +6,8 @@
 #include <TGedFrame.h>
 
 class TGCheckButton;
-class TGNumberEntry;
-class TGColorSelect;
-class TGDoubleHSlider;
-class TGHSlider;
+class TGComboBox;
+
 
 namespace Alieve {
 
@@ -17,39 +15,34 @@ class TPCSector2D;
 
 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