Line | |
---|
1 | |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | #ifndef run_conditions_H |
---|
9 | #define run_conditions_H |
---|
10 | |
---|
11 | // %%%%%%%%%% |
---|
12 | // G4 headers |
---|
13 | // %%%%%%%%%% |
---|
14 | #include "G4ThreeVector.hh" |
---|
15 | #include "G4RotationMatrix.hh" |
---|
16 | |
---|
17 | // %%%%%%%%%% |
---|
18 | // Qt headers |
---|
19 | // %%%%%%%%%% |
---|
20 | #include <QDomDocument> |
---|
21 | #include <QtGui> |
---|
22 | |
---|
23 | // %%%%%%%%%%%%% |
---|
24 | // gemc headers |
---|
25 | // %%%%%%%%%%%%% |
---|
26 | #include "usage.h" |
---|
27 | |
---|
28 | // %%%%%%%%%%% |
---|
29 | // C++ headers |
---|
30 | // %%%%%%%%%%% |
---|
31 | #include <iostream> |
---|
32 | using namespace std; |
---|
33 | |
---|
34 | double get_number(string); |
---|
35 | |
---|
36 | class gcard_detector |
---|
37 | { |
---|
38 | private: |
---|
39 | G4ThreeVector pos; |
---|
40 | G4RotationMatrix rot; |
---|
41 | |
---|
42 | public: |
---|
43 | gcard_detector(){;} |
---|
44 | ~gcard_detector(){;} |
---|
45 | |
---|
46 | void set_position(string X, string Y, string Z); |
---|
47 | void set_rotation(string X, string Y, string Z); |
---|
48 | G4ThreeVector get_position(){return pos;} |
---|
49 | G4RotationMatrix get_rotation(){return rot;} |
---|
50 | |
---|
51 | }; |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | class run_conditions |
---|
56 | { |
---|
57 | public: |
---|
58 | |
---|
59 | run_conditions(gemc_opts); |
---|
60 | ~run_conditions(); |
---|
61 | |
---|
62 | map<string, gcard_detector> gDet_Map; |
---|
63 | vector<string> gTab_Vec; |
---|
64 | |
---|
65 | private: |
---|
66 | QDomDocument domDocument; |
---|
67 | |
---|
68 | }; |
---|
69 | |
---|
70 | |
---|
71 | #endif |
---|
72 | |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | |
---|
Note: See
TracBrowser
for help on using the repository browser.