/[PAMELA software]/eventviewer/flight/inc/FEVpamevcontrol.h
ViewVC logotype

Annotation of /eventviewer/flight/inc/FEVpamevcontrol.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Mon Jun 15 14:17:19 2009 UTC (15 years, 5 months ago) by mocchiut
Branch: MAIN
Changes since 1.4: +1 -0 lines
File MIME type: text/plain
Cosmetic changes to popup windows

1 mocchiut 1.1 #ifndef __PAMevcontrolfun__
2     #define __PAMevcontrolfun__
3     #include <feventvstruct.h>
4     #include <TObjectTable.h>
5     #include <TGClient.h>
6     #include <TGButton.h>
7     #include <TGComboBox.h>
8     #include <TGLabel.h>
9     #include <TGTextEntry.h>
10     #include <TGFrame.h>
11     #include <TGButtonGroup.h>
12     #include <TGProgressBar.h>
13     #include <TGMsgBox.h>
14     #include <TGComboBox.h>
15     #include <TTree.h>
16     #include <TClassEdit.h>
17     #include <TObject.h>
18     #include <TList.h>
19     #include <TSystem.h>
20     #include <TSystemDirectory.h>
21     #include <TString.h>
22     #include <TFile.h>
23     #include <TClass.h>
24     #include <TCanvas.h>
25     #include <TH1.h>
26     #include <TH1F.h>
27     #include <TH2D.h>
28     #include <TLatex.h>
29     #include <TPad.h>
30     #include <TPaveLabel.h>
31     #include <TLine.h>
32     #include <TPolyLine.h>
33     #include <TChain.h>
34     #include <TApplication.h>
35     #include <TVirtualX.h>
36     #include <TGClient.h>
37     #include <TGWindow.h>
38     #include <TEllipse.h>
39     #include <TArrow.h>
40     #include <TStyle.h>
41 mocchiut 1.5 #include <TGIcon.h>
42 mocchiut 1.1 //
43     class CalorimeterCalibration : public TObject {
44     public:
45     CalorimeterCalibration();
46     Int_t status;
47     TString fname;
48     Float_t mip[2][22][96];
49     Float_t ermip[2][22][96];
50     Float_t fp[4][2][22][96];
51     Float_t fpe[4][2][22][96];
52     Float_t chi2[2][22][96];
53     Float_t ndf[2][22][96];
54     Float_t mask[2][22][96];
55     ClassDef(CalorimeterCalibration,1);
56     };
57    
58     //
59     // GUI
60     //
61     class PAMevcontrol : public TGMainFrame {
62    
63     private:
64     TGHProgressBar *fHProg1;
65     TGCheckButton *ffl0;
66 mocchiut 1.4 // TGCheckButton *ftrks4;
67 mocchiut 1.2 //
68     TGCheckButton *fchktof;
69     TGCheckButton *fchkac;
70     TGCheckButton *fchktrk;
71     TGCheckButton *fchks4;
72     TGCheckButton *fchknd;
73     TGCheckButton *fchkcalo;
74     TGCheckButton *fchkinfo;
75     TGCheckButton *fchknames;
76     TGCheckButton *fchkpalette;
77     //
78     TGRadioButton *bwc0;
79     TGRadioButton *bwc1;
80     TGRadioButton *jbwc0;
81     TGRadioButton *jbwc1;
82     //
83 mocchiut 1.3 TGCompositeFrame *cframe1;
84 mocchiut 1.1 TGTextButton *bstop;
85     TGTextEntry *fText2;
86     TGTextEntry *fText4;
87     TGComboBox *fCombo;
88 mocchiut 1.3 TGComboBox *fComboDec;
89    
90 mocchiut 1.4 TGTextButton *fgetl0;
91    
92 mocchiut 1.3 TGTextButton *fshoworb;
93     TGTextButton *fshowtrg;
94     TGTextButton *fshowtof;
95     TGTextButton *fshowtrk;
96     TGTextButton *fshowcal;
97     TGCheckButton *fchkcalost;
98     TGTextButton *fshowrun;
99     TGTextButton *fshows4;
100     TGTextButton *fshowac;
101     TGTextButton *fshownd;
102     TGTextButton *fshowall;
103     TGTextButton *fshowsi;
104     //
105     TGGroupFrame *gf;
106     TGHorizontalFrame *hframedec[12];
107     //
108 mocchiut 1.1 TCanvas *thefigure;
109     struct Variables *cvar;
110     struct Levels *clev;
111    
112     public:
113     PAMevcontrol(const TGWindow *p,UInt_t w,UInt_t h,struct Variables & var, struct Levels & level, TCanvas &figure);
114     virtual ~PAMevcontrol();
115 mocchiut 1.3
116     void showorbdata();
117     void showtrgdata();
118     void showtofdata();
119     void showtrkdata();
120     void showrundata();
121     void showsidata();
122     void showcaldata();
123     void shows4data();
124     void showacdata();
125     void showalldata();
126     void shownddata();
127     void chkcalost();
128 mocchiut 1.4 void getl0file();
129 mocchiut 1.3
130 mocchiut 1.1 void StopSearching();
131     void SetSearching();
132 mocchiut 1.2 void RefreshButtons();
133 mocchiut 1.1 void CheckLevel();
134     void chktof();
135     void chkac();
136     void chktrk();
137     void chkcalo();
138     void chks4();
139     void chknd();
140     void chkinfo();
141     void chknames();
142     void chkpalette();
143     void radiocolor();
144     void radiobw();
145     void radiotrack();
146     void forcel0();
147     void next();
148     void prev();
149     void stop();
150     void SetFilename();
151     void SetFilter();
152     void jumpto();
153     void radioevent();
154     void radioprog();
155     void saveas();
156     void CompleteText();
157 mocchiut 1.3 void refreshdec(Int_t);
158 mocchiut 1.1 // void Close();
159     void increment(float val);
160     void DIALOG(Int_t ty, TString warn);
161     void clearselfi();
162     void upgrnamfi();
163     void Terminate();
164     ClassDef(PAMevcontrol,1);
165     };
166    
167     #endif

  ViewVC Help
Powered by ViewVC 1.1.23