1
# This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus
3
# MAUS is free software: you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation, either version 3 of the License, or
6
# (at your option) any later version.
8
# MAUS is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with MAUS. If not, see <http://www.gnu.org/licenses/>.
17
Configuration to generate a beam distribution with binomial distribution in
18
the spill and various distributions for difference particle types
21
#pylint: disable = C0103, R0801
24
mrd = os.environ["MAUS_ROOT_DIR"]
26
simulation_geometry_filename = os.path.join(
27
mrd, "tests", "integration", "test_simulation", "test_physics_model",
28
"PhysicsModelTest.dat"
30
spill_generator_number_of_spills = 2
34
simulation_reference_particle = { # used for setting particle phase
35
"position":{"x":0.0, "y":-0.0, "z":0.0},
36
"momentum":{"x":0.0, "y":0.0, "z":1.0},
37
"particle_id":211, "energy":300.0, "time":0.0, "random_seed":0
41
"particle_generator":"counter", # routine for generating empty primaries
42
"random_seed":0, # random seed for beam generation; controls also how the MC
47
"position":{"x":0.0, "y":0.0, "z":0.0},
48
"momentum":{"x":0.0, "y":0.0, "z":1.0},
53
}, # reference particle
54
"n_particles_per_spill":1,
55
"random_seed_algorithm":"incrementing_random", # algorithm for seeding MC
56
"transverse":{"transverse_mode":"pencil"},
57
"longitudinal":{"longitudinal_mode":"pencil","momentum_variable":"p"},
58
"coupling":{"coupling_mode":"none"}
62
"position":{"x":0.0, "y":0.0, "z":0.0},
63
"momentum":{"x":0.0, "y":0.0, "z":1.0},
68
}, # reference particle
69
"n_particles_per_spill":1,
70
"random_seed_algorithm":"incrementing_random", # algorithm for seeding MC
71
"transverse":{"transverse_mode":"pencil"},
72
"longitudinal":{"longitudinal_mode":"pencil","momentum_variable":"p"},
73
"coupling":{"coupling_mode":"none"}