#ifndef __PAMevcontrolfun__ #define __PAMevcontrolfun__ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // class CalorimeterCalibration : public TObject { public: CalorimeterCalibration(); Int_t status; TString fname; Float_t mip[2][22][96]; Float_t ermip[2][22][96]; Float_t fp[4][2][22][96]; Float_t fpe[4][2][22][96]; Float_t chi2[2][22][96]; Float_t ndf[2][22][96]; Float_t mask[2][22][96]; ClassDef(CalorimeterCalibration,1); }; // // GUI // class PAMevcontrol : public TGMainFrame { private: TGHProgressBar *fHProg1; TGCheckButton *ffl0; // TGCheckButton *ftrks4; // TGCheckButton *fchktof; TGCheckButton *fchkac; TGCheckButton *fchktrk; TGCheckButton *fchks4; TGCheckButton *fchknd; TGCheckButton *fchkcalo; TGCheckButton *fchkinfo; TGCheckButton *fchknames; TGCheckButton *fchkpalette; TGCheckButton *fchktrigger; // TGRadioButton *bwc0; TGRadioButton *bwc1; TGRadioButton *jbwc0; TGRadioButton *jbwc1; // TGCompositeFrame *cframe1; TGTextButton *bstop; TGTextEntry *fText2; TGTextEntry *fText4; TGComboBox *fCombo; TGComboBox *fComboDec; TGTextButton *fgetl0; TGTextButton *fshoworb; TGTextButton *fshowtrg; TGTextButton *fshowtof; TGTextButton *fshowtrk; TGTextButton *fshowcal; TGCheckButton *fchkcalost; TGTextButton *fshowrun; TGTextButton *fshows4; TGTextButton *fshowac; TGTextButton *fshownd; TGTextButton *fshowall; TGTextButton *fshowsi; // TGGroupFrame *gf; TGHorizontalFrame *hframedec[12]; // TCanvas *thefigure; struct Variables *cvar; struct Levels *clev; public: PAMevcontrol(const TGWindow *p,UInt_t w,UInt_t h,struct Variables & var, struct Levels & level, TCanvas &figure); virtual ~PAMevcontrol(); void showorbdata(); void showtrgdata(); void showtofdata(); void showtrkdata(); void showrundata(); void showsidata(); void showcaldata(); void shows4data(); void showacdata(); void showalldata(); void shownddata(); void chkcalost(); void getl0file(); void Refresh(); void StopSearching(); void SetSearching(); void RefreshButtons(); void CheckLevel(); void chktof(); void chkac(); void chktrk(); void chkcalo(); void chks4(); void chknd(); void chkinfo(); void chknames(); void chkpalette(); void chktrigger(); void radiocolor(); void radiobw(); void radiotrack(); void forcel0(); void next(); void prev(); void stop(); void SetFilename(); void SetFilter(); void jumpto(); void radioevent(); void radioprog(); void saveas(); void CompleteText(); void refreshdec(Int_t); // void Close(); void increment(float val); void DIALOG(Int_t ty, TString warn); void clearselfi(); void upgrnamfi(); void Terminate(); ClassDef(PAMevcontrol,1); }; #endif