Geant4 Cross Reference |
1 # test13 1 # test13 2 # 2 # 3 /run/initialize 3 /run/initialize 4 # 4 # 5 /gps/particle geantino 5 /gps/particle geantino 6 6 7 # source 7 # source 8 /gps/pos/type Volume 8 /gps/pos/type Volume 9 /gps/pos/shape Para 9 /gps/pos/shape Para 10 /gps/pos/centre 2. 2. 2. cm 10 /gps/pos/centre 2. 2. 2. cm 11 /gps/pos/halfx 2. cm 11 /gps/pos/halfx 2. cm 12 /gps/pos/halfy 3. cm 12 /gps/pos/halfy 3. cm 13 /gps/pos/halfz 4. cm 13 /gps/pos/halfz 4. cm 14 /gps/pos/paralp 0.523599 14 /gps/pos/paralp 0.523599 15 /gps/pos/parthe 0.523599 15 /gps/pos/parthe 0.523599 16 /gps/pos/parphi 0.523599 16 /gps/pos/parphi 0.523599 17 /gps/pos/parphi 0.523599 17 /gps/pos/parphi 0.523599 18 18 19 # angular distribution 19 # angular distribution 20 /gps/ang/type cos 20 /gps/ang/type cos 21 21 22 # energy distribution 22 # energy distribution 23 /gps/ene/type Exp 23 /gps/ene/type Exp 24 /gps/ene/min 2. MeV 24 /gps/ene/min 2. MeV 25 /gps/ene/max 10. MeV 25 /gps/ene/max 10. MeV 26 /gps/ene/ezero 6. 26 /gps/ene/ezero 6. 27 27 28 # commands below are independent of gps 28 # commands below are independent of gps 29 # 29 # 30 /analysis/setFileName test10 30 /analysis/setFileName test10 31 /analysis/h1/set 1 100 1 15 MeV 31 /analysis/h1/set 1 100 1 15 MeV 32 /analysis/h2/set 4 120 0 360 deg none linear 1 32 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 33 # 33 # 34 #/control/execute vis.mac 34 #/control/execute vis.mac 35 # 35 # 36 /run/printProgress 10000 36 /run/printProgress 10000 37 # 37 # 38 /run/beamOn 100000 38 /run/beamOn 100000