source: trunk/examples/novice/gemc/src/run_conditions.h @ 811

Last change on this file since 811 was 807, checked in by garnier, 16 years ago

update

File size: 1008 bytes
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>
32using namespace std;
33
34double get_number(string);   
35
36class 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
55class 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.