1 | # |
---|
2 | # Macro file for the initialization phase of "LXe.cc" |
---|
3 | # when runing in interactive mode |
---|
4 | # |
---|
5 | # Sets some default verbose |
---|
6 | # |
---|
7 | /run/verbose 2 |
---|
8 | /control/verbose 2 |
---|
9 | # |
---|
10 | # Create a scene handler/viewer for a specific graphics system |
---|
11 | # The compound command "/vis/open <vis-driver-name>" |
---|
12 | # is equivalent to the following set of commands: |
---|
13 | # |
---|
14 | # /vis/sceneHandler/create |
---|
15 | # /vis/viewer/create |
---|
16 | # |
---|
17 | # Create a scene handler and a viewer for the OGLIX driver |
---|
18 | /vis/open OGLIX |
---|
19 | # |
---|
20 | /vis/viewer/set/style wireframe |
---|
21 | # Set direction from target to camera. |
---|
22 | /vis/viewer/set/viewpointVector 1 1.5 1.1 |
---|
23 | #/vis/viewer/set/viewpointThetaPhi 90 180 deg |
---|
24 | #/vis/viewer/zoom 1.4 |
---|
25 | # |
---|
26 | # The compound command "/vis/drawVolume" |
---|
27 | # is equivalent to the following set of commands: |
---|
28 | # |
---|
29 | # /vis/scene/create |
---|
30 | # /vis/scene/add/volume |
---|
31 | # /vis/sceneHandler/attach |
---|
32 | # Create an empty scene and add the detector geometry to it |
---|
33 | /vis/drawVolume |
---|
34 | # |
---|
35 | # Store particle trajectories for visualization |
---|
36 | # (if too many tracks cause core dump => storeTrajectory 0) |
---|
37 | /tracking/storeTrajectory 1 |
---|
38 | # |
---|
39 | # Add trajectories to the current scene |
---|
40 | # Note: This command is not necessary since the C++ method DrawTrajectory() |
---|
41 | # is called in LXeEventAction::EndOfEventAction |
---|
42 | #/vis/scene/add/trajectories |
---|
43 | # |
---|
44 | # Requests viewer to accumulate hits, tracks, etc. at end of event. |
---|
45 | # detector remains or is redrawn. |
---|
46 | /vis/scene/endOfEventAction accumulate |
---|