Files
geant4/examples/extended/hadronic/Hadr03/nFission.mac
2023-06-30 09:09:57 +02:00

43 lines
1.1 KiB
Plaintext

#
# Macro for "Hadr03.cc"
#
# NB. for neutronHP, do not forget to activate the fission fragment model
# via one, and only one, of the following two UI commands:
# - To use the default fission model:
#/process/had/particle_hp/produce_fission_fragment true
#
# - To use the alternative Wendt fission model:
#/process/had/particle_hp/use_Wendt_fission_model true
#
# alternatively, this is done in Hadr03.cc
#
/control/verbose 2
/run/verbose 2
#
/testhadr/det/setIsotopeMat U235 92 235 19.05 g/cm3
/testhadr/det/setSize 10 m
#
/process/had/verbose 1
#
/run/initialize
#
/gun/particle neutron
/gun/energy 1 eV
#
/process/inactivate hadElastic
###/process/inactivate neutronInelastic
/process/inactivate nCapture
#
/analysis/setFileName nFission
/analysis/h1/set 2 100 0 10 MeV #gamma
/analysis/h1/set 4 100 0 10 MeV #neutron
/analysis/h1/set 8 100 0 150 MeV #nuclei
/analysis/h1/set 11 100 150 250 MeV #Q
/analysis/h1/set 13 200 1 200 none #A
#
# optional, to avoid excessive printing.
/testhadr/run/printStat false
#
/run/printProgress 1000
/run/beamOn 10000