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/>.
16
# NOTE: please use lower_case_and_underscores for new configuration cards
21
#output_root_file_name = "maus_output_test.root"
24
simulation_geometry_filename = "Stage4_new_LH2_vac_nominal.dat"
25
#simulation_geometry_filename = "Stage4_new_LH2_vac_noVirts.dat"
29
simulation_reference_particle = { # used for setting particle phase
30
"position":{"x":0.0, "y":0.0, "z":z_start_pos},
31
"momentum":{"x":0.0, "y":0.0, "z":1.0},
32
"particle_id":-13, "energy":232.1, "time":0.0, "random_seed":10
35
# geant4 visualisation (not event display)
36
geant4_visualisation = False
40
use_global_random_seed = 1
41
#global_random_seed = 123
44
spill_generator_number_of_spills = 20
45
# used by MapPyBeamMaker to generate input particle data
46
# This is a sample beam distribution based on guesses by Chris Rogers of what
47
# an optimised beam might look like
50
"particle_generator":"binomial", # routine for generating empty primaries
51
"binomial_n":10, # number of coin tosses
52
"binomial_p":1.0, # probability of making a particle on each toss
53
"random_seed":5, # random seed for beam generation; controls also how the MC
57
"reference":simulation_reference_particle, # reference particle
58
"random_seed_algorithm":"incrementing_random", # algorithm for seeding MC
59
"weight":100., # probability of generating a particle
61
"transverse_mode" : "penn",
65
"normalised_angular_momentum":0.0,
69
"longitudinal_mode":"sawtooth_time", # longitudinal distribution sawtooth in time
70
"momentum_variable":"pz", # Gaussian in total momentum (options energy, pz)
71
"sigma_pz":0.0001, # RMS total momentum
72
"t_start":-1.e6, # start time of sawtooth
73
"t_end":+1.e6}, # end time of sawtooth
75
"coupling_mode":"none"
88
# "particle_generator":"binomial", # routine for generating empty primaries
89
# "binomial_n":20, # number of coin tosses
90
# "binomial_p":1.0, # probability of making a particle on each toss
91
# "random_seed":5, # random seed for beam generation; controls also how the MC
92
# # seeds are generated
96
# "reference":simulation_reference_particle, # reference particle
97
# "random_seed_algorithm":"incrementing_random", # algorithm for seeding MC
98
# "weight":100., # probability of generating a particle
100
# "transverse_mode":"constant_solenoid", # transverse distribution matched to constant solenoid field
101
# "emittance_4d":6., # 4d emittance
102
# "normalised_angular_momentum":0.1, # angular momentum from diffuser
103
# "bz":4.e-3 # magnetic field strength for angular momentum calculation
105
# "longitudinal":{"longitudinal_mode":"sawtooth_time", # longitudinal distribution sawtooth in time
106
# "momentum_variable":"p", # Gaussian in total momentum (options energy, pz)
107
# "sigma_p":5.0, # RMS total momentum
108
# "t_start":-1.e6, # start time of sawtooth
109
# "t_end":+1.e6}, # end time of sawtooth
110
# "coupling":{"coupling_mode":"none"} # no dispersion