Line | |
---|
1 | # $Id: range.mac,v 1.12 2009/09/15 12:51:49 maire Exp $ |
---|
2 | # |
---|
3 | # Macro file for "TestEm1.cc" |
---|
4 | # |
---|
5 | # compute the csda range of the primary particle |
---|
6 | # with or without fluctuations |
---|
7 | # |
---|
8 | /control/verbose 2 |
---|
9 | /run/verbose 2 |
---|
10 | # |
---|
11 | /testem/det/setMat Water |
---|
12 | /testem/det/setSize 10 cm |
---|
13 | # |
---|
14 | /testem/phys/addPhysics local |
---|
15 | ###/testem/phys/addPhysics empenelope |
---|
16 | ###/testem/phys/addPhysics emlivermore |
---|
17 | # |
---|
18 | /run/initialize |
---|
19 | # |
---|
20 | # prevent any secondary production |
---|
21 | /testem/phys/setCuts 1 km |
---|
22 | # |
---|
23 | # no step limitation from eLoss |
---|
24 | /process/eLoss/StepFunction 1 100 um |
---|
25 | # |
---|
26 | # eliminate straggling |
---|
27 | /process/eLoss/fluct false |
---|
28 | /process/inactivate msc |
---|
29 | # |
---|
30 | /testem/gun/setDefault |
---|
31 | /gun/particle proton |
---|
32 | /gun/energy 100 MeV |
---|
33 | # |
---|
34 | /testem/histo/setFileName range |
---|
35 | /testem/histo/setFileType hbook |
---|
36 | /testem/histo/setHisto 1 150 70 85 mm # csda range |
---|
37 | # |
---|
38 | /testem/event/printModulo 4000 |
---|
39 | # |
---|
40 | /run/beamOn 40000 |
---|
Note: See
TracBrowser
for help on using the repository browser.