forked from JeffersonLab/remoll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
89 lines (52 loc) · 1.51 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
12 GeV Moller simulation
Seamus Riordan
January 7, 2014
Repository information is here:
https://github.com/JeffersonLab/remoll
Mailing list for repository updates is
subscribe at
https://mailman.jlab.org/mailman/listinfo/12gevmoller_sim
---------------------------------------------------
Packages to build this:
>=Geant4.9.6
cmake > 2.6
root
python
git (optional)
boost (optional)
---------------------------------------------------
Instructions:
To build, create the directory you would like to
build in, say build
mkdir build
cd build
cmake <path to remoll>
make
Field maps can be found here:
http://hallaweb.jlab.org/12GeV/Moller/downloads/remoll/
An example macro will be found in
macros/
You need to load libremollroot.so if you want to access
the classes written out to the ROOT files. Building
remoll will create a rootlogon.C which will do this
automatically.
Visualization
Visualization macros are found in vis/
To run, execute
./build/remoll
which should bring up a graphical command interface
To see the geometry you have to say:
/run/initialize
then
/control/execute vis/Qt.mac
(or another macro in the vis directory, if you prefer)
Due to a reported issue (https://github.com/JeffersonLab/remoll/issues/40)
you may need to run remoll with the following env var set:
LIBGL_ALWAYS_INDIRECT=1 ./build/remoll
---------------------------------------------------
Troubleshooting:
if you get errors about missing gitinfo.hh try
cmake <path to remoll>
make