GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4WinCondView.h
Go to the documentation of this file.
1 // $Id: TGo4WinCondView.h 1470 2015-06-01 12:08:15Z adamczew $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4WINCONDVIEW_H
15 #define TGO4WINCONDVIEW_H
16 
17 #include "TBox.h"
18 
19 class TGo4WinCond;
20 
21 class TGo4WinCondView : public TBox {
22 
23 public:
24 
25  TGo4WinCondView(Double_t x1,Double_t y1,Double_t x2,Double_t y2);
27 
28  virtual ~TGo4WinCondView();
29 
30  virtual void Paint(Option_t* opt="");
31  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
32 
33  void SetCondition(TGo4WinCond* condition) { fxWinCondition=condition; }
35  const char* GetName() const;
36  void SetName(const char* nam); // *MENU*
38  //void DeleteRegion(); // *MENU*
39  void SetToLimits(Double_t x1, Double_t x2,Double_t y1=0, Double_t y2=0); // *MENU*
40  void SetLabelDraw(Bool_t on); // *MENU*
41  void SetLimitsDraw(Bool_t on); // *MENU*
42  void SetIntDraw(Bool_t on); // *MENU*
43  void SetXMeanDraw(Bool_t on); // *MENU*
44  void SetXRMSDraw(Bool_t on); // *MENU*
45  void SetYMeanDraw(Bool_t on); // *MENU*
46  void SetYRMSDraw(Bool_t on); // *MENU*
47  void SetXMaxDraw(Bool_t on); // *MENU*
48  void SetYMaxDraw(Bool_t on); // *MENU*
49  void SetCMaxDraw(Bool_t on); // *MENU*
50  void SetNumFormat(const char* fmt="%.4E"); // *MENU*
52  void SaveLabelStyle();// *MENU*
54  void ResetLabel();// *MENU*
55 
56 
58 
59 private:
60 
63 
64 
67 
68  ClassDef(TGo4WinCondView,7)
69 };
70 #endif //TGO4WINCONDVIEW_H
void SetYRMSDraw(Bool_t on)
TGo4WinCond * fxWinCondition
void SetToLimits(Double_t x1, Double_t x2, Double_t y1=0, Double_t y2=0)
Bool_t IsAtExecuteMouseEvent()
void SetName(const char *nam)
void SetCMaxDraw(Bool_t on)
virtual void Paint(Option_t *opt="")
void SetYMaxDraw(Bool_t on)
void SetCondition(TGo4WinCond *condition)
void SetXRMSDraw(Bool_t on)
TGo4WinCond * GetCondition()
void SetLabelDraw(Bool_t on)
virtual ~TGo4WinCondView()
void SetXMaxDraw(Bool_t on)
const char * GetName() const
Bool_t fbExecutesMouseEvent
void SetIntDraw(Bool_t on)
void SetLimitsDraw(Bool_t on)
void SetYMeanDraw(Bool_t on)
void SetXMeanDraw(Bool_t on)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
void SetNumFormat(const char *fmt="%.4E")