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_kalman_test_perfect.root"
22
mrd = os.getenv("MAUS_ROOT_DIR")
23
work_dir = mrd + "/bin/user/batch_cluster/"
24
geometry_dir = work_dir + "geometry/"
25
beams_dir = work_dir + "beams/"
27
simulation_geometry_filename = geometry_dir + "Kalman_Test.dat"
29
task_id = int( os.getenv( "SGE_TASK_ID", 0 ) )
30
file_id = str( task_id ).zfill( 3 )
31
input_filename = beams_dir + "/test_beams/uniform_momentum_zero_position/uniform_2000_"+file_id+".dat"
33
random_seed_beam = int(os.getenv( "MAUS_RANDOM_SEED", 9 ))
34
random_seed_reference = 2 * random_seed_beam
38
simulation_reference_particle = { # used for setting particle phase
39
"position":{"x":0.0, "y":0.0, "z":z_start_pos},
40
"momentum":{"x":0.0, "y":0.0, "z":1.0},
41
"particle_id":-13, "energy":226.2, "time":0.0, "random_seed":random_seed_reference
44
# geant4 visualisation (not event display)
45
geant4_visualisation = False
49
spill_generator_number_of_spills = 100
52
"particle_generator":"file",
53
"random_seed":random_seed_beam,
54
"beam_file_format" : "icool_for003",
55
"beam_file" : input_filename,
56
"file_particles_per_spill" : 1,
58
"reference":simulation_reference_particle,
59
"random_seed_algorithm":"incrementing_random"
63
physics_processes = "standard"
65
SciFiClusterReconOn = False
66
SciFiSpacepointReconOn = True
68
SciFiKalman_use_MCS = True # flag to add MCS to the Kalman Fit
69
SciFiKalman_use_Eloss = True # flag to add Eloss to the Kalman Fit
70
SciFiKalmanCorrectPz = True
72
SciFiSeedPatRec = True
74
SciFiTestVirtualMethod = "virtual" # How to test the scifi recon.
75
#SciFiTestVirtualSmear = 0.431425 # Simulate measurement error on alpha
76
SciFiTestVirtualSmear = -1.0
77
SciFiTestVirtualMakeDigits = False
78
SciFiTestVirtualMakeClusters = True
79
SciFiTestVirtualMakeSpacepoints = False
81
SciFiPRHelicalTkUSOn = 2
82
SciFiPRHelicalTkDSOn = 2
83
SciFiPRStraightTkUSOn = 1
84
SciFiPRStraightTkDSOn = 1
88
particle_decay = False