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 TGO4WINCONDVIEW_H 00017 #define TGO4WINCONDVIEW_H 00018 #include "TBox.h" 00019 00020 class TGo4WinCond; 00021 00022 class TGo4WinCondView : public TBox { 00023 00024 public: 00025 00026 TGo4WinCondView(Double_t x1,Double_t y1,Double_t x2,Double_t y2); 00027 TGo4WinCondView(); 00028 00029 virtual ~TGo4WinCondView(); 00030 00031 virtual void Paint(Option_t* opt=""); 00032 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); 00033 00034 void SetCondition(TGo4WinCond* condition) 00035 { 00036 fxWinCondition=condition; 00037 } 00038 TGo4WinCond* GetCondition(){return fxWinCondition;} 00039 const char* GetName() const; 00040 void SetName(const Text_t* nam); // *MENU* 00042 void DeleteRegion(); // *MENU* 00043 void SetToLimits(Double_t x1, Double_t x2,Double_t y1=0, Double_t y2=0); // *MENU* 00044 void SetLabelDraw(Bool_t on); // *MENU* 00045 void SetLimitsDraw(Bool_t on); // *MENU* 00046 void SetIntDraw(Bool_t on); // *MENU* 00047 void SetXMeanDraw(Bool_t on); // *MENU* 00048 void SetXRMSDraw(Bool_t on); // *MENU* 00049 void SetYMeanDraw(Bool_t on); // *MENU* 00050 void SetYRMSDraw(Bool_t on); // *MENU* 00051 void SetXMaxDraw(Bool_t on); // *MENU* 00052 void SetYMaxDraw(Bool_t on); // *MENU* 00053 void SetCMaxDraw(Bool_t on); // *MENU* 00055 void SaveLabelStyle();// *MENU* 00057 void ResetLabel();// *MENU* 00058 00059 private: 00060 00062 TGo4WinCond* fxWinCondition; 00063 00064 ClassDef(TGo4WinCondView,6) 00065 }; 00066 #endif //TGO4WINCONDVIEW_H 00067 00068 00069 00070 00071 //----------------------------END OF GO4 SOURCE FILE ---------------------