Line | |
---|
1 | # |
---|
2 | # Macro file for A01app |
---|
3 | # |
---|
4 | # Set verbosity |
---|
5 | # |
---|
6 | /control/verbose 2 |
---|
7 | # /vis/verbose confirmations |
---|
8 | # |
---|
9 | # Create a scene handler and viewer for HepRep |
---|
10 | # |
---|
11 | /vis/open HepRepFile |
---|
12 | #/vis/open DAWNFILE |
---|
13 | # |
---|
14 | # Draw detector |
---|
15 | # |
---|
16 | /vis/drawVolume |
---|
17 | # |
---|
18 | # Declare that trajectories and hits should be added to the scene |
---|
19 | # |
---|
20 | /vis/scene/add/trajectories |
---|
21 | /vis/scene/add/hits |
---|
22 | # |
---|
23 | # Execute the visualization via the /vis/viewer/flush that comes |
---|
24 | # automatically at the end of each /run. |
---|
25 | # |
---|
26 | /mydet/armAngle 60. deg |
---|
27 | /mydet/fieldValue 2. tesla |
---|
28 | /run/beamOn 1 |
---|
29 | # |
---|
30 | /mydet/armAngle 30. deg |
---|
31 | /mydet/momentum 2. GeV |
---|
32 | /mydet/sigmaMomentum 0. |
---|
33 | /mydet/sigmaAngle 0. |
---|
34 | /run/beamOn 1 |
---|
35 | # |
---|
36 | # This time, set visualization to accumulate many events into one picture |
---|
37 | # |
---|
38 | /vis/scene/endOfEventAction accumulate |
---|
39 | /mydet/sigmaAngle 2. deg |
---|
40 | /run/beamOn 4 |
---|
41 | # |
---|
Note: See
TracBrowser
for help on using the repository browser.