source: trunk/source/geometry/magneticfield/test/field06/vis.mac @ 1202

Last change on this file since 1202 was 1199, checked in by garnier, 15 years ago

nvx fichiers dans CVS

File size: 1.5 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#/run/verbose 1
11#
12# create empty scene
13#
14/vis/scene/create
15#
16# Create a scene handler for a specific graphics system
17# (Edit the next line(s) to choose another graphic system)
18#
19# Use this open statement to get an .eps and .prim files
20# suitable for viewing in DAWN.
21#/vis/open DAWNFILE
22#
23# Use this open statement instead for OpenGL in immediate mode.
24/vis/open OGLIX
25#
26# Use this open statement instead to get a HepRep version 1 file
27# suitable for viewing in WIRED.
28#/vis/open HepRepFile
29#
30# Use this open statement instead to get a HepRep version 2 file
31# suitable for viewing in WIRED.
32#/vis/open HepRepXML
33#
34# Output an empty detector
35/vis/viewer/flush
36#
37# for drawing the tracks
38# (if too many tracks cause core dump => storeTrajectory 0)
39#
40/vis/scene/add/trajectories
41/tracking/storeTrajectory 1
42/vis/scene/endOfEventAction accumulate
43#/tracking/verbose 1
44#
45# At end of each run, an automatic flush causes graphical output.
46#/run/beamOn 1
47# When you exit Geant4, you will find a file called scene-0.heprep.zip.
48# Unzipping this will give you three separate HepRep files suitable for
49# viewing in WIRED.
50# The first file will contain just detector geometry.
51# The second file will contain the detector plus one event.
52# The third file will contain the detector plus ten events.
53#/gun/particle chargedgeantino
54#/gun/particle proton
55#/run/beamOn 1
56/vis/viewer/set/viewpointThetaPhi 45 45
57
Note: See TracBrowser for help on using the repository browser.