Graduation-Project/run.mac

40 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-02-13 14:50:36 +08:00
# Macro file for the initialization phase of "Neutron.cc"
# Sets some default verbose and initializes the graphic.
#
#
# Some Settings
/control/verbose 1
/run/verbose 0
/tracking/verbose 0
# user setting
# 1st reaction
# 2nd energy
# 3rd angular
# reaction setting
/Gene/PrimaryGA/SetReaction C13an # V51pn or C13an
/Gene/Detector/SetDetReaction C13an # V51pn or C13an, default: C13an
# energy setting
/Gene/PrimaryGA/SetBeamEnergy 1.0 MeV # alpha energy for 13C(a,n)16O reaction
# proton energy for 51V(p,n)51Cr reaction
# angular setting
/Gene/PrimaryGA/SetAngular ISO # ISO or ENDF
# detector offset setting
/Gene/Detector/SetZoffset 0.0 mm # default: 0 mm
/Gene/Detector/SetZactiveshift 0.0 mm # default: 0 mm
# Boron fraction in PE moderator
/Gene/Detector/SetBfraction 0.054 # perCent, default: 0.054%
# user setting for runNo of output file
/Gene/Run/RunNo 00_C13an_ISO_1000keV_zoffset0mm_zshift0mm_B054_100000evts_Coll60mm
/run/initialize
# gsp particle
/gun/particle neutron
/run/beamOn 1000