- GEANT4:
11.2.1
- CRY:
1.7
-
Execute the biniary file directly after compilement to run in interactive mode.
init_vis.mac
will be loaded automatically in this situation. -
Execute the biniary file with input
*.mac
files to run in batch mode. Two*.mac
files at most, seephysics
in Customized macro commands.
spectra
directory is for energy spectra storing. See /source/spectra
in Customized macro commands.
The spectrum format is showing below:
Energy (MeV) | Relative intensity
e.g. 0.0253 eV monoenergetic particle
2.53E-08 1
output
directory is for data storing.
e.g. 4 × 4 array
0 1 2 ... 14 15 0 1 2 ... 14 15 0 ...
-
Files whos names contain
Right
orLeft
are the photo-electron data. The*Right*.data
is exactly the same with the*Left*.data
, in which both right and left PMT data are stored.0R 0L 1R 1L ... 14R 14L 15R 15L 0R 0L ...
-
The data shown below are not stored in form of the detector array.
betaKEHe8, betaKELi9, decayTimeHe8, decayTimeLi9, neutronGT, neutronKE, capTimeH, capTimeGd, muonKEPrimary, neutronKEPrimary
- Time:
μs
- Energy deposition:
MeV
- Kenitic energy:
keV
- Primary kenitic energy:
GeV
- Track length:
mm
Use this command before
/run/initialize
/detector/arraySize
/detector/detectorX
/detector/detectorY
/detector/detectorZ
/detector/moduleDistance
/detector/gdFilmThickness
/detector/addLabRoom
-
/detector/arraySize
- Detector array size, a positive integer.
- Default value:
4
.
-
/detector/detectorX
- Detector X dimension, a positive double with unit (
cm
by default). - Default value:
10. cm
.
- Detector X dimension, a positive double with unit (
-
/detector/detectorY
- Detector Y dimension, a positive double with unit (
cm
by default). - Default value:
10. cm
.
- Detector Y dimension, a positive double with unit (
-
/detector/detectorZ
- Detector Z dimension, a positive double with unit (
cm
by default). - Default value:
100. cm
.
- Detector Z dimension, a positive double with unit (
-
/detector/moduleDistance
- Distance between modules, a positive double with unit (
cm
by default). - Default value:
2. cm
.
- Distance between modules, a positive double with unit (
-
/detector/gdFilmThickness
- Gd film thickness, a positive double with unit (
um
, μm, by default). - Default value:
30. um
.
- Gd film thickness, a positive double with unit (
-
/detector/addLabRoom
- Available values:
true
/false
. - Adding/removing lab room.
- Default value:
true
.
- Available values:
Use this command after
/run/initialize
/source/type
/source/spectra
/source/position
/source/neutrinoPosition
-
/source/type
- Available values:
Cs137
/Co60
/Na22
/Cs137g
/Co60g
/Am-Be-n
/GUN
/He8
/Li9
/NEUTRINO
/MUON
/COSMICNEUTRON
/CRY
(Linux only)/GPS
. Cs137
/Co60
/Na22
/Cs137g
/Co60g
/Am-Be-n
/GUN
with positionCENTER
/EDGE
;
GUN
with positionINSIDE
orCOMMAND
(means defined by UI command/gun/position
). Energy, momentum, particle etc. must be defined with sourceGUN
using UI command/gun/**
.
Position, momentum, particle etc. must be defined with sourceGPS
using UI command/gps/**
.- Default value:
NEUTRINO
.
- Available values:
-
/source/spectra
- Spectra of neutron and positron, two strings at most. See spectra directory.
First one should be spectrum of neutron.
Second one, if there is, should be spectrum of positron. - Command is valid only for
NEUTRINO
,Am-Be-n
andCOSMICNEUTRON
. - Default value:
IBDNeutron.spec IBDPositron.spec
.
- Spectra of neutron and positron, two strings at most. See spectra directory.
-
/source/position
- Available values:
CENTER
/EDGE
/INSIDE
/COMMAND
- Position for
Cs137
/Co60
/Na22
/Cs137g
/Co60g
/Am-Be-n
/GUN
Direction must be defined forGUN
with positionCENTER
/EDGE
.
Direction and position must be defined forGUN
with positionCOMMAND
.
Direction is isotropic forGUN
with positionINSIDE
. - Default value:
CENTER
.
- Available values:
-
/source/neutrinoPosition
- Position for
NEUTRINO
, two positive integers [0 - size × size, 0 - 5].
First integer is position in the detector array, size × size means random.
Second integer is position in the detector module, 5 means random.
Second integer is valid only when arrayPosition < size × size. - Default value:
size × size 5
.
- Position for
Use this command in the second input
*.mac
file, the first should be the one with/run/initialize
and/run/beamOn
.
This*.mac
file is optional. Without this file optical process and muonic atom decay process will be off.
/physics/optical
/physics/muonicDecay
-
/physics/optical
- Available values:
true
/false
. - Turning on/off optical process.
- Default value:
true
.
- Available values:
-
/physics/muonicDecay
- Available values:
true
/false
. - Turning on/off muonic atom decay process.
- Default value:
true
.
- Available values:
Use this command after
/run/initialize
/time/timeInterval
/time/timeInterval
- Time interval between parent particle and secondaries, a positive double with unit (
us
, μs, by default). - If time interval between parent particle and secondaries is bigger than this value, they will be treated as two signals.
- Default value:
1. us
.
- Time interval between parent particle and secondaries, a positive double with unit (