Line | |
---|
1 | # See commands : |
---|
2 | /control/verbose 2 |
---|
3 | # ATLAS = detector 5 : |
---|
4 | #/test19det/detector 5 |
---|
5 | /test19det/detector 4 |
---|
6 | # Initialize : |
---|
7 | /run/initialize |
---|
8 | # Visualization setup, solid modeling, |
---|
9 | # needed so that G4OpenInventor works correctly : |
---|
10 | /vis~/set/culling off |
---|
11 | /vis~/set/drawing_style 2 |
---|
12 | /vis~/create_view/new_graphics_system OIWIN32 |
---|
13 | # Init event for detector 4 : |
---|
14 | /gun/position 0 -300 0 cm |
---|
15 | /gun/direction 0 1 0 |
---|
16 | #/gun/particle geantino |
---|
17 | /gun/particle e- |
---|
18 | /gun/energy 1 GeV |
---|
19 | # |
---|
20 | # Type by hand in the G4UIWin32 window : |
---|
21 | # ------------------------------------ |
---|
22 | #/vis~/draw/current |
---|
23 | #/vis~/show/view |
---|
24 | # |
---|
25 | # To shoot an event : |
---|
26 | #/run/beamOn 1 |
---|
27 | # To exit type : |
---|
28 | #/control/exit |
---|
29 | |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.