Rev | Line | |
---|
[807] | 1 | # two simultaneous sources in one generator |
---|
| 2 | # |
---|
| 3 | # two vertexes are generated per event |
---|
| 4 | # |
---|
| 5 | # Source #1 |
---|
| 6 | # |
---|
| 7 | /gps/particle proton |
---|
| 8 | # |
---|
| 9 | # the incident surface is a disc in the y-z plane at -10 cm |
---|
| 10 | /gps/pos/type Plane |
---|
| 11 | /gps/pos/rot1 0 1 0 |
---|
| 12 | /gps/pos/rot2 0 0 1 |
---|
| 13 | /gps/pos/shape Circle |
---|
| 14 | /gps/pos/centre -10. 0. 0. cm |
---|
| 15 | /gps/pos/radius 10. cm |
---|
| 16 | # |
---|
| 17 | # cosine-law incidence |
---|
| 18 | /gps/ang/type cos |
---|
| 19 | # |
---|
| 20 | # the proton energy is in gaussian profile centered at 4 MeV |
---|
| 21 | /gps/ene/type Gauss |
---|
| 22 | /gps/ene/mono 4 MeV |
---|
| 23 | /gps/ene/sigma 0.5 MeV |
---|
| 24 | # |
---|
| 25 | # |
---|
| 26 | # source #2 |
---|
| 27 | /gps/source/add 1 |
---|
| 28 | # |
---|
| 29 | # this is gamma source |
---|
| 30 | /gps/particle gamma |
---|
| 31 | # |
---|
| 32 | # the incident surface is a square in the x-y plane at 10 cm |
---|
| 33 | /gps/pos/type Plane |
---|
| 34 | /gps/pos/centre 0. 0. 10. cm |
---|
| 35 | /gps/pos/shape Square |
---|
| 36 | /gps/pos/halfx 2 cm |
---|
| 37 | /gps/pos/halfy 2 cm |
---|
| 38 | # |
---|
| 39 | # normal incident |
---|
| 40 | /gps/direction 0 0 -1 |
---|
| 41 | # mono energy |
---|
| 42 | /gps/energy 1 MeV |
---|
| 43 | # |
---|
| 44 | # both guns will be fired at the same time |
---|
| 45 | # |
---|
| 46 | /gps/source/multiplevertex true |
---|
| 47 | # |
---|
| 48 | # |
---|
| 49 | # commands below are independent of gps |
---|
| 50 | # |
---|
| 51 | /analysis/filename test34.aida |
---|
| 52 | /analysis/maxeng 5 MeV |
---|
| 53 | /analysis/mineng 0 MeV |
---|
| 54 | /analysis/maxpos 10 cm |
---|
| 55 | /analysis/minpos -10 cm |
---|
| 56 | #/event/printModulo 10000 |
---|
| 57 | # |
---|
| 58 | /control/execute display_vrml.mac |
---|
| 59 | # |
---|
| 60 | #/tracking/verbose 1 |
---|
| 61 | /run/beamOn 100 |
---|
| 62 | |
---|
Note: See
TracBrowser
for help on using the repository browser.