~chris-rogers/maus/xboa

« back to all changes in this revision

Viewing changes to tests/integration/test_utilities/test_geometry/conf1

  • Committer: Chris Rogers
  • Date: 2014-10-18 08:06:10 UTC
  • mfrom: (782.1.8 1567)
  • Revision ID: chris.rogers@stfc.ac.uk-20141018080610-ch2fy1jlfc4mxqf7
Closes 1569 - geometry download fails from bad geometry

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
simulation_geometry_filename = "geometry/ParentGeometryFile.dat"
 
2
verbose_level = 1
 
3
keep_steps = False
 
4
max_step_length=1
 
5
simulation_reference_particle = {
 
6
  "random_seed": 0,
 
7
  "energy":(105.658**2+200.**2)**0.5,
 
8
  "particle_id":-13,
 
9
  "time": 0.0,
 
10
  "position":{"x":0.0, "y":0.0, "z":15000.},
 
11
  "momentum":{"x":0.0, "y":0.0, "z":1.0}
 
12
}
 
13
 
 
14
spill_generator_number_of_spills = 1000
 
15
 
 
16
beam = {
 
17
    "particle_generator":"counter", # routine for generating empty primaries
 
18
    "random_seed":5, # random seed for beam generation; controls also how the MC
 
19
                     # seeds are generated
 
20
 
 
21
#    "particle_generator":"g4bl", # Uses G4BL as input for MAUS
 
22
#    "g4bl_generator":"True", # Call G4BL each time new spill is created
 
23
#    "random_seed":5,
 
24
    "definitions":[
 
25
    ##### MUONS #######
 
26
    {
 
27
       "reference":simulation_reference_particle, # reference particle
 
28
       "random_seed_algorithm":"incrementing_random", # algorithm for seeding MC
 
29
       "n_particles_per_spill":10, # probability of generating a particle
 
30
       "transverse":{
 
31
          "transverse_mode":"constant_solenoid", # transverse distribution matched to constant solenoid field
 
32
          "emittance_4d":6., # 4d emittance
 
33
          "normalised_angular_momentum":0.0, # angular momentum from diffuser
 
34
          "bz":4.e-3 # magnetic field strength for angular momentum calculation
 
35
       },
 
36
       "longitudinal":{"longitudinal_mode":"sawtooth_time", # longitudinal distribution sawtooth in time
 
37
                   "momentum_variable":"p", # Gaussian in total momentum (options energy, pz)
 
38
                   "sigma_p":25., # RMS total momentum
 
39
                   "t_start":-1.e6, # start time of sawtooth
 
40
                   "t_end":+1.e6}, # end time of sawtooth
 
41
       "coupling":{"coupling_mode":"none"} # no dispersion
 
42
       #"spin":{"x":0.0, "y":0.0, "z":1.0}
 
43
    },
 
44
    ]
 
45
}
 
46
 
 
47
geometry_validation = {
 
48
    "file_name":"tracking.json",
 
49
    "will_plot":False,
 
50
    "will_track":True,
 
51
    "z_start":0.,
 
52
    "z_end":23000.,
 
53
    "x_start":0.,
 
54
    "x_step":5./2.**0.5,
 
55
    "y_start":0.,
 
56
    "y_step":5./2.**0.5,
 
57
    "n_steps":60,
 
58
    "plot_formats":["root", "png"],
 
59
    "1d_material_plot":"geometry_validation_materials_1d",
 
60
    "2d_material_plot":"geometry_validation_materials_2d",
 
61
    "1d_volume_plot":"geometry_validation_volumes_1d",
 
62
    "2d_volume_plot":"geometry_validation_volumes_2d",
 
63
    "2d_volume_plot_label_size":0.05,
 
64
    "volume_bounding_box_dump":"geometry_validation_volumes.json",
 
65
}
 
66