source: trunk/source/visualization/vis-mv.mac @ 1098

Last change on this file since 1098 was 562, checked in by garnier, 17 years ago

r565@mac-90108: laurentgarnier | 2007-08-14 14:18:03 +0200
mise a jour suite au plantage de svk (cheksum error) suite au crash du DD en juin

File size: 2.1 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 OGLIQT
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# Draw trajectories at end of event, showing trajectory points as
38# markers of size 2 pixels
39#/vis/scene/add/trajectories
40/vis/modeling/trajectories/create/drawByCharge
41/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
42/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
43# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
44#
45# To draw gammas only
46#/vis/filtering/trajectories/create/particleFilter
47#/vis/filtering/trajectories/particleFilter-0/add gamma
48#
49# To draw charged particles only
50#/vis/filtering/trajectories/particleFilter-0/invert true
51#
52# Many other options available with /vis/modeling and /vis/filtering.
53# For example, select colour by particle ID
54#/vis/modeling/trajectories/create/drawByParticleID
55#/vis/modeling/trajectories/drawByParticleID-0/set e- red
56#
57/vis/scene/endOfEventAction accumulate
58#
59# At end of each run, an automatic flush causes graphical output.
60#/run/beamOn 1
61# When you exit Geant4, you will find a file called scene-0.heprep.zip.
62# Unzipping this will give you three separate HepRep files suitable for
63# viewing in WIRED.
64# The first file will contain just detector geometry.
65# The second file will contain the detector plus one event.
66# The third file will contain the detector plus ten events.
Note: See TracBrowser for help on using the repository browser.