-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
46 lines (28 loc) · 753 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---------------------------------------------------
Packages to build this:
>=Geant4.10
cmake > 2.6
root
---------------------------------------------------
Instructions:
To build, create the directory you would like to
build in, say build
$ mkdir build
$ ls
g4bg build
$ cd build
$ cmake ../g4bg
$ make
An example macro will be found in
macros/runexmaple.mac
To run in batch mode, execute with a macro such as:
./g4rc macros/runexample.mac
Ensure that all macros include a /run/initialization command or else they will
not work.
==== Visualization ===============
Visualization macros are found in vis/
To run, execute
./qsim
which should bring up a graphical command interface
To see the geometry:
/control/execute macros/vis.mac