Line | |
---|
1 | ################################################################################# |
---|
2 | # # |
---|
3 | # # |
---|
4 | # THIS EXAMPLE SHOWS THE DECAYS OF THE U238 CHAIN IN ANALOGUE MC MODE # |
---|
5 | # # |
---|
6 | # # |
---|
7 | ################################################################################# |
---|
8 | # |
---|
9 | # |
---|
10 | /histo/fileName u238c |
---|
11 | /histo/setHisto 0 50 0 5 MeV |
---|
12 | /histo/setHisto 1 50 0 20 MeV |
---|
13 | /histo/setHisto 2 50 0 25 MeV |
---|
14 | /histo/setHisto 3 50 0 25 MeV |
---|
15 | /histo/setHisto 4 50 0 5 MeV |
---|
16 | /histo/setHisto 5 50 0 20 MeV |
---|
17 | /histo/setHisto 6 50 0 10 MeV |
---|
18 | # |
---|
19 | # set the target/detector geometry |
---|
20 | /exrdm/det/setTargetRadius 0.01 mm |
---|
21 | /exrdm/det/setTargetLength 0.01 mm |
---|
22 | /exrdm/det/setDetectorThickness 20 cm |
---|
23 | /exrdm/det/setDetectorLength 40 cm |
---|
24 | # |
---|
25 | # must initialize |
---|
26 | /run/initialize |
---|
27 | # |
---|
28 | # change the cutoffs |
---|
29 | /run/setCutForRegion Target 10 cm |
---|
30 | /run/setCutForRegion Detector 50 cm |
---|
31 | # |
---|
32 | /run/verbose 0 |
---|
33 | /event/verbose 0 |
---|
34 | /tracking/verbose 0 |
---|
35 | /grdm/verbose 0 |
---|
36 | # |
---|
37 | # rdm is only applied to the target volume |
---|
38 | /grdm/noVolumes |
---|
39 | /grdm/selectVolume Target |
---|
40 | # |
---|
41 | # place the isotopes in the middle of the target(source) |
---|
42 | /gps/position 0 0 0 |
---|
43 | /gps/energy 0 keV |
---|
44 | /gps/particle ion |
---|
45 | /gps/ion 92 238 0 0 |
---|
46 | /run/beamOn 1000 |
---|
Note: See
TracBrowser
for help on using the repository browser.