Project

General

Profile

Support #1277 » datacard.py

Datacard file. - Santos, Edward, 22 May 2013 11:59

 
1
type_of_dataflow = 'pipeline_single_thread'
2

    
3
input_root_file_name = "maus_input.root"
4
output_root_file_name = "maus_output1.root"
5

    
6

    
7
header_and_footer_mode = "dont_append" #append or dont_append
8

    
9
# Used by MapPyRemoveTracks.
10
keep_only_muon_tracks = True
11

    
12
# Used by MapCppSimulation
13
keep_tracks = False # set to true to keep start and end point of every track
14
keep_steps = False # set to true to keep start and end point of every track and
15
                   # every step point
16
simulation_geometry_filename = "HelicalTest_tracker0.dat"
17

    
18
simulation_reference_particle = { # used for setting particle phase
19
    "position":{"x":0.0, "y":-0.0, "z":-1990.0},
20
    "momentum":{"x":0.0, "y":0.0, "z":1.0},
21
    "particle_id":-13, "energy":226.0, "time":0.0, "random_seed":10
22
}
23

    
24
# geant4 physics model
25
physics_model = "QGSP_BERT" # Physics package loaded by MAUS to set default values; modifications can be made
26
reference_physics_processes = "none" # "mean_energy_loss" # controls the physics processes of the reference particle. Set to "none" to disable all physics processes; or "mean_energy_loss" to make the reference particle see deterministic energy loss only
27
physics_processes = "none" #standard" # controls the physics processes of normal particles. Set to "none" to disable all physics processes; "mean_energy_loss" to enable deterministic energy loss only; or "standard" to enable all physics processes
28
particle_decay = False # set to true to activate particle decay, or False to inactivate particle decay
29

    
30
spill_generator_number_of_spills = 10
31

    
32
beam = {
33
    "particle_generator":"binomial", # routine for generating empty primaries
34
    "binomial_n":2, # number of coin tosses
35
    "binomial_p": 1, # probability of making a particle on each toss
36
    "random_seed":1, # random seed for beam generation; controls also how the MC
37
                     # seeds are generated
38
    "definitions":[
39
    ##### MUONS #######
40
    {
41
       "reference":simulation_reference_particle, # reference particle
42
       "random_seed_algorithm":"incrementing_random", # algorithm for seeding MC
43
       "weight":100., # probability of generating a particle
44
       "transverse":{
45
          "transverse_mode":"constant_solenoid", # transverse distribution matched to constant solenoid field
46
          "emittance_4d":8., # 4d emittance
47
          "normalised_angular_momentum":0.1, # angular momentum from diffuser
48
          "bz":4.e-3 # magnetic field strength for angular momentum calculation
49
       },
50
       "longitudinal":{"longitudinal_mode":"sawtooth_time", # longitudinal distribution sawtooth in time
51
                   "momentum_variable":"p", # Gaussian in total momentum (options energy, pz)
52
                   "sigma_p":25., # RMS total momentum
53
                   "t_start":-1.e6, # start time of sawtooth
54
                   "t_end":+1.e6}, # end time of sawtooth
55
       "coupling":{"coupling_mode":"none"} # no dispersion
56
    }]
57
}
58

    
59
reconstruction_geometry_filename = ""
60

    
61
SciFiPRHelicalOn = False
62
SciFiPRStraightOn = True
63

    
64
SciFiSeedCovariance = 1000 # Error estimate for Seed values of the Kalman Fit
65
SciFiKalmanOn = True # Flag to turn on the tracker Kalman Fit
66
SciFiKalman_use_MCS = False # flag to add MCS to the Kalman Fit
67
SciFiKalman_use_Eloss = False # flag to add Eloss to the Kalman Fit
68
SciFiUpdateMisalignments = False # Do Misalignment Search & Update
69
SciFiKalmanVerbose  = False # Dump information per fitted track
(2-2/3)