| Line | |
|---|
| 1 | # two beams in a generator
|
|---|
| 2 | #
|
|---|
| 3 | # beam #1
|
|---|
| 4 | # default intensity is 1 now change to 5.
|
|---|
| 5 | /gps/source/intensity 5.
|
|---|
| 6 | #
|
|---|
| 7 | /gps/particle proton
|
|---|
| 8 | /gps/pos/type Beam
|
|---|
| 9 | #
|
|---|
| 10 | # the incident surface is in the y-z plane
|
|---|
| 11 | /gps/pos/rot1 0 1 0
|
|---|
| 12 | /gps/pos/rot2 0 0 1
|
|---|
| 13 | #
|
|---|
| 14 | # the beam spot is centered at the origin and is
|
|---|
| 15 | # of 1d gaussian shape with a 1 mm central plateau
|
|---|
| 16 | /gps/pos/shape Circle
|
|---|
| 17 | /gps/pos/centre 0. 0. 0. mm
|
|---|
| 18 | /gps/pos/radius 1. mm
|
|---|
| 19 | /gps/pos/sigma_r .2 mm
|
|---|
| 20 | #
|
|---|
| 21 | # the beam is travelling along the X_axis with 5 degrees dispersion
|
|---|
| 22 | /gps/ang/rot1 0 0 1
|
|---|
| 23 | /gps/ang/rot2 0 1 0
|
|---|
| 24 | /gps/ang/type beam1d
|
|---|
| 25 | /gps/ang/sigma_r 5. deg
|
|---|
| 26 | #
|
|---|
| 27 | # the beam energy is in gaussian profile centered at 400 MeV
|
|---|
| 28 | /gps/ene/type Gauss
|
|---|
| 29 | /gps/ene/mono 400 MeV
|
|---|
| 30 | /gps/ene/sigma 50. MeV
|
|---|
| 31 |
|
|---|
| 32 | # beam #2
|
|---|
| 33 | # 2x the instensity of beam #1
|
|---|
| 34 | /gps/source/add 10.
|
|---|
| 35 | #
|
|---|
| 36 | # this is a electron beam
|
|---|
| 37 | /gps/particle e-
|
|---|
| 38 | /gps/pos/type Beam
|
|---|
| 39 | # it beam spot is of 2d gaussian profile with a 1x2 mm2 central plateau
|
|---|
| 40 | # it is in the x-y plane centred at the orgin
|
|---|
| 41 | /gps/pos/centre 0. 0. 0. mm
|
|---|
| 42 | /gps/pos/halfx 0.5 mm
|
|---|
| 43 | /gps/pos/halfy 1. mm
|
|---|
| 44 | /gps/pos/sigma_x 0.1 mm
|
|---|
| 45 | # the spread in y direction is stronger
|
|---|
| 46 | /gps/pos/sigma_y 0.2 mm
|
|---|
| 47 | #
|
|---|
| 48 | #the beam is travelling along -Z_axis
|
|---|
| 49 | /gps/ang/type beam2d
|
|---|
| 50 | /gps/ang/sigma_x 2. deg
|
|---|
| 51 | /gps/ang/sigma_y 1. deg
|
|---|
| 52 | # gaussian energy profile
|
|---|
| 53 | /gps/ene/type Gauss
|
|---|
| 54 | /gps/ene/mono 600 MeV
|
|---|
| 55 | /gps/ene/sigma 50. MeV
|
|---|
| 56 | #
|
|---|
| 57 | #
|
|---|
| 58 | /analysis/filename test31.aida
|
|---|
| 59 | /analysis/maxeng 800 MeV
|
|---|
| 60 | /analysis/mineng 200 MeV
|
|---|
| 61 | /analysis/maxpos 5 mm
|
|---|
| 62 | /analysis/minpos -5 mm
|
|---|
| 63 | /event/printModulo 10000
|
|---|
| 64 | #/tracking/verbose 1
|
|---|
| 65 | /run/beamOn 10000
|
|---|
| 66 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.