| 38 |
#include <TEllipse.h> |
#include <TEllipse.h> |
| 39 |
#include <TArrow.h> |
#include <TArrow.h> |
| 40 |
#include <TStyle.h> |
#include <TStyle.h> |
| 41 |
|
#include <TGIcon.h> |
| 42 |
// |
// |
| 43 |
class CalorimeterCalibration : public TObject { |
class CalorimeterCalibration : public TObject { |
| 44 |
public: |
public: |
| 63 |
private: |
private: |
| 64 |
TGHProgressBar *fHProg1; |
TGHProgressBar *fHProg1; |
| 65 |
TGCheckButton *ffl0; |
TGCheckButton *ffl0; |
| 66 |
TGCheckButton *ftrks4; |
// TGCheckButton *ftrks4; |
| 67 |
// |
// |
| 68 |
TGCheckButton *fchktof; |
TGCheckButton *fchktof; |
| 69 |
TGCheckButton *fchkac; |
TGCheckButton *fchkac; |
| 74 |
TGCheckButton *fchkinfo; |
TGCheckButton *fchkinfo; |
| 75 |
TGCheckButton *fchknames; |
TGCheckButton *fchknames; |
| 76 |
TGCheckButton *fchkpalette; |
TGCheckButton *fchkpalette; |
| 77 |
|
TGCheckButton *fchktrigger; |
| 78 |
// |
// |
| 79 |
TGRadioButton *bwc0; |
TGRadioButton *bwc0; |
| 80 |
TGRadioButton *bwc1; |
TGRadioButton *bwc1; |
| 81 |
TGRadioButton *jbwc0; |
TGRadioButton *jbwc0; |
| 82 |
TGRadioButton *jbwc1; |
TGRadioButton *jbwc1; |
| 83 |
// |
// |
| 84 |
|
TGCompositeFrame *cframe1; |
| 85 |
TGTextButton *bstop; |
TGTextButton *bstop; |
| 86 |
TGTextEntry *fText2; |
TGTextEntry *fText2; |
| 87 |
TGTextEntry *fText4; |
TGTextEntry *fText4; |
| 88 |
TGComboBox *fCombo; |
TGComboBox *fCombo; |
| 89 |
|
TGComboBox *fComboDec; |
| 90 |
|
|
| 91 |
|
TGTextButton *fgetl0; |
| 92 |
|
|
| 93 |
|
TGTextButton *fshoworb; |
| 94 |
|
TGTextButton *fshowtrg; |
| 95 |
|
TGTextButton *fshowtof; |
| 96 |
|
TGTextButton *fshowtrk; |
| 97 |
|
TGTextButton *fshowcal; |
| 98 |
|
TGCheckButton *fchkcalost; |
| 99 |
|
TGTextButton *fshowrun; |
| 100 |
|
TGTextButton *fshows4; |
| 101 |
|
TGTextButton *fshowac; |
| 102 |
|
TGTextButton *fshownd; |
| 103 |
|
TGTextButton *fshowall; |
| 104 |
|
TGTextButton *fshowsi; |
| 105 |
|
// |
| 106 |
|
TGGroupFrame *gf; |
| 107 |
|
TGHorizontalFrame *hframedec[12]; |
| 108 |
|
// |
| 109 |
TCanvas *thefigure; |
TCanvas *thefigure; |
| 110 |
struct Variables *cvar; |
struct Variables *cvar; |
| 111 |
struct Levels *clev; |
struct Levels *clev; |
| 113 |
public: |
public: |
| 114 |
PAMevcontrol(const TGWindow *p,UInt_t w,UInt_t h,struct Variables & var, struct Levels & level, TCanvas &figure); |
PAMevcontrol(const TGWindow *p,UInt_t w,UInt_t h,struct Variables & var, struct Levels & level, TCanvas &figure); |
| 115 |
virtual ~PAMevcontrol(); |
virtual ~PAMevcontrol(); |
| 116 |
|
|
| 117 |
|
void showorbdata(); |
| 118 |
|
void showtrgdata(); |
| 119 |
|
void showtofdata(); |
| 120 |
|
void showtrkdata(); |
| 121 |
|
void showrundata(); |
| 122 |
|
void showsidata(); |
| 123 |
|
void showcaldata(); |
| 124 |
|
void shows4data(); |
| 125 |
|
void showacdata(); |
| 126 |
|
void showalldata(); |
| 127 |
|
void shownddata(); |
| 128 |
|
void chkcalost(); |
| 129 |
|
void getl0file(); |
| 130 |
|
|
| 131 |
|
void Refresh(); |
| 132 |
void StopSearching(); |
void StopSearching(); |
| 133 |
void SetSearching(); |
void SetSearching(); |
| 134 |
void RefreshButtons(); |
void RefreshButtons(); |
| 142 |
void chkinfo(); |
void chkinfo(); |
| 143 |
void chknames(); |
void chknames(); |
| 144 |
void chkpalette(); |
void chkpalette(); |
| 145 |
|
void chktrigger(); |
| 146 |
void radiocolor(); |
void radiocolor(); |
| 147 |
void radiobw(); |
void radiobw(); |
| 148 |
void radiotrack(); |
void radiotrack(); |
| 157 |
void radioprog(); |
void radioprog(); |
| 158 |
void saveas(); |
void saveas(); |
| 159 |
void CompleteText(); |
void CompleteText(); |
| 160 |
|
void refreshdec(Int_t); |
| 161 |
// void Close(); |
// void Close(); |
| 162 |
void increment(float val); |
void increment(float val); |
| 163 |
void DIALOG(Int_t ty, TString warn); |
void DIALOG(Int_t ty, TString warn); |