source: trunk/examples/extended/analysis/A01/heprep2gz.mac

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

update

File size: 806 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.heprep.gz
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/viewer/set/culling global false
19/vis/viewer/zoom 0.0001
20/vis/viewer/set/viewpointThetaPhi 90 90.0001 deg
21#
22# Add volume to scene
23#
24/vis/scene/add/volume
25#
26# Add trajectories to scene
27#
28/vis/scene/add/trajectories
29#
30# Add hits to scene
31#
32/vis/scene/add/hits
33#
34# Do runs
35#
36/tracking/storeTrajectory 1
37/mydet/armAngle 60. deg
38/mydet/fieldValue 4. tesla
39/mydet/momentum 2. GeV
40/gun/particle e+
41/run/beamOn 10
Note: See TracBrowser for help on using the repository browser.