GEMC  2.3
Geant4 Monte-Carlo Framework
primaryTab.h
Go to the documentation of this file.
1 #ifndef particleTab_H
2 #define particleTab_H 1
3 
4 // Qt headers
5 #include <QtWidgets>
6 
7 // gemc headers
8 #include "options.h"
9 #include "momControls.h"
10 #include "vtxControls.h"
11 
12 
13 
14 
15 // Luminosity Event class with particle type and
16 // time window info
17 class lumiEvent : public QWidget
18 {
19  Q_OBJECT
20 
21  public:
22  lumiEvent(goptions *Opts, QWidget*, string);
23 
24  QLineEdit *nevents;
25  QLineEdit *timewindow;
26  QLineEdit *time_bunch;
27 
28  QGroupBox *LumiGroup;
29 };
30 
31 
32 
33 
34 // Class definition
35 class particleTab : public QWidget
36 {
37  Q_OBJECT
38 
39  public:
40  particleTab(QWidget*, goptions* , string);
41 
42  // self identification: Primary, Lumi1 or Lumi2
43  string type;
44  int verbosity;
45 
46  QComboBox *beam_particle;
47 
49 
52 
53  string get_lumi_event(double);
54  double get_time_window();
55 };
56 
57 
58 
59 #endif
60 
61 
62 
63 
64 
65 
lumiEvent * lEvent
Definition: primaryTab.h:48
QLineEdit * time_bunch
Definition: primaryTab.h:26
QGroupBox * LumiGroup
Definition: primaryTab.h:28
string type
Definition: primaryTab.h:43
QLineEdit * nevents
Definition: primaryTab.h:24
momControls * momControl
Definition: primaryTab.h:50
lumiEvent(goptions *Opts, QWidget *, string)
Definition: primaryTab.cc:14
QLineEdit * timewindow
Definition: primaryTab.h:25
QComboBox * beam_particle
Definition: primaryTab.h:46
int verbosity
Definition: primaryTab.h:44
vtxControls * vtxControl
Definition: primaryTab.h:51