00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE 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 00019 #include "TBox.h" 00020 00021 class TGo4WinCond; 00022 00023 class TGo4WinCondView : public TBox { 00024 00025 public: 00026 00027 TGo4WinCondView(Double_t x1,Double_t y1,Double_t x2,Double_t y2); 00028 TGo4WinCondView(); 00029 00030 virtual ~TGo4WinCondView(); 00031 00032 virtual void Paint(Option_t* opt=""); 00033 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); 00034 00035 void SetCondition(TGo4WinCond* condition) 00036 { 00037 fxWinCondition=condition; 00038 } 00039 TGo4WinCond* GetCondition(){return fxWinCondition;} 00040 const char* GetName() const; 00041 void SetName(const Text_t* nam); // *MENU* 00043 //void DeleteRegion(); // *MENU* 00044 void SetToLimits(Double_t x1, Double_t x2,Double_t y1=0, Double_t y2=0); // *MENU* 00045 void SetLabelDraw(Bool_t on); // *MENU* 00046 void SetLimitsDraw(Bool_t on); // *MENU* 00047 void SetIntDraw(Bool_t on); // *MENU* 00048 void SetXMeanDraw(Bool_t on); // *MENU* 00049 void SetXRMSDraw(Bool_t on); // *MENU* 00050 void SetYMeanDraw(Bool_t on); // *MENU* 00051 void SetYRMSDraw(Bool_t on); // *MENU* 00052 void SetXMaxDraw(Bool_t on); // *MENU* 00053 void SetYMaxDraw(Bool_t on); // *MENU* 00054 void SetCMaxDraw(Bool_t on); // *MENU* 00056 void SaveLabelStyle();// *MENU* 00058 void ResetLabel();// *MENU* 00059 00060 private: 00061 00063 TGo4WinCond* fxWinCondition; 00064 00065 ClassDef(TGo4WinCondView,6) 00066 }; 00067 #endif //TGO4WINCONDVIEW_H 00068 00069 //----------------------------END OF GO4 SOURCE FILE ---------------------