Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:01:11

0001 #ifndef Fireworks_Core_FWInvMassDialog_h
0002 #define Fireworks_Core_FWInvMassDialog_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWInvMassDialog
0007 //
0008 /**\class FWInvMassDialog FWInvMassDialog.h Fireworks/Core/interface/FWInvMassDialog.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Matevz Tadel
0018 //         Created:  Mon Nov 22 11:05:41 CET 2010
0019 //
0020 
0021 // system include files
0022 
0023 // user include files
0024 #include "TGFrame.h"
0025 
0026 // forward declarations
0027 class FWSelectionManager;
0028 
0029 class TGTextView;
0030 class TGTextButton;
0031 
0032 class FWInvMassDialog : public TGMainFrame {
0033 public:
0034   FWInvMassDialog(FWSelectionManager* sm);
0035   ~FWInvMassDialog() override;
0036 
0037   void CloseWindow() override;
0038 
0039   // ---------- const member functions ---------------------
0040 
0041   // ---------- static member functions --------------------
0042 
0043   // ---------- member functions ---------------------------
0044 
0045   void Calculate();
0046 
0047 protected:
0048   void beginUpdate();
0049   void addLine(const TString& line);
0050   void endUpdate();
0051 
0052 private:
0053   FWInvMassDialog(const FWInvMassDialog&);  // stop default
0054 
0055   const FWInvMassDialog& operator=(const FWInvMassDialog&);  // stop default
0056 
0057   // ---------- member data --------------------------------
0058 
0059   FWSelectionManager* m_selectionMgr;
0060 
0061   TGTextView* m_text;
0062   TGTextButton* m_button;
0063 
0064   bool m_firstLine;
0065 
0066   ClassDefOverride(FWInvMassDialog, 0);
0067 };
0068 
0069 #endif