1 | /control/verbose 2 |
---|
2 | /run/verbose 2 |
---|
3 | # |
---|
4 | /testhadr/TargetMat G4_Al |
---|
5 | /testhadr/TargetRadius 1 cm |
---|
6 | /testhadr/TargetLength 10 cm |
---|
7 | #/testhadr/NumberDivZ 100 |
---|
8 | /testhadr/DrawTracks all |
---|
9 | #/testhadr/CutsAll 1 mm |
---|
10 | #/testhadr/Physics QBBC |
---|
11 | # |
---|
12 | /run/initialize |
---|
13 | # |
---|
14 | # Use this open statement to create an OpenGL view: |
---|
15 | /vis/open OGL 600x600-0+0 |
---|
16 | # |
---|
17 | # Use this open statement to create a .prim file suitable for |
---|
18 | # viewing in DAWN: |
---|
19 | #/vis/open DAWNFILE |
---|
20 | # |
---|
21 | # Use this open statement to create a .heprep file suitable for |
---|
22 | # viewing in HepRApp: |
---|
23 | #/vis/open HepRepFile |
---|
24 | # |
---|
25 | # Use this open statement to create a .wrl file suitable for |
---|
26 | # viewing in a VRML viewer: |
---|
27 | #/vis/open VRML2FILE |
---|
28 | # |
---|
29 | # Disable auto refresh and quieten vis messages whilst scene and |
---|
30 | # trajectories are established: |
---|
31 | /vis/viewer/set/autoRefresh false |
---|
32 | /vis/verbose errors |
---|
33 | # |
---|
34 | # Draw geometry: |
---|
35 | /vis/drawVolume |
---|
36 | # |
---|
37 | # Specify view angle: |
---|
38 | /vis/viewer/set/viewpointThetaPhi 90. 0. |
---|
39 | # |
---|
40 | # Specify zoom value: |
---|
41 | #/vis/viewer/zoom 2. |
---|
42 | # |
---|
43 | # Specify style (surface or wireframe): |
---|
44 | #/vis/viewer/set/style wireframe |
---|
45 | # |
---|
46 | # Draw coordinate axes: |
---|
47 | #/vis/scene/add/axes 0 0 0 1 m |
---|
48 | # |
---|
49 | # Draw smooth trajectories at end of event, showing trajectory points |
---|
50 | # as markers 2 pixels wide: |
---|
51 | /vis/scene/add/trajectories smooth |
---|
52 | /vis/modeling/trajectories/create/drawByCharge |
---|
53 | #/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true |
---|
54 | #/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 |
---|
55 | # (if too many tracks cause core dump => /tracking/storeTrajectory 0) |
---|
56 | # |
---|
57 | # Draw hits at end of event: |
---|
58 | #/vis/scene/add/hits |
---|
59 | # |
---|
60 | # To draw only gammas: |
---|
61 | #/vis/filtering/trajectories/create/particleFilter |
---|
62 | #/vis/filtering/trajectories/particleFilter-0/add gamma |
---|
63 | # |
---|
64 | # To invert the above, drawing all particles except gammas, |
---|
65 | # keep the above two lines but also add: |
---|
66 | #/vis/filtering/trajectories/particleFilter-0/invert true |
---|
67 | # |
---|
68 | # Many other options are available with /vis/modeling and /vis/filtering. |
---|
69 | # For example, to select colour by particle ID: |
---|
70 | #/vis/modeling/trajectories/create/drawByParticleID |
---|
71 | #/vis/modeling/trajectories/drawByParticleID-0/set e- blue |
---|
72 | # |
---|
73 | # To superimpose all of the events from a given run: |
---|
74 | /vis/scene/endOfEventAction accumulate |
---|
75 | # |
---|
76 | # Re-establish auto refreshing and verbosity: |
---|
77 | /vis/viewer/set/autoRefresh true |
---|
78 | /vis/verbose warnings |
---|
79 | # |
---|
80 | # For file-based drivers, use this to create an empty detector view: |
---|
81 | #/vis/viewer/flush |
---|