source: trunk/examples/extended/analysis/A01/bheprep2zip.mac @ 893

Last change on this file since 893 was 807, checked in by garnier, 16 years ago

update

  • Property svn:executable set to *
File size: 840 bytes
Line 
1#
2# Macro file for A01app
3#
4# This file does visualization using the HepRep2 format.
5# This format is not yet ready for general use (still being debugged).
6#
7/run/verbose 2
8#
9#
10# Create empty scene ("world" is default)
11#
12/vis/scene/create A01Output.bheprep.zip
13#
14# Create a scene handler for a specific graphics system
15# Edit the next line(s) to choose another graphic system
16#
17/vis/open HepRepXML
18/vis/heprep/appendGeometry true
19/vis/viewer/set/culling global false
20/vis/viewer/zoom 0.0001
21/vis/viewer/set/viewpointThetaPhi 90 90.0001 deg
22#
23# Add volume to scene
24#
25/vis/scene/add/volume
26#
27# Add trajectories to scene
28#
29/vis/scene/add/trajectories
30#
31# Add hits to scene
32#
33/vis/scene/add/hits
34#
35# Do runs
36#
37/tracking/storeTrajectory 1
38/mydet/armAngle 60. deg
39/mydet/fieldValue 4. tesla
40/mydet/momentum 2. GeV
41/gun/particle e+
42/run/beamOn 10
Note: See TracBrowser for help on using the repository browser.