Import Geant4 9.6.0 source tree
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
/run/initialize
|
||||
|
||||
##########################
|
||||
# Visualisation
|
||||
# Visualisation
|
||||
#
|
||||
|
||||
/vis/scene/create
|
||||
/vis/open OGLI
|
||||
/vis/open OGL
|
||||
/vis/viewer/flush
|
||||
/vis/viewer/set/viewpointThetaPhi 30 140 deg
|
||||
/vis/viewer/zoom 1
|
||||
@@ -42,21 +43,75 @@
|
||||
# Suggested values of cut and step:
|
||||
#
|
||||
# Set cuts ONLY inside the detector
|
||||
/Physics/setDetectorCuts 0.01 mm
|
||||
/Physics/setDetectorCuts 0.001 mm
|
||||
|
||||
# Set cuts OUTSIDE the detector
|
||||
/Physics/setCuts 1 mm
|
||||
|
||||
/Step/waterPhantomStepMax 0.01 mm
|
||||
/Step/waterPhantomStepMax 0.005 mm
|
||||
|
||||
#########################
|
||||
# Set the primary particle type,
|
||||
# energy and position along the X direction
|
||||
#
|
||||
/gun/particle proton
|
||||
/beam/energy/meanEnergy 62 MeV
|
||||
/beam/energy/sigmaEnergy 400 keV
|
||||
/beam/position/Xposition -3000 mm
|
||||
|
||||
|
||||
#---------------------------gps-----------------
|
||||
/gps/pos/shape Circle
|
||||
/gps/pos/centre -310. 0. 0. cm
|
||||
/gps/pos/radius 0. mm
|
||||
/gps/pos/sigma_r 2. mm
|
||||
/gps/particle proton
|
||||
/gps/pos/type Beam
|
||||
|
||||
|
||||
# the incident surface is in the y-z plane
|
||||
|
||||
/gps/pos/rot1 0 1 0
|
||||
/gps/pos/rot2 0 0 1
|
||||
|
||||
# the beam is travelling along the x-axis without any angular dispersion (angular despersion set to 0.0)
|
||||
#
|
||||
|
||||
/gps/ang/rot1 0 0 1
|
||||
/gps/ang/rot2 0 1 0
|
||||
/gps/ang/type beam1d
|
||||
/gps/ang/sigma_r 0. deg
|
||||
|
||||
|
||||
# the beam energy is in gaussian profile
|
||||
#
|
||||
/gps/ene/type Gauss
|
||||
/gps/ene/mono 62 MeV
|
||||
/gps/ene/sigma 0.3 MeV
|
||||
|
||||
|
||||
##############################################################################################################################
|
||||
# DETECTOR DESCRIPTION
|
||||
###################################################
|
||||
# USE THE FOLLOWING FOUR LINES FOR DEFINITION OF PHANTOM
|
||||
###################################################
|
||||
#
|
||||
#/changePhantom/position 20. 0. 0. cm
|
||||
#/changePhantom/update
|
||||
|
||||
/changePhantom/size 40 40 40 cm
|
||||
/changePhantom/position 20 0 0 cm
|
||||
|
||||
###################################################
|
||||
# USE THE FOLLOWING FOR A VOXELLIZED DETECTOR
|
||||
###################################################
|
||||
#
|
||||
|
||||
|
||||
/changeDetector/size 4 4 4 cm
|
||||
/changeDetector/voxelSize .1 40 40 mm
|
||||
|
||||
# Put the detector in the lower left corner of the phantom
|
||||
#
|
||||
/changeDetector/displacement 0 18 18 cm
|
||||
/changePhantom/update
|
||||
|
||||
|
||||
#########################
|
||||
# Display the event number
|
||||
@@ -73,7 +128,8 @@
|
||||
# Default material is water liquid
|
||||
#/changePhantom/material G4_PLEXIGLASS
|
||||
|
||||
/run/beamOn 500
|
||||
# Create the SimulationOutputs/proton/BraggPeak directory before to use the following command
|
||||
# /control/shell mv DoseDistribution.root SimulationOutputs/proton/BraggPeak/protonBraggPeak.root
|
||||
/run/beamOn 100
|
||||
|
||||
# Create the SimulationOutputs/proton/BraggPeak directory before to use the following command
|
||||
/control/shell mv DoseDistribution.root esperimentalData/proton/BraggPeak/protonBraggPeak.root
|
||||
|
||||
|
||||
Reference in New Issue
Block a user