~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to bin/user/batch_cluster/datacards/Conf_multi_helix_full.py

  • Committer: Adam Dobbs
  • Date: 2016-09-14 16:28:53 UTC
  • mfrom: (659.2.49 release-candidate)
  • Revision ID: phuccj@gmail.com-20160914162853-6cyg9n8322bsl9jh
Tags: MAUS-v2.6, MAUS-v2.6.0
MAUS-v2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#  This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus
 
2
#
 
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.
 
7
#
 
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.
 
12
#
 
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/>.
 
15
 
 
16
# NOTE: please use lower_case_and_underscores for new configuration cards
 
17
 
 
18
import os
 
19
 
 
20
 
 
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/"
 
26
 
 
27
simulation_geometry_filename = geometry_dir + "Kalman_Test.dat"
 
28
 
 
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"
 
32
 
 
33
random_seed_beam = int(os.getenv( "MAUS_RANDOM_SEED", 9 ))
 
34
random_seed_reference = 2 * random_seed_beam
 
35
 
 
36
z_start_pos = 0.0
 
37
 
 
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
 
42
}
 
43
 
 
44
# geant4 visualisation (not event display)
 
45
geant4_visualisation = False
 
46
accumulate_tracks = 0
 
47
 
 
48
 
 
49
spill_generator_number_of_spills = 100
 
50
 
 
51
beam = {
 
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,
 
57
    "definitions":[ {
 
58
       "reference":simulation_reference_particle,
 
59
       "random_seed_algorithm":"incrementing_random"
 
60
    } ]
 
61
}
 
62
 
 
63
physics_processes = "standard"
 
64
 
 
65
SciFiClusterReconOn = False
 
66
SciFiSpacepointReconOn = True
 
67
 
 
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
 
71
 
 
72
SciFiSeedPatRec = True
 
73
 
 
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
 
80
 
 
81
SciFiPRHelicalTkUSOn = 2
 
82
SciFiPRHelicalTkDSOn = 2
 
83
SciFiPRStraightTkUSOn = 1
 
84
SciFiPRStraightTkDSOn = 1
 
85
SciFiKalmanOn = True
 
86
SciFiPatRecOn = True
 
87
 
 
88
particle_decay = False