source: trunk/examples/extended/eventgenerator/exgps/macros/test34.g4mac @ 1337

Last change on this file since 1337 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 1.2 KB
Line 
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 2.5 MeV
21/gps/ene/type Gauss
22/gps/ene/mono 2.5 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/filetype root
52/analysis/filename test34.aida
53/analysis/maxeng 5 MeV
54/analysis/mineng 0 MeV
55/analysis/maxpos 10 cm
56/analysis/minpos -10 cm
57/event/printModulo 10000
58#
59#/control/execute display.mac
60#
61#/tracking/verbose 1
62/run/beamOn 2000
63
Note: See TracBrowser for help on using the repository browser.