Last change
on this file since 480 was
474,
checked in by garnier, 17 years ago
|
r553@wl-72148: laurentgarnier | 2007-05-15 16:01:10 +0200
|
File size:
1.4 KB
|
Line | |
---|
1 | # |
---|
2 | # Macro file for the initialization phase of "exampleN03.cc" |
---|
3 | # when running in interactive mode |
---|
4 | # |
---|
5 | # Sets some default verbose |
---|
6 | # |
---|
7 | /control/verbose 2 |
---|
8 | /control/saveHistory |
---|
9 | /run/verbose 2 |
---|
10 | # |
---|
11 | # create empty scene |
---|
12 | # |
---|
13 | /vis/scene/create |
---|
14 | # |
---|
15 | # Create a scene handler for a specific graphics system |
---|
16 | # (Edit the next line(s) to choose another graphic system) |
---|
17 | # |
---|
18 | # Use this open statement to get an .eps and .prim files |
---|
19 | # suitable for viewing in DAWN. |
---|
20 | /vis/open DAWNFILE |
---|
21 | # |
---|
22 | # Use this open statement instead for OpenGL in immediate mode. |
---|
23 | /vis/open OGLIX |
---|
24 | # |
---|
25 | # Use this open statement instead to get a HepRep version 1 file |
---|
26 | # suitable for viewing in WIRED. |
---|
27 | #/vis/open HepRepFile |
---|
28 | # |
---|
29 | # Use this open statement instead to get a HepRep version 2 file |
---|
30 | # suitable for viewing in WIRED. |
---|
31 | #/vis/open HepRepXML |
---|
32 | # |
---|
33 | # Output an empty detector |
---|
34 | /vis/viewer/flush |
---|
35 | # |
---|
36 | # for drawing the tracks |
---|
37 | # (if too many tracks cause core dump => storeTrajectory 0) |
---|
38 | # |
---|
39 | /tracking/storeTrajectory 1 |
---|
40 | /vis/scene/endOfEventAction accumulate |
---|
41 | # |
---|
42 | # At end of each run, an automatic flush causes graphical output. |
---|
43 | #/run/beamOn 1 |
---|
44 | # When you exit Geant4, you will find a file called scene-0.heprep.zip. |
---|
45 | # Unzipping this will give you three separate HepRep files suitable for |
---|
46 | # viewing in WIRED. |
---|
47 | # The first file will contain just detector geometry. |
---|
48 | # The second file will contain the detector plus one event. |
---|
49 | # The third file will contain the detector plus ten events. |
---|
Note: See
TracBrowser
for help on using the repository browser.