| Line | |
|---|
| 1 | ### Set the verbosity off/on
|
|---|
| 2 | # get lots of info about the tracking of each particle through detector
|
|---|
| 3 | # (one line for each step of each track, including secondaries...)
|
|---|
| 4 | /process/verbose 0
|
|---|
| 5 | /tracking/verbose 0
|
|---|
| 6 | /run/verbose 2
|
|---|
| 7 | /event/verbose 0
|
|---|
| 8 |
|
|---|
| 9 | ### Initialise the detector and the physics
|
|---|
| 10 | /run/initialize
|
|---|
| 11 |
|
|---|
| 12 | ### Select the incident particle and its energy
|
|---|
| 13 | /gun/particle pi-
|
|---|
| 14 | #/gun/particle mu-
|
|---|
| 15 | #/gun/particle e-
|
|---|
| 16 | /gun/energy 100 GeV
|
|---|
| 17 |
|
|---|
| 18 | #/control/execute vis.mac
|
|---|
| 19 |
|
|---|
| 20 | ### Simulate ten events
|
|---|
| 21 | /run/beamOn 10
|
|---|
| 22 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.