| Line | |
|---|
| 1 | # $Id: proton.mac,v 1.2 2009/02/22 17:48:53 maire Exp $
|
|---|
| 2 | #
|
|---|
| 3 | # macro file for TestEm18.cc
|
|---|
| 4 | #
|
|---|
| 5 | /control/verbose 2
|
|---|
| 6 | /run/verbose 2
|
|---|
| 7 | #
|
|---|
| 8 | /testem/det/setMat Water
|
|---|
| 9 | /testem/det/setSize 1 cm
|
|---|
| 10 | #
|
|---|
| 11 | /testem/phys/setCuts 100 um
|
|---|
| 12 | #
|
|---|
| 13 | /run/initialize
|
|---|
| 14 | #
|
|---|
| 15 | /gun/particle proton
|
|---|
| 16 | /gun/energy 100 MeV
|
|---|
| 17 | #
|
|---|
| 18 | /testem/histo/setFileName proton
|
|---|
| 19 | /testem/histo/setFileType hbook
|
|---|
| 20 | #
|
|---|
| 21 | /testem/histo/setHisto 1 100 0 10 MeV #continuous eLoss
|
|---|
| 22 | /testem/histo/setHisto 2 100 0 10 MeV #secondary eLoss
|
|---|
| 23 | /testem/histo/setHisto 3 100 0 10 MeV #total eLoss
|
|---|
| 24 | /testem/histo/setHisto 4 100 0 300 keV #e- energy spectrum
|
|---|
| 25 | /testem/histo/setHisto 6 100 0 10 mm #step size
|
|---|
| 26 | #
|
|---|
| 27 | /testem/event/printModulo 100000
|
|---|
| 28 | #
|
|---|
| 29 | /run/beamOn 1000000
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.