CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Fireworks/Core/interface/FWInvMassDialog.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWInvMassDialog_h
00002 #define Fireworks_Core_FWInvMassDialog_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWInvMassDialog
00007 // 
00016 //
00017 // Original Author:  Matevz Tadel
00018 //         Created:  Mon Nov 22 11:05:41 CET 2010
00019 // $Id: FWInvMassDialog.h,v 1.1 2010/11/22 21:35:07 matevz Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "TGFrame.h"
00026 
00027 // forward declarations
00028 class FWSelectionManager;
00029 
00030 class TGTextView;
00031 class TGTextButton;
00032 
00033 class FWInvMassDialog : public TGMainFrame
00034 {
00035 
00036 public:
00037    FWInvMassDialog(FWSelectionManager* sm);
00038    virtual ~FWInvMassDialog();
00039 
00040    virtual void CloseWindow();
00041 
00042    // ---------- const member functions ---------------------
00043 
00044    // ---------- static member functions --------------------
00045 
00046    // ---------- member functions ---------------------------
00047 
00048    void Calculate();
00049 
00050 protected:
00051    void beginUpdate();
00052    void addLine(const TString& line);
00053    void endUpdate();
00054 
00055 private:
00056    FWInvMassDialog(const FWInvMassDialog&); // stop default
00057 
00058    const FWInvMassDialog& operator=(const FWInvMassDialog&); // stop default
00059 
00060    // ---------- member data --------------------------------
00061 
00062    FWSelectionManager *m_selectionMgr;
00063 
00064    TGTextView   *m_text;
00065    TGTextButton *m_button;
00066 
00067    bool          m_firstLine;
00068 
00069    ClassDef(FWInvMassDialog, 0);
00070 };
00071 
00072 
00073 #endif