Loading...
Searching...
No Matches
run1.mac
Go to the documentation of this file.
1#
2# Macro file for the initialization phase of "exampleRE02.cc"
3# when runing in interactive mode
4#
5# Sets some default verbose
6#
7/control/verbose 2
8/run/verbose 2
9#
10## Open a viewer
11#/vis/open
12## This opens the default viewer - see examples/basic/B1/vis.mac for a
13## more comprehensive overview of options. Also the documentation.
14#
15# draw scene
16#
17#/vis/viewer/set/viewpointThetaPhi 90 180 deg
18#/vis/viewer/zoom 1.4
19#/vis/viewer/flush
20#
21# for drawing the tracks
22# (if too many tracks cause core dump => storeTrajectory 0)
23#/tracking/storeTrajectory 1
24#/vis/scene/add/trajectories
25# (if you prefer refreshing each event, comment out next line)
26#/vis/scene/endOfEventAction accumulate
27#
28/gun/particle proton
29/gun/energy 150. MeV
30/gun/position 0 0 -100 cm
31/gun/direction 0 0 1
32#
33/run/beamOn 100000
34

Applications | User Support | Publications | Collaboration