]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCMonitorDialog.h
Add three particle correlation loop for correction of auto-correlaton bias
[u/mrichter/AliRoot.git] / TPC / AliTPCMonitorDialog.h
index 0a2bc7b98e253f4e06b2ee4643fb052349bda0ca..e6f765138540fe54bc96295fd25cdbc951c426b5 100755 (executable)
@@ -7,20 +7,19 @@
 /* $Id$ */
 
 ////////////////////////////////////////////////////////////////////////
-//
-// AliTPCMonitorDialog class
-//
-// Class to handle dialogs for settings of files and configurations 
-// for the AliTPCMonitor
-// 
-// Author: Stefan Kniege, IKF, Frankfurt
-//       
-//
+////
+//// AliTPCMonitorDialog class
+////
+//// Class to handle dialogs for settings of files and configurations 
+//// for the AliTPCMonitor
+//// 
+//// Author: Stefan Kniege, IKF, Frankfurt
+////       
+////
 /////////////////////////////////////////////////////////////////////////
 
 
 #include "TGFrame.h"  
-#include "RQ_OBJECT.h"
 #include "AliTPCMonitor.h" 
 class TGWindow;
 class TGTransientFrame;
@@ -35,25 +34,29 @@ class TGTextEntry;
 class TGTransientFrame;
 class TGCompositeFrame;
 class TGGroupFrame;
-class AliTPCMonitorDialog : public TNamed{
+class AliTPCMonitorDialog : public TNamed
+{
     
-    RQ_OBJECT("AliTPCMonitorDialog")
-    
-       
 public:
-    AliTPCMonitorDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, Int_t version =1, AliTPCMonitor* monitor =0);
-    //AliTPCMonitorDialog(const  AliTPCMonitorDialog &dialog);
-    //AliTPCMonitorDialog& operator= (const AliTPCMonitorDialog& dialog);
+    AliTPCMonitorDialog(TGWindow *p, TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, Int_t version =1, AliTPCMonitor* monitor =0);
+    AliTPCMonitorDialog(const  AliTPCMonitorDialog &dialog);
+    AliTPCMonitorDialog& operator= (const AliTPCMonitorDialog& dialog);
     virtual ~AliTPCMonitorDialog();
     
-    void DoClose();
-    void CloseWindow();
-    void DoOK();
-    void DoCancel();
-    void DoTab(Int_t id);
-    void HandleButtons(Int_t id = -1);
-    void CreateDialogVersion(Int_t version);
-    
+    void           DoClose()     const;
+    void           CloseWindow() const;
+    void           DoOK();
+    void           DoCancel(); 
+    void           DoTab(Int_t id);
+    void           HandleButtons(Int_t id = -1);
+    void           CreateDialogVersion(Int_t version);
+    UInt_t         GetWidth()     const { return fWidth;   }
+    UInt_t         GetHeight()    const { return fHeight;  }
+    UInt_t         GetOptions()   const { return fOptions; }
+    AliTPCMonitor* GetMonitor()   const { return fMonitor; }
+    TGWindow*      GetClient()   const { return fClient;  }
+    TGWindow*      GetMainFrame() const { return fMain;    }
+    Int_t          GetVersion()   const { return fVersion; }
  private:
     
     TGTransientFrame*    fFrameMain;    // Frames for dialog windows      
@@ -67,12 +70,19 @@ public:
     TGLayoutHints*       fLayout2;      // Layout for window versoin 2  
     TGLayoutHints*       fLayout3;      // Layout for window version 3 
     
-    
+  
+
     TGTextBuffer*        fBuf[7];       // Text buffer for GroupFrame
     TGTextEntry*         fEnt[7];       // Text entries for GroupFrame
     
     AliTPCMonitor*       fMonitor;      // Pointer to AliTPCMonitor to be called
     
+    UInt_t               fWidth;        // Width of the window
+    UInt_t               fHeight;       // Height of the window 
+    UInt_t               fOptions;      // Frame options 
+    Int_t                fVersion;       // Version of the dialog
+    TGWindow*            fClient;       // TGClient of Dialog
+    TGWindow*            fMain;         // Main fraem for Dialog window
     ClassDef(AliTPCMonitorDialog,1);
     
 };