Print

Print


Commit in slic/macros on MAIN
gps_multi.mac+13-81.1 -> 1.2


slic/macros
gps_multi.mac 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- gps_multi.mac	17 Dec 2005 22:14:20 -0000	1.1
+++ gps_multi.mac	17 Dec 2005 22:37:10 -0000	1.2
@@ -1,3 +1,12 @@
+# $Id: gps_multi.mac,v 1.2 2005/12/17 22:37:10 jeremy Exp $
+
+# 
+# Example Geant4 macro showing how to use the
+# GPS to generate multiple particles with
+# random angular and energy distribution
+# for each particle. 
+#
+
 # verbosity
 /gps/verbose 2
 
@@ -15,20 +24,16 @@
 /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
+/gps/ang/mintheta 1 deg
+/gps/ang/maxtheta 176 deg
 
 # phi range
-/gps/ang/minphi 0
-/gps/ang/maxphi 360
+/gps/ang/minphi 0 deg
+/gps/ang/maxphi 360 deg
 
 # particle type
 /gps/particle mu-
CVSspam 0.2.8