45 lines
958 B
Plaintext
Executable File
45 lines
958 B
Plaintext
Executable File
#----------------------------------------------------------------------------
|
|
# DEFAULT MACRO FOR THE
|
|
# GAMMAKNIFE EXAMPLE
|
|
#
|
|
#
|
|
# THIS MACRO SIMPLY PERMIT TO RUN A SIMULATION
|
|
# WITH THE VISUALISATION
|
|
#
|
|
# --------------------------------------------------------------------------------
|
|
|
|
/control/verbose 1
|
|
/tracking/verbose 0
|
|
/run/verbose 1
|
|
/event/verbose 0
|
|
|
|
|
|
/control/execute GPS.in # Defaults for the GeneralParticleSource
|
|
|
|
|
|
/score/create/boxMesh boxMesh_1
|
|
/score/mesh/boxSize 22.5 22.5 22.5 mm
|
|
/score/mesh/rotate/rotateX 360 deg # Note: Hack to enable rotation (as of 10.3)
|
|
/score/mesh/nBin 45 45 45
|
|
/score/quantity/energyDeposit eDep
|
|
/score/close
|
|
/score/list
|
|
|
|
/run/initialize
|
|
|
|
|
|
# /run/setCutForRegion PatientLog 100000 m
|
|
/run/setCut 1000000000 mm
|
|
|
|
/calorimeter/helmetSize 14
|
|
|
|
#/gammaknife/loadAngles MachineAngle.in
|
|
#/gammaknife/beamOn 10
|
|
|
|
/run/beamOn 100
|
|
|
|
/score/dumpQuantityToFile boxMesh_1 eDep eDep_scorer.out
|
|
|
|
|
|
|