source: trunk/examples/extended/eventgenerator/exgps/macros/test30.g4mac @ 1317

Last change on this file since 1317 was 807, checked in by garnier, 16 years ago

update

File size: 871 bytes
Line 
1# 1D accelerator beam
2#
3/gps/particle proton
4/gps/pos/type Beam
5#
6# the incident surface is in the y-z plane
7/gps/pos/rot1 0 1 0
8/gps/pos/rot2 0 0 1
9#
10# the beam spot is centered at the origin and is
11# of 1d gaussian shape with a 3mm central plateau
12/gps/pos/shape Circle
13/gps/pos/centre 0. 0. 0. mm
14/gps/pos/radius 3. mm
15/gps/pos/sigma_r .2 mm
16#
17# the beam is travelling along the x-axis with 5 degrees dispersion
18/gps/ang/rot1 0 0 1
19/gps/ang/rot2 0 1 0
20/gps/ang/type beam1d 
21/gps/ang/sigma_r 5. deg
22
23# the beam energy is in gaussian profile centered at 400 MeV
24/gps/ene/type Gauss
25/gps/ene/mono 400 MeV
26/gps/ene/sigma 50. MeV
27
28#
29# commands below are independent of gps
30#
31/analysis/filename test30.aida
32/analysis/maxeng 800 MeV
33/analysis/mineng 200 MeV
34/analysis/maxpos 5 mm
35/analysis/minpos -5 mm
36/event/printModulo 10000
37#/tracking/verbose 1
38/run/beamOn 10000
39
Note: See TracBrowser for help on using the repository browser.