Print

Print


Commit in slic/macros on MAIN
gps_multi.mac+37added 1.1
added example macro showing how to generate multiple particles with ang and ene distributions

slic/macros
gps_multi.mac added at 1.1
diff -N gps_multi.mac
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gps_multi.mac	17 Dec 2005 22:14:20 -0000	1.1
@@ -0,0 +1,37 @@
+# verbosity
+/gps/verbose 2
+
+# number of particles
+/gps/number 10
+
+# Point source at 0,0,0
+/gps/pos/type Point
+/gps/pos/centre 0 0 0 cm
+
+# linear power spectrum
+/gps/ene/type Lin
+# make sure to set this
+/gps/ene/gradient 1 MeV
+/gps/ene/min 1 GeV
+/gps/ene/max 10 GeV
+
+# mono (fixed) energy
+#/gps/ene/type Mono
+#/gps/ene/mono 10 GeV
+
+# isometric theta/phi distribution 
+/gps/ang/type iso
+
+# theta range
+/gps/ang/mintheta 1
+/gps/ang/maxtheta 176
+
+# phi range
+/gps/ang/minphi 0
+/gps/ang/maxphi 360
+
+# particle type
+/gps/particle mu-
+
+# run it
+/run/beamOn 2
CVSspam 0.2.8