#ifndef GG_MAINFRAME_H #define GG_MAINFRAME_H #include #include "GG_RootGUI.h" #include #include #include #include #include #include #include #include #include #include #include #include #include class GG_MainFrame { RQ_OBJECT("GG_MainFrame") private: TGMainFrame *fMF; TGHorizontalFrame *fHU; TGGroupFrame *fGFfrom; TGListBox *fLBfrom; TGGroupFrame *fGFl; TGListBox *fLBl; TGGroupFrame *fGFto; TGListBox *fLBto; TGGroupFrame *fGFplot; TRootEmbeddedCanvas *fCanvas; TGVerticalFrame *fVD; TGHorizontalFrame *fVDH1; TGHorizontalFrame *fVDH2; TGLabel *fLd1; TGLabel *fLd1e; TGLabel *fLd2; TGLabel *fLd2e; TGLabel *fLa2; TGLabel *fLa2e; TGLabel *fLdmin; TGLabel *fLdmax; TGLabel *fLa2a4; TGComboBox *fCBa2a4; TGCheckButton *fCBd1; TGCheckButton *fCBd2; TGTextEntry *fTEd1; TGTextEntry *fTEd1e; TGTextEntry *fTEd2; TGTextEntry *fTEd2e; TGTextEntry *fTEa2; TGTextEntry *fTEa2e; TGTextEntry *fTEdmin; TGTextEntry *fTEdmax; TGTextButton *fTBcalc; TGTextButton *fTBexit; TGTextButton *fTBdraw; TGTextButton *fTBdraw24; TGTextButton *fTBdrawadd24; TGTextButton *fTBclear; TGTextButton *fTBfind; TF1 *fun21; TF1 *fun22; TF1 *fun41; TF1 *fun42; TF1 *fun2; TF1 *fun4; TF1 *funx; TGraph *pGR[10],*pGRx; TMultiGraph *pMGR; int i1,ito,ifrom; int keya2a4; int iGR; public: GG_MainFrame(const TGWindow *p, UInt_t w, UInt_t h); virtual ~GG_MainFrame(); void SetFrames(); double a21(double d); double a22(double d); double a41(double d); double a42(double d); void ExecSelected(Int_t iw, Int_t id); void ExecCalc(); void ExecExit(); void ExecDraw(); void ExecFind(); int CheckData(); void ExecDraw24(); void ExecDrawadd24(); void ExecClear(); void ExecA2A4(Int_t iw, Int_t id){keya2a4 = id;}; ClassDef(GG_MainFrame,1); }; #endif /* GG_MAINFRAME_H */