Commit in slic/macros on MAIN | |||
gps_rand_pos.mac | +14 | added 1.1 |
added example macro showing how to generate particles with random start pos within the detector envelope
diff -N gps_rand_pos.mac --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ gps_rand_pos.mac 19 Dec 2005 23:30:26 -0000 1.1 @@ -0,0 +1,14 @@
+/gps/verbose 2 + +/gps/pos/type Volume +/gps/pos/shape Cylinder +/gps/pos/centre 0. 0. 0. cm +/gps/pos/radius 6.360 m +/gps/pos/halfz 4.95 m + +/gps/ene/type Mono +/gps/ene/mono 10 GeV + +/gps/particle mu- + +/gps/direction 0 1 0