/[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.7 - (hide annotations) (download)
Wed Jan 11 16:27:28 2012 UTC (12 years, 11 months ago) by mocchiut
Branch: MAIN
CVS Tags: v10REDr01, v10RED, HEAD
Changes since 1.6: +2 -0 lines
File MIME type: text/plain
Pattern trigger configuration added to display

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 mocchiut 1.7 TGCheckButton *fchktrigger;
78 mocchiut 1.2 //
79     TGRadioButton *bwc0;
80     TGRadioButton *bwc1;
81     TGRadioButton *jbwc0;
82     TGRadioButton *jbwc1;
83     //
84 mocchiut 1.3 TGCompositeFrame *cframe1;
85 mocchiut 1.1 TGTextButton *bstop;
86     TGTextEntry *fText2;
87     TGTextEntry *fText4;
88     TGComboBox *fCombo;
89 mocchiut 1.3 TGComboBox *fComboDec;
90    
91 mocchiut 1.4 TGTextButton *fgetl0;
92    
93 mocchiut 1.3 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 mocchiut 1.1 TCanvas *thefigure;
110     struct Variables *cvar;
111     struct Levels *clev;
112    
113     public:
114     PAMevcontrol(const TGWindow *p,UInt_t w,UInt_t h,struct Variables & var, struct Levels & level, TCanvas &figure);
115     virtual ~PAMevcontrol();
116 mocchiut 1.3
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 mocchiut 1.4 void getl0file();
130 mocchiut 1.3
131 mocchiut 1.6 void Refresh();
132 mocchiut 1.1 void StopSearching();
133     void SetSearching();
134 mocchiut 1.2 void RefreshButtons();
135 mocchiut 1.1 void CheckLevel();
136     void chktof();
137     void chkac();
138     void chktrk();
139     void chkcalo();
140     void chks4();
141     void chknd();
142     void chkinfo();
143     void chknames();
144     void chkpalette();
145 mocchiut 1.7 void chktrigger();
146 mocchiut 1.1 void radiocolor();
147     void radiobw();
148     void radiotrack();
149     void forcel0();
150     void next();
151     void prev();
152     void stop();
153     void SetFilename();
154     void SetFilter();
155     void jumpto();
156     void radioevent();
157     void radioprog();
158     void saveas();
159     void CompleteText();
160 mocchiut 1.3 void refreshdec(Int_t);
161 mocchiut 1.1 // void Close();
162     void increment(float val);
163     void DIALOG(Int_t ty, TString warn);
164     void clearselfi();
165     void upgrnamfi();
166     void Terminate();
167     ClassDef(PAMevcontrol,1);
168     };
169    
170     #endif

  ViewVC Help
Powered by ViewVC 1.1.23