# Macro file for the initialization phase of example B4 # when running in interactive mode without visualization # # Set some default verbose # /control/verbose 2 /control/saveHistory /run/verbose 2 # setup the Strip Tracker Parameters /control/execute macro/init_StripTracker.mac # Setup the Phantom ## setup the spherical phantom with inserts /control/execute macro/init_SphericalPhantomWithCompensator.mac /Phantom/Sphere/Insert2/SetMaterial Perspex /Phantom/Sphere/Insert1/SetMaterial Perspex # setup the Range Telescope /control/execute macro/init_RangeTelescope.mac # Initialize Geometry /Beamline/Update /run/initialize # Set the initial beam parameters /control/execute macro/gps_iThemba_125MeV.mac # Turn on visualization #/control/execute macro/init_vis.mac /histo/setFileName pss_JTUpdate_test /run/initialize /run/beamOn 1000