Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:55

0001 #ifndef MEChanPanel_hh
0002 #define MEChanPanel_hh
0003 
0004 #include <TGFrame.h>
0005 #include <TGButton.h>
0006 #include <TGMsgBox.h>
0007 #include <TGListBox.h>
0008 #include <TGText.h>
0009 #include <TGNumberEntry.h>
0010 
0011 class MusEcalGUI;
0012 
0013 class MEChanPanel {
0014 
0015 private:
0016 
0017   TGTransientFrame  *fMain;
0018 
0019   TGHorizontalFrame   *fHframe1;
0020 
0021   TGGroupFrame      *f_Channel_Group;
0022   TGGroupFrame      *f_Channel_ID_Group;
0023   TGGroupFrame      *f_Channel_XY_Group;
0024 
0025   TGHorizontalFrame *f_X_Group, *f_Y_Group;
0026   TGNumberEntry     *f_X, *f_Y;
0027   TGTextButton      *f_XY_Button;
0028   TGLabel           *f_X_Label, *f_Y_Label;
0029 
0030   TGHorizontalFrame *f_ID_Group;
0031   TGNumberEntry     *f_ID;
0032   TGTextButton      *f_ID_Button;
0033   TGLabel           *f_ID_Label;
0034 
0035   TGLayoutHints     *fHint1, *fHint2, *fHint3;
0036   TGListBox         *f_ChannelID;
0037 
0038   TGGroupFrame      *f_Global_Group;
0039   TGGroupFrame      *f_XYZ_Group;
0040   TGHorizontalFrame *f_XYZ_X_Group, *f_XYZ_Y_Group, *f_XYZ_Z_Group;
0041   TGNumberEntry     *f_XYZ_X, *f_XYZ_Y, *f_XYZ_Z;
0042   TGLabel           *f_XYZ_X_Label, *f_XYZ_Y_Label, *f_XYZ_Z_Label;
0043   TGTextButton      *f_XYZ_Button;
0044 
0045   Bool_t fClose;
0046 
0047   int _channelID;
0048   int _iX;
0049   int _iY;
0050   
0051   MusEcalGUI* _gui;
0052 
0053 public:
0054 
0055   MEChanPanel( const TGWindow* p, MusEcalGUI* main, UInt_t w, UInt_t h );
0056   virtual ~MEChanPanel();
0057 
0058   // slots
0059   void CloseWindow();
0060   void DoClose();
0061   void SelectChannel( Int_t );
0062   void SelectID();
0063   void SelectXY();
0064   void SelectXYZ();
0065 
0066 ClassDef(MEChanPanel,0) // MEChanPanel -- 
0067 
0068 };
0069 
0070 #endif