/[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.6 - (hide annotations) (download)
Mon Jun 22 09:29:59 2009 UTC (15 years, 5 months ago) by mocchiut
Branch: MAIN
Changes since 1.5: +1 -0 lines
File MIME type: text/plain
Possible bug in TRK cluster visualization fixed, new transient windows appearance

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.6 void Refresh();
131 mocchiut 1.1 void StopSearching();
132     void SetSearching();
133 mocchiut 1.2 void RefreshButtons();
134 mocchiut 1.1 void CheckLevel();
135     void chktof();
136     void chkac();
137     void chktrk();
138     void chkcalo();
139     void chks4();
140     void chknd();
141     void chkinfo();
142     void chknames();
143     void chkpalette();
144     void radiocolor();
145     void radiobw();
146     void radiotrack();
147     void forcel0();
148     void next();
149     void prev();
150     void stop();
151     void SetFilename();
152     void SetFilter();
153     void jumpto();
154     void radioevent();
155     void radioprog();
156     void saveas();
157     void CompleteText();
158 mocchiut 1.3 void refreshdec(Int_t);
159 mocchiut 1.1 // void Close();
160     void increment(float val);
161     void DIALOG(Int_t ty, TString warn);
162     void clearselfi();
163     void upgrnamfi();
164     void Terminate();
165     ClassDef(PAMevcontrol,1);
166     };
167    
168     #endif

  ViewVC Help
Powered by ViewVC 1.1.23