00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4POLYCONDVIEW_H 00017 #define TGO4POLYCONDVIEW_H 00018 #include "TCutG.h" 00019 00020 class TGo4PolyCond; 00021 00022 class TGo4PolyCondView : public TCutG { 00023 00024 public: 00025 00026 TGo4PolyCondView(TCutG* source); 00027 TGo4PolyCondView(); 00028 virtual ~TGo4PolyCondView(); 00029 00030 virtual void Paint(Option_t* opt); 00031 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); 00032 00034 Bool_t IsCutChanged(); 00036 virtual void UpdateCondition(); 00037 00038 00039 void SetCondition(TGo4PolyCond* condition) 00040 { 00041 fxPolyCondition=condition; 00042 } 00043 00044 TGo4PolyCond* GetCondition(){return fxPolyCondition;} 00045 00047 void SetCut(TCutG* source); 00048 00050 TCutG* CreateCut(); 00051 00052 virtual const char* GetName() const; 00053 void SetName(const Text_t* nam); // *MENU* 00055 void DeleteRegion(); // *MENU* 00056 void SetLabelDraw(Bool_t on); // *MENU* 00057 void SetLimitsDraw(Bool_t on); // *MENU* 00058 void SetIntDraw(Bool_t on); // *MENU* 00059 void SetXMeanDraw(Bool_t on); // *MENU* 00060 void SetXRMSDraw(Bool_t on); // *MENU* 00061 void SetYMeanDraw(Bool_t on); // *MENU* 00062 void SetYRMSDraw(Bool_t on); // *MENU* 00063 void SetXMaxDraw(Bool_t on); // *MENU* 00064 void SetYMaxDraw(Bool_t on); // *MENU* 00065 void SetCMaxDraw(Bool_t on); // *MENU* 00067 void SaveLabelStyle();// *MENU* 00069 void ResetLabel();// *MENU* 00070 00071 private: 00072 00074 TGo4PolyCond* fxPolyCondition; 00075 00076 ClassDef(TGo4PolyCondView,6) 00077 }; 00078 #endif //TGO4POLYCONDVIEW_H 00079 00080 00081 00082 00083 //----------------------------END OF GO4 SOURCE FILE ---------------------