Rev | Line | |
---|
[1230] | 1 | # $Id: electron.mac,v 1.2 2009/10/12 21:47:57 maire Exp $ |
---|
[807] | 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 | # |
---|
[1230] | 11 | /testem/phys/addPhysics standard |
---|
| 12 | # |
---|
[807] | 13 | /testem/phys/setCuts 100 um |
---|
| 14 | # |
---|
| 15 | /run/initialize |
---|
| 16 | # |
---|
| 17 | /gun/particle e- |
---|
| 18 | /gun/energy 10 MeV |
---|
| 19 | # |
---|
| 20 | /testem/histo/setFileName electron |
---|
| 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 10 MeV #e- energy spectrum |
---|
| 25 | /testem/histo/setHisto 5 100 0 10 MeV #gamma energy spectrum |
---|
| 26 | /testem/histo/setHisto 6 100 0 10 mm #step size |
---|
| 27 | # |
---|
| 28 | /testem/event/printModulo 100000 |
---|
| 29 | # |
---|
| 30 | /run/beamOn 1000000 |
---|
Note: See
TracBrowser
for help on using the repository browser.