Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
|
||||
# ---------------------------------------------------------
|
||||
# THIS MACRO PERMIT TO RECONSTRUCT THE SPREAD OUT BRAGG PEAK
|
||||
# MODULATING THE PROTON BEAM ENERGY BY MEANS OF A ROTATING
|
||||
# MODULATOR WHEEL.
|
||||
# HERE THE WHEEL IS ROTATED OF 1 DEGREE AT EACH RUN AND
|
||||
# ONE THOUSAND PROTON HYSTORIES ARE SIMULATED IN EACH
|
||||
# RUN
|
||||
# IN ORDER TO INCREASE THE RESOLUTION MORE EVENT CAN ADDED
|
||||
# OR A SMALLER ANGLE CAN BE CHOSEN.
|
||||
#
|
||||
# NOTE THAT THE MODULATOR MATERIAL IS POLTMETHYLMETHACRILATE
|
||||
# (PMMA) FOR DEFAULT. IF ONE WANT CARRY OUT A SIMULATION WITHOUT
|
||||
# THE MODULATOR HE/SHE MUST SET "Air" the <<ModMater>> in the
|
||||
# <<GetMater>> function of the HadrontherapyModulator.cc class
|
||||
#
|
||||
# USERS SHOULD GIVE A LOOK TO THE HELP OF THE IDLE TO KNOW
|
||||
# THE ACTIVATED MESSSENGERS FOR THE GEOMETRY
|
||||
#
|
||||
# ADDITIONAL INFORMATIONS ON THE MESSENGER AVAILABLE CAN BE FOUND
|
||||
# INSIDE THE HADRONTHERAPY DOCUMENTATION (http://www.ge.infn.it/geant4/examples/).
|
||||
#
|
||||
# ANYWAY SEND ME AN E-MAIL FOR ANY QUESTION: cirrone@lns.infn.it.
|
||||
# --------------------------------------------------------------------------------
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
# SETTING FOR THE PHYSICS MODELS
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowE
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
/run/initialize
|
||||
|
||||
# SET OF THE VISUALISATION CHARACTERISTICS
|
||||
/vis/scene/create
|
||||
/vis/open OGLIX
|
||||
/vis/viewer/zoom 3.5
|
||||
/vis/viewer/set/viewpointThetaPhi 50 130 deg
|
||||
/vis/viewer/pan -60 40 cm
|
||||
/tracking/storeTrajectory 1
|
||||
/vis/scene/endOfEventAction accumulate
|
||||
|
||||
# IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
# THE FOLLOWIG PARAMETERS
|
||||
# SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
/beamLine/RangeShifter/RSMat Air
|
||||
/beamLine/RangeShifter/thickness 1 cm
|
||||
|
||||
|
||||
# START OF THE MODULATOR ROTATION
|
||||
# IT CONSISTS IN A COMPLETE ROTATION
|
||||
# OF THE WHHEEL (360 DEG)
|
||||
|
||||
/run/beamOn 10
|
||||
/vis/viewer/flush
|
||||
|
||||
/modulator/angle 1 deg
|
||||
/run/beamOn 10
|
||||
/vis/viewer/flush
|
||||
|
||||
/modulator/angle 1 deg
|
||||
/run/beamOn 10
|
||||
/vis/viewer/flush
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Geant4 Physics List:
|
||||
#
|
||||
# - QGSP_BIC 3.3
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
/physics/addPackage QGSP_BIC
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 200
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,204 @@
|
||||
############################################################################
|
||||
#
|
||||
# This example macro file provides an overview of all possible physics
|
||||
# options available in the Hadrontherapy advanced example. A user can
|
||||
# create his own physics list by combining different physics constructors.
|
||||
#
|
||||
############################################################################
|
||||
#
|
||||
# Summary of available physics options and associated macro commands:
|
||||
#
|
||||
# Commands are arranged by the type of interactions and the different
|
||||
# particles.
|
||||
#
|
||||
# NOTE: For a given type of physics processes and a given particle ONLY ONE
|
||||
# physics constructor should be activated (the different options are
|
||||
# indicated by "Option X", where in some cases only one option exists).
|
||||
#
|
||||
# To create a complete physics list, a physics constructor must be
|
||||
# activated for each subpoint (A,B,C,...) of each of the different physics
|
||||
# interactions (I-V).
|
||||
#
|
||||
# Below the overview one can find an example set of macro commands for
|
||||
# activating physics constructors, where alternative options are also
|
||||
# specified (as comments).
|
||||
#
|
||||
#
|
||||
# I) Decay:
|
||||
# ---------
|
||||
# A. Unstable particles
|
||||
# Option 1: Decay model
|
||||
# Macro command: /physics/addPhysics Decay
|
||||
#
|
||||
#
|
||||
# II) Electromagnetic Physics
|
||||
# ---------------------------
|
||||
# A. Photons
|
||||
# Option 1: Livermore-based models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-Photon-EPDL
|
||||
# Option 2: Penelope-like models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-Photon-Penelope
|
||||
# Option 3: Standard models (Standard package)
|
||||
# Macro command: /physics/addPhysics EM-Photon-Standard
|
||||
#
|
||||
# B. Electrons
|
||||
# Option 1: Livermore-based models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-Electron-EEDL
|
||||
# Option 2: Penelope-like models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-Electron-Penelope
|
||||
# Option 3: Standard models (Standard package)
|
||||
# Macro command: /physics/addPhysics EM-Electron-Standard
|
||||
#
|
||||
# C. Charged hadrons, ions
|
||||
# Option 1: ICRU49-based models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-HadronIon-LowE
|
||||
# Option 2: Ziegler77-based models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-HadronIon-LowEZiegler1977
|
||||
# Option 3: Ziegler85-based models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-HadronIon-LowEZiegler1985
|
||||
# Option 4: Standard models (Standard package)
|
||||
# Macro command: /physics/addPhysics EM-HadronIon-Standard
|
||||
#
|
||||
# D. Positrons
|
||||
# Option 1: Penelope-like models (Low-energy package)
|
||||
# Macro command: /physics/addPhysics EM-Positron-Penelope
|
||||
# Option 2: Standard models (Standard package)
|
||||
# Macro command: /physics/addPhysics EM-Positron-Standard
|
||||
#
|
||||
# E. Muons
|
||||
# Option 1: Standard models (Standard package)
|
||||
# Macro command: /physics/addPhysics EM-Muon-Standard
|
||||
#
|
||||
#
|
||||
# III) Hadronic Physics (elastic)
|
||||
# -------------------------------
|
||||
# A. Hadrons (protons, neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
# Option 1: LEP elastic scattering model
|
||||
# Macro command: /physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
# Option 2: Bertini model (hadrons), LEP model (ions)
|
||||
# Macro command: /physics/addPhysics HadronicEl-HadronIon-Bert
|
||||
# Option 3: UHadronElasticProcess
|
||||
# Macro command: /physics/addPhysics HadronicEl-HadronIon-UElastic
|
||||
# Option 4: CHIPS (protons, neutrons), LEP model (other hadrons, ions)
|
||||
# Macro command: /physics/addPhysics HadronicEl-HadronIon-QElastic
|
||||
#
|
||||
#
|
||||
# IV) Hadronic Physics (inelastic)
|
||||
# --------------------------------
|
||||
# A. Protons, neutrons
|
||||
# Option 1: LEP model
|
||||
# Macro command: /physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
# Option 2: Precompound model (default evaporation)
|
||||
# Macro command: /physics/addPhysics HadronicInel-ProtonNeutron-Prec
|
||||
# Option 3: Precompound model (GEM evaporation)
|
||||
# Macro command: /physics/addPhysics HadronicInel-ProtonNeutron-PrecGEM
|
||||
# Option 4: Precompound model (default evaporation, Fermi break-up)
|
||||
# Macro command: /physics/addPhysics HadronicInel-ProtonNeutron-PrecFermi
|
||||
# Option 5: Precompound model (GEM evaporation, Fermi break-up)
|
||||
# Macro command: /physics/addPhysics HadronicInel-ProtonNeutron-PrecGEMFermi
|
||||
# Option 6: Bertini model
|
||||
# Macro command: /physics/addPhysics HadronicInel-ProtonNeutron-Bert
|
||||
# Option 7: Binary cascade model
|
||||
# Macro command: /physics/addPhysics HadronicInel-ProtonNeutron-Bin
|
||||
#
|
||||
# B. Pions
|
||||
# Option 1: LEP model
|
||||
# Macro command: /physics/addPhysics HadronicInel-Pion-LEP
|
||||
# Option 2: Bertini model
|
||||
# Macro command: /physics/addPhysics HadronicInel-Pion-Bert
|
||||
#
|
||||
# C. Ions (deuterons, tritons, alphas)
|
||||
# Option 1: LEP model
|
||||
# Macro command: /physics/addPhysics HadronicInel-Ion-LEP
|
||||
#
|
||||
#
|
||||
# V) Hadronic Physics (at rest)
|
||||
# -----------------------------
|
||||
# A. Muons-
|
||||
# Option 1: Muon Minus Capture model
|
||||
# Macro command: /physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
#
|
||||
#
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
/physics/addPhysics Decay
|
||||
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
### Alternatively:
|
||||
### /physics/addPhysics EM-Photon-Penelope
|
||||
### /physics/addPhysics EM-Photon-Standard
|
||||
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
### Alternatively:
|
||||
### /physics/addPhysics EM-Electron-Penelope
|
||||
### /physics/addPhysics EM-Electron-Standard
|
||||
|
||||
/physics/addPhysics EM-HadronIon-LowE
|
||||
### Alternatively:
|
||||
### /physics/addPhysics EM-HadronIon-LowEZiegler1977
|
||||
### /physics/addPhysics EM-HadronIon-LowEZiegler1985
|
||||
### /physics/addPhysics EM-HadronIon-Standard
|
||||
|
||||
/physics/addPhysics EM-Positron-Penelope
|
||||
### Alternatively:
|
||||
### /physics/addPhysics EM-Positron-Standard
|
||||
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
### Alternatively:
|
||||
### /physics/addPhysics HadronicEl-HadronIon-Bert
|
||||
### /physics/addPhysics HadronicEl-HadronIon-UElastic
|
||||
### /physics/addPhysics HadronicEl-HadronIon-QElastic
|
||||
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
### Alternatively:
|
||||
### /physics/addPhysics HadronicInel-ProtonNeutron-Prec
|
||||
### /physics/addPhysics HadronicInel-ProtonNeutron-PrecGEM
|
||||
### /physics/addPhysics HadronicInel-ProtonNeutron-PrecFermi
|
||||
### /physics/addPhysics HadronicInel-ProtonNeutron-PrecGEMFermi
|
||||
### /physics/addPhysics HadronicInel-ProtonNeutron-Bert
|
||||
### /physics/addPhysics HadronicInel-ProtonNeutron-Bin
|
||||
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
### Alternatively:
|
||||
### /physics/addPhysics HadronicInel-Pion-Bert
|
||||
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 200
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Livermore-based models for photons, electrons
|
||||
# * ICRU49-based models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * LEP model for protons, neutrons
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowE
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 500000
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Standard models for photons, electrons
|
||||
# * Standard models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Precompound Model (default evaporation, Fermi break-up)
|
||||
# for protons, neutrons
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-Standard
|
||||
/physics/addPhysics EM-Electron-Standard
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-Standard
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 5000
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Livermore-based models for photons, electrons
|
||||
# * Ziegler77-based models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * LEP model for protons, neutrons
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowEZiegler1977
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 500000
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Livermore-based models for photons, electrons
|
||||
# * Ziegler85-based models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * LEP model for protons, neutrons
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowEZiegler1985
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 500000
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Livermore-based models for photons, electrons
|
||||
# * ICRU49-based models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Bertini model for protons, neutrons
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowE
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-Bert
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 200
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Livermore-based models for photons, electrons
|
||||
# * ICRU49-based models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Binary model for protons, neutrons
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowE
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-Bin
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 200
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Livermore-based models for photons, electrons
|
||||
# * ICRU49-based models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * LEP model for protons, neutrons
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-EPDL
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowE
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 200
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
############################################################################
|
||||
#
|
||||
# PHYSICS LIST:
|
||||
# =============
|
||||
#
|
||||
# Decay:
|
||||
# ------
|
||||
# * Decay of all unstable particles
|
||||
#
|
||||
#
|
||||
# Electromagnetic Physics
|
||||
# -----------------------
|
||||
# * Livermore-based models for photons, electrons
|
||||
# * ICRU49-based models for charged hadrons, ions
|
||||
# * Standard models for positrons, muons
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (elastic)
|
||||
# --------------------------
|
||||
# * LEP elastic scattering model for hadrons (protons,
|
||||
# neutrons, pions), ions (deuterons, tritons, alphas)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Precompound model for protons, neutrons
|
||||
# Options: A. Default evaporation, no Fermi break-up (activated)
|
||||
# B. GEM evaporation, no Fermi break-up
|
||||
# C. GEM evaporation, Fermi break-up
|
||||
# D. Default evaporation evaporation, Fermi break-up
|
||||
# * Fission and capture models for neutrons
|
||||
# * LEP model for ions (deuterons, tritons, alphas)
|
||||
# * LEP model for pions (pions+, pions-)
|
||||
#
|
||||
#
|
||||
# Hadronic Physics (inelastic)
|
||||
# ----------------------------
|
||||
# * Capture model for muons-
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
####################
|
||||
# VERBOSITY LEVELS #
|
||||
####################
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
|
||||
###########
|
||||
# PHYSICS #
|
||||
###########
|
||||
|
||||
### A) EM PHYSICS AND DECAY
|
||||
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-Standard
|
||||
/physics/addPhysics EM-Electron-EEDL
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-LowE
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
|
||||
### B) HADRONIC PHYSICS
|
||||
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-Prec
|
||||
### Other options for Precompound model (for a description see above):
|
||||
### Option B. /physics/addPhysics HadronicInel-ProtonNeutron-PrecGEM
|
||||
### Option C. /physics/addPhysics HadronicInel-ProtonNeutron-PrecGEMFermi
|
||||
### Option D. /physics/addPhysics HadronicInel-ProtonNeutron-PrecFermi
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
|
||||
##############################
|
||||
# BEAM LINE SETTINGS AND RUN #
|
||||
##############################
|
||||
|
||||
/run/initialize
|
||||
|
||||
### IF YOU WANT A RANGE SHIFTER PLEASE CHANGE
|
||||
### THE FOLLOWIG PARAMETERS
|
||||
### SETTING FOR THE RANGE SHIFTER
|
||||
|
||||
#/beamLine/RangeShifter/thickness 4 cm
|
||||
#/beamLine/RangeShifter/RSMat Water
|
||||
|
||||
/run/beamOn 200
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
#----------------------------------------------------------------------------
|
||||
# MACRO FILE FOR THE VISUALIZATION OF THE
|
||||
# HADRONTHERAPY EXAMPLE USING THE OPENGL LIBRARIES
|
||||
#
|
||||
#
|
||||
# THIS MACRO ILLUSTRATES THE POSSIBILITY
|
||||
# FOR THE USER TO
|
||||
#
|
||||
# 1. Insert a range shifter of PMMA (default is air i.e. no range shifter!);
|
||||
# 2. Define the thickness of the range shifter;
|
||||
#
|
||||
#
|
||||
# NOTE THAT THE MODULATOR MATERIAL IS POLTMETHYLMETHACRILATE
|
||||
# (PMMA) FOR DEFAULT. IF ONE WANT CARRY OUT A SIMULATION WITHOUT
|
||||
# THE MODULATOR HE/SHE MUST SET "Air" the <<ModMater>> in the
|
||||
# <<GetMater>> function of the HadrontherapyModulator.cc class
|
||||
#
|
||||
# THEN THE USER CAN RUN HIS/HER SIMULATION
|
||||
#
|
||||
# LOOKING ON THE HELP OF THE IDLE FOR HOW TO CHANGE OTHE TOPIC FEATURES
|
||||
# OF THE BEAM LINE.
|
||||
# ADDITIONAL INFORMATIONS ON THE MESSENGER AVAILABLE CAN BE FOUND
|
||||
# INSIDE THE HADRONTHERAPY DOCUMENTATION (http://www.ge.infn.it/geant4/examples/).
|
||||
#
|
||||
# ANYWAY SEND ME AN E-MAIL FOR ANY QUESTION: cirrone@lns.infn.it.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
/control/verbose 1
|
||||
/tracking/verbose 0
|
||||
/run/verbose 0
|
||||
/event/verbose 0
|
||||
|
||||
# SETTING FOR THE PHYSICS MODELS
|
||||
/physics/addPhysics Decay
|
||||
/physics/addPhysics EM-Photon-Standard
|
||||
/physics/addPhysics EM-Electron-Standard
|
||||
/physics/addPhysics EM-Positron-Standard
|
||||
/physics/addPhysics EM-HadronIon-Standard
|
||||
/physics/addPhysics EM-Muon-Standard
|
||||
/physics/addPhysics HadronicEl-HadronIon-LElastic
|
||||
/physics/addPhysics HadronicInel-ProtonNeutron-LEP
|
||||
/physics/addPhysics HadronicInel-Ion-LEP
|
||||
/physics/addPhysics HadronicInel-Pion-LEP
|
||||
/physics/addPhysics HadronicAtRest-MuonMinus-Capture
|
||||
|
||||
/run/initialize
|
||||
|
||||
# SET OF THE VISUALISATION CHARACTERISTICS
|
||||
#/vis/scene/create
|
||||
#/vis/open OGLIX
|
||||
#/vis/viewer/flush
|
||||
|
||||
/vis/viewer/set/viewpointThetaPhi 0 180 deg
|
||||
/vis/viewer/zoom 1
|
||||
/vis/viewer/pan 10 80 cm
|
||||
/tracking/storeTrajectory 1
|
||||
/vis/scene/endOfEventAction accumulate
|
||||
#/vis/specify RODetectorLog 1
|
||||
/vis/viewer/update
|
||||
|
||||
# SETTING FOR THE RANGE SHIFTER
|
||||
#/beamLine/RangeShifter/thickness 0.01 mm
|
||||
#/beamLine/RangeShifter/RSMat Air
|
||||
#/tracking/verbose 1
|
||||
/vis/viewer/flush
|
||||
/run/beamOn 10000
|
||||
Reference in New Issue
Block a user