23 lines
501 B
Plaintext
23 lines
501 B
Plaintext
### Set the verbosity off/on
|
|
# get lots of info about the tracking of each particle through detector
|
|
# (one line for each step of each track, including secondaries...)
|
|
/process/verbose 0
|
|
/tracking/verbose 0
|
|
/run/verbose 2
|
|
/event/verbose 0
|
|
|
|
### Initialise the detector and the physics
|
|
/run/initialize
|
|
|
|
### Select the incident particle and its energy
|
|
/gun/particle pi-
|
|
#/gun/particle mu-
|
|
#/gun/particle e-
|
|
/gun/energy 100 GeV
|
|
|
|
#/control/execute vis.mac
|
|
|
|
### Simulate ten events
|
|
/run/beamOn 10
|
|
|