1 | #////////////////////////////////////////////////////////// |
---|
2 | #///// File containing snova implementation options ///// |
---|
3 | #////////////////////////////////////////////////////////// |
---|
4 | |
---|
5 | |
---|
6 | #///////////////////////////////// |
---|
7 | # This is group GLOBAL variables |
---|
8 | #///////////////////////////////// |
---|
9 | |
---|
10 | # Simulation data verbosity (MUTE, CONCISE, NORMAL, DETAILED, VERBOSE, VVERBOSE) |
---|
11 | #GLOBAL simulation_verbosity S NORMAL |
---|
12 | # By default, if all is ok, say nothing... |
---|
13 | GLOBAL simulation_verbosity S MUTE |
---|
14 | |
---|
15 | # G4 Tracking verbosity ("0", "1", "2", "3", ...) |
---|
16 | GLOBAL G4Tracking_verbosity S 0 |
---|
17 | |
---|
18 | # Output dst file name |
---|
19 | # Allowed extensions: '.txt' for text files |
---|
20 | # '.gz' for gziped text files |
---|
21 | # '.h5' for HDF5 files |
---|
22 | GLOBAL dst_fname S data/dst_test_random_Nd150_Bon.txt |
---|
23 | |
---|
24 | ######### VERTEX GENERATOR SECTION ######## |
---|
25 | |
---|
26 | #///////////////////////////////// |
---|
27 | # This is group VERTEX variables |
---|
28 | #///////////////////////////////// |
---|
29 | |
---|
30 | # Type of vertex generator: identified by unique 'name' registred |
---|
31 | # in the Vertex Generator Factory: |
---|
32 | # Options: "source_simple" |
---|
33 | # "CALO_basic" |
---|
34 | # "from_file" |
---|
35 | # "spot" |
---|
36 | VERTEX VG.type S source_simple |
---|
37 | |
---|
38 | # the label of the vertex generator: |
---|
39 | VERTEX VG.label S source_simple_bluk |
---|
40 | |
---|
41 | # definition of a list of properties to configure the vertex generator: |
---|
42 | # here this is vertex randomized from the bulk volume of the source foil: |
---|
43 | VERTEX VG.configuration.source_simple_bluk SV 3 |
---|
44 | locate=bulk |
---|
45 | save-file=Yes |
---|
46 | save-filename=source_simple_bluk.vtx |
---|
47 | |
---|
48 | # here this is vertex randomized from the front surface of the source foil: |
---|
49 | VERTEX VG.configuration.source_simple_sf SV 4 |
---|
50 | locate=surf |
---|
51 | side=front |
---|
52 | save-file=Yes |
---|
53 | save-filename=source_simple_sf.vtx |
---|
54 | |
---|
55 | # here this is vertex randomized from the back surface of the source foil: |
---|
56 | VERTEX VG.configuration.source_simple_sb SV 4 |
---|
57 | locate=surf |
---|
58 | side=back |
---|
59 | save-file=Yes |
---|
60 | save-filename=source_simple_sb.vtx |
---|
61 | |
---|
62 | # here this is vertex randomized from the both front/back surfaces of the source foil: |
---|
63 | VERTEX VG.configuration.source_simple_sa SV 4 |
---|
64 | locate=surf |
---|
65 | side=all |
---|
66 | save-file=Yes |
---|
67 | save-filename=source_simple_sa.vtx |
---|
68 | |
---|
69 | # here this is vertex randomized from CALO blocks on wrapper front surfaces |
---|
70 | # from all walls |
---|
71 | VERTEX VG.configuration.CALO_basic_wsaf SV 5 |
---|
72 | locate=wrapper_surf |
---|
73 | wall=all |
---|
74 | side=front |
---|
75 | save-file=Yes |
---|
76 | save-filename=CALO_basic_wsaf.vtx |
---|
77 | |
---|
78 | # here this is vertex randomized from CALO blocks on wrapper back surfaces |
---|
79 | # from all walls |
---|
80 | VERTEX VG.configuration.CALO_basic_wsab SV 5 |
---|
81 | locate=wrapper_surf |
---|
82 | wall=all |
---|
83 | side=back |
---|
84 | save-file=Yes |
---|
85 | save-filename=CALO_basic_wsab.vtx |
---|
86 | |
---|
87 | # here this is vertex randomized from CALO blocks in wrapper volume (bulk) |
---|
88 | # from all walls |
---|
89 | VERTEX VG.configuration.CALO_basic_wbaa SV 5 |
---|
90 | locate=wrapper_bulk |
---|
91 | wall=all |
---|
92 | side=all |
---|
93 | save-file=Yes |
---|
94 | save-filename=CALO_basic_wbaa.vtx |
---|
95 | |
---|
96 | ######### PRIMARY PARTICLES GENERATOR SECTION ######## |
---|
97 | |
---|
98 | # this is for randomize direction of the primary event: |
---|
99 | EVGEN EG.randomize_dir I 1 |
---|
100 | |
---|
101 | # (E)vent (G)enerator type: |
---|
102 | # Options (hardcoded generators): |
---|
103 | # "from_genbb_file" : uses an input file from GENBB-like program |
---|
104 | # "single_particle" : shoot single particle in energy range |
---|
105 | EVGEN EG.type S from_genbb_file |
---|
106 | #EVGEN EG.type S single_particle |
---|
107 | |
---|
108 | # this is the input file used by the 'from_genbb_file' EG: |
---|
109 | EVGEN EG.from_genbb_file.source S $SNOVISROOT/scripts/snova/example_Mo100.txt |
---|
110 | |
---|
111 | # this is the input parameters for used by the 'single_particle' EG: |
---|
112 | EVGEN EG.single_particle.name S electron |
---|
113 | |
---|
114 | # minimal kinetic energy in keV: |
---|
115 | EVGEN EG.single_particle.min_energy D 500. |
---|
116 | |
---|
117 | # maximal kinetic energy in keV: |
---|
118 | EVGEN EG.single_particle.max_energy D 3000. |
---|
119 | |
---|
120 | ######### SIM. NUMBER OF EVENTS ######## |
---|
121 | |
---|
122 | # Number of events |
---|
123 | GLOBAL num_events I 10 |
---|
124 | |
---|
125 | |
---|
126 | ######### GEOMETRY SECTION ######## |
---|
127 | |
---|
128 | # GEOMETRY parameters file |
---|
129 | GLOBAL geom_file S $SNOVISROOT/scripts/snova/snemo.geom |
---|
130 | |
---|
131 | ######### MISC SECTION ######## |
---|
132 | |
---|
133 | # In case of visual run, display a complete view (1) or just the shape (0) |
---|
134 | GLOBAL DISPLAY_ALL I 0 |
---|
135 | |
---|
136 | |
---|
137 | ######### PHYSICS SECTION ######## |
---|
138 | |
---|
139 | #/////////////////////////////////// |
---|
140 | # This is group PHYSICS variables |
---|
141 | #/////////////////////////////////// |
---|
142 | |
---|
143 | # Energy Loss Enabled for electrons (0=OFF 1=ON) |
---|
144 | PHYSICS energy_loss I 1 |
---|
145 | |
---|
146 | # Multiple Scattering Enabled for electrons (0=OFF 1=ON) |
---|
147 | PHYSICS mult_scattering I 1 |
---|
148 | |
---|
149 | # Maximum Step Length inside the SOURCE (mm) |
---|
150 | PHYSICS SOURCE_max_step D 0.01 |
---|
151 | |
---|
152 | # Maximum Step Length inside the GEIGER CELLS (mm) |
---|
153 | PHYSICS GG_CELL_max_step D 5. |
---|
154 | |
---|
155 | # Cut (mm) for Calorimeter region |
---|
156 | PHYSICS calo_cut D 5. |
---|
157 | |
---|
158 | # Cut (mm) for Tracking region |
---|
159 | PHYSICS tracking_cut D .5 |
---|
160 | |
---|
161 | # Cut (mm) for Source region |
---|
162 | PHYSICS source_cut D .05 |
---|
163 | |
---|
164 | |
---|
165 | #/////////////////////////////////// |
---|
166 | # This is group CHECK variables |
---|
167 | #/////////////////////////////////// |
---|
168 | |
---|
169 | # Store meaning-less particles generated at the Calorimeter: YES (1) or NO (0) |
---|
170 | CHECK store_all I 0 |
---|
171 | |
---|
172 | # Print BHEP Stored particles at the end: YES (1) or NO (0) |
---|
173 | CHECK print_parts I 0 |
---|
174 | |
---|
175 | # end of parameters file |
---|