######################################################### # macro file for RE03 example # - for both batch and interactive modes # # in interactive mode # - to visualize trajectories, remove /vis/disable and # /vis/enable commands below. # - in sub-event parallel mode, to visualize trajectories # generated in worker threads, un-comment the specified # line in the vis.mac macro file. # ######################################################### # # test01 # # define scoring mesh # /score/create/boxMesh boxMesh_1 /score/mesh/boxSize 10. 10. 15. cm /score/mesh/nBin 1 1 30 /score/mesh/translate/xyz 0. 0. 15.5 cm # #/score/quantity/energyDeposit eDep /score/quantity/energyDeposit eDep MeV #/score/filter/particle alphaFilter alpha /score/quantity/nOfSecondary nsecondary #/score/filter/particle neutronFilter neutron /score/quantity/flatSurfaceFlux nflux /score/filter/particle neutronFilter neutron #/score/filter/particle protonFilter proton #/score/filter/particle gammaFilter gamma # /score/close # /score/list # ######################################## # #/control/doifInteractive /vis/disable /control/verbose 2 /run/verbose 2 /run/initialize # #/gps/particle ion #/gps/ion 3 7 /gps/particle proton /gps/pos/type Beam /gps/pos/shape Circle /gps/pos/centre 0. 0. -10. cm /gps/pos/radius 3. mm /gps/ang/rot1 0 1 0 /gps/ang/rot2 1 0 0 /gps/ang/type beam1d #/gps/ene/type Mono /gps/ene/mono 2.5 MeV #/gps/ene/sigma 0.2 MeV # ###/control/execute vis.mac # # /run/beamOn 10000000 #/control/doifInteractive /vis/enable # ######################################## # # Dump scorers to a file # /score/dumpAllQuantitiesToFile boxMesh_1 Soft_tissue.txt # # ######################################## # # drawing projection # #/control/ifInteractive draw.mac # #