]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // // | |
3 | // Magnetic Dipole version 1 // | |
4 | // // | |
5 | //Begin_Html | |
6 | /* | |
1439f98e | 7 | <img src="picts/AliDIPOv2Class.gif"> |
fe4da5cc | 8 | </pre> |
9 | <br clear=left> | |
10 | <font size=+2 color=red> | |
11 | <p>The responsible person for this module is | |
12 | <a href="mailto:andreas.morsch@cern.ch">Andreas Morsch</a>. | |
13 | </font> | |
14 | <pre> | |
15 | */ | |
16 | //End_Html | |
17 | // // | |
18 | // // | |
19 | /////////////////////////////////////////////////////////////////////////////// | |
20 | ||
21 | #include "AliDIPOv2.h" | |
22 | #include "AliRun.h" | |
fe4da5cc | 23 | #include "AliConst.h" |
24 | ||
25 | ClassImp(AliDIPOv2) | |
26 | ||
27 | //_____________________________________________________________________________ | |
b8032157 | 28 | AliDIPOv2::AliDIPOv2() |
fe4da5cc | 29 | { |
30 | // | |
31 | // Default constructor for magnetic dipole version 2 | |
32 | // | |
33 | } | |
34 | ||
35 | //_____________________________________________________________________________ | |
36 | AliDIPOv2::AliDIPOv2(const char *name, const char *title) | |
37 | : AliDIPO(name,title) | |
38 | { | |
39 | // | |
40 | // Standard constructor for the magnetic dipole version 2 | |
41 | SetMarkerColor(7); | |
42 | SetMarkerStyle(2); | |
43 | SetMarkerSize(0.4); | |
44 | } | |
45 | ||
46 | //_____________________________________________________________________________ | |
47 | void AliDIPOv2::CreateGeometry() | |
48 | { | |
49 | // | |
50 | // Creation of the geometry of the magnetic DIPOLE version 2 | |
51 | // | |
52 | //Begin_Html | |
53 | /* | |
1439f98e | 54 | <img src="picts/AliDIPOv2Tree.gif"> |
fe4da5cc | 55 | */ |
56 | //End_Html | |
57 | //Begin_Html | |
58 | /* | |
1439f98e | 59 | <img src="picts/AliDIPOv2.gif"> |
fe4da5cc | 60 | */ |
61 | //End_Html | |
62 | ||
fe4da5cc | 63 | Float_t cpar[5], tpar[3], ypar[4]; |
64 | Float_t dz, dx, dy; | |
65 | Int_t idrotm[1899]; | |
66 | Float_t acc_max, the1, phi1, the2, phi2, the3, phi3; | |
67 | ||
ad51aeb0 | 68 | Int_t *idtmed = fIdtmed->GetArray()-1799; |
fe4da5cc | 69 | |
70 | //abs_d = 90.; // DEFINES DRIFT LENGTH | |
71 | //z_nose = 102.; | |
72 | //z_cone = 285.; | |
73 | //theta1 = 24.; // 1. angle defining the front absorber | |
74 | //theta2 = 5.; // 2. angle defining the front absorbe | |
75 | acc_max = 9.; // ANGLE POLAIRE MAXIMUM | |
76 | //acc_min = 2.; // ANGLE POLAIRE MINIMUM DE DETECTION | |
77 | //abs_l = 503.; | |
78 | //d_steel = 1.; // THICKNESS OF STEEL SUPPORT | |
79 | //d_poly = 7.5; | |
80 | //d_pb = 2.5; | |
81 | //abs_cc = 315.; // DEFINES LENGTH OF CARBON | |
82 | //abs_c = 358.; | |
83 | //abs_s = 150.; // DEFINES W-SHIELD LENGTH | |
84 | //abs_n = 80.; // START OF NOSE | |
85 | //r_abs = 4.; | |
86 | //r_pb = .1; | |
87 | //epsilon = .01; | |
88 | //theta_r = 3.; | |
89 | //d_rear = 35.; | |
90 | //theta_open = .75; | |
91 | ||
92 | //z_l3 = 700.; | |
93 | //zmag_in = 725.; | |
94 | //zmag_out = 1225.; | |
95 | //zfil_in = 1471.; | |
96 | //zfil_out = 1591.; | |
97 | //zcon_in = 1900.; | |
98 | //zcon_out = 2e3; | |
99 | //zcone_e = 859.0875; | |
100 | //spec_l = 1800.; | |
101 | //zplug_in = 1780.; | |
102 | //zplug_out = 1900.; | |
103 | ||
104 | // Chamber position | |
105 | // CZ1=515.5 | |
106 | //cz1 = 511.; | |
107 | //cz2 = 686.; | |
108 | //cz3 = 971.; | |
109 | //cz4 = 1245.; | |
110 | //cz5 = 1445.; | |
111 | //cz6 = 1610.; | |
112 | //cz7 = 1710.; | |
113 | ||
114 | ||
115 | // DIPOLE MAGNET | |
116 | ||
117 | tpar[0] = 300.; | |
118 | tpar[1] = 415.; | |
119 | tpar[2] = 250.; | |
cfce8870 | 120 | gMC->Gsvolu("DDIP", "BOX ", idtmed[1814], tpar, 3); |
fe4da5cc | 121 | |
122 | // COILS | |
123 | ||
124 | // air - m.f. | |
125 | cpar[0] = 210.; | |
126 | cpar[1] = 263.; | |
127 | cpar[2] = 83.2/2.; | |
128 | cpar[3] = 120.; | |
129 | cpar[4] = 240.; | |
cfce8870 | 130 | gMC->Gsvolu("DC1 ", "TUBS", idtmed[1813], cpar, 5); |
fe4da5cc | 131 | cpar[3] = -60.; |
132 | cpar[4] = 60.; | |
cfce8870 | 133 | gMC->Gsvolu("DC2 ", "TUBS", idtmed[1813], cpar, 5); |
fe4da5cc | 134 | // ... define regions for higher cuts |
135 | cpar[0] += 10.; | |
136 | cpar[1] += -10.; | |
137 | cpar[2] += -10.; | |
138 | cpar[3] = 120.; | |
139 | cpar[4] = 240.; | |
cfce8870 | 140 | gMC->Gsvolu("DC3 ", "TUBS", idtmed[1833], cpar, 5); |
141 | gMC->Gspos("DC3 ", 1, "DC1 ", 0., 0., 0., 0, "ONLY"); | |
fe4da5cc | 142 | cpar[3] = -60.; |
143 | cpar[4] = 60.; | |
cfce8870 | 144 | gMC->Gsvolu("DC4 ", "TUBS", idtmed[1833], cpar, 5); |
145 | gMC->Gspos("DC4 ", 1, "DC2 ", 0., 0., 0., 0, "ONLY"); | |
fe4da5cc | 146 | // ... |
147 | dz = 83.2/2. - 250.; | |
cfce8870 | 148 | gMC->Gspos("DC1 ", 1, "DDIP", 0., 0., dz, 0, "ONLY"); |
149 | gMC->Gspos("DC1 ", 2, "DDIP", 0., 0., -dz, 0, "ONLY"); | |
150 | gMC->Gspos("DC2 ", 1, "DDIP", 0., 0., dz, 0, "ONLY"); | |
151 | gMC->Gspos("DC2 ", 2, "DDIP", 0., 0., -dz, 0, "ONLY"); | |
fe4da5cc | 152 | the1 = 180.; |
153 | phi1 = 0.; | |
154 | the2 = 90.; | |
155 | phi2 = 150.; | |
156 | the3 = 90.; | |
157 | phi3 = 60.; | |
158 | AliMatrix(idrotm[1800], the1, phi1, the2, phi2, the3, phi3); | |
159 | phi2 = 30.; | |
160 | the3 = -90.; | |
161 | phi3 = -60.; | |
162 | AliMatrix(idrotm[1801], the1, phi1, the2, phi2, the3, phi3); | |
163 | the1 = 0.; | |
164 | phi1 = 0.; | |
165 | the2 = 90.; | |
166 | phi2 = 150.; | |
167 | the3 = 90.; | |
168 | phi3 = 60.; | |
169 | AliMatrix(idrotm[1802], the1, phi1, the2, phi2, the3, phi3); | |
170 | phi2 = 30.; | |
171 | the3 = -90.; | |
172 | phi3 = -60.; | |
173 | AliMatrix(idrotm[1803], the1, phi1, the2, phi2, the3, phi3); | |
174 | cpar[0] = 25.; | |
175 | cpar[1] = 108.2; | |
176 | cpar[2] = 26.5; | |
177 | cpar[3] = 270.; | |
178 | cpar[4] = 360.; | |
cfce8870 | 179 | gMC->Gsvolu("DC11", "TUBS", idtmed[1813], cpar, 5); |
fe4da5cc | 180 | // ... higher cuts |
181 | cpar[0] += 10.; | |
182 | cpar[1] += -10.; | |
183 | cpar[2] += -10.; | |
cfce8870 | 184 | gMC->Gsvolu("DC21", "TUBS", idtmed[1833], cpar, 5); |
185 | gMC->Gspos("DC21", 1, "DC11", 0., 0., 0., 0, "ONLY"); | |
fe4da5cc | 186 | // ... |
187 | dx = TMath::Sin(30*kDegrad) * -236.5; | |
188 | dy = TMath::Cos(30*kDegrad) * -236.5; | |
189 | dz = cpar[1] + 10. - 250.; | |
cfce8870 | 190 | gMC->Gspos("DC11", 1, "DDIP", dx, dy, dz, idrotm[1800], "ONLY"); |
191 | gMC->Gspos("DC11", 2, "DDIP", dx, dy, -dz, idrotm[1802], "ONLY"); | |
192 | gMC->Gspos("DC11", 3, "DDIP", -dx, dy, dz, idrotm[1801], "ONLY"); | |
193 | gMC->Gspos("DC11", 4, "DDIP", -dx, dy, -dz, idrotm[1803], "ONLY"); | |
fe4da5cc | 194 | cpar[0] = 25.; |
195 | cpar[1] = 25.+83.2; | |
196 | cpar[2] = 53./2.; | |
197 | cpar[3] = 0.; | |
198 | cpar[4] = 90.; | |
cfce8870 | 199 | gMC->Gsvolu("DC12", "TUBS", idtmed[1813], cpar, 5); |
fe4da5cc | 200 | // ... higher cuts |
201 | cpar[0] += 10.; | |
202 | cpar[1] += -10.; | |
203 | cpar[2] += -10.; | |
cfce8870 | 204 | gMC->Gsvolu("DC22", "TUBS", idtmed[1833], cpar, 5); |
205 | gMC->Gspos("DC22", 1, "DC12", 0., 0., 0., 0, "ONLY"); | |
fe4da5cc | 206 | // ... |
207 | dx = TMath::Sin(30*kDegrad) * -236.5; | |
208 | dy = TMath::Cos(30*kDegrad) * 236.5; | |
209 | dz = cpar[1] + 10. - 250.; | |
cfce8870 | 210 | gMC->Gspos("DC12", 1, "DDIP", dx, dy, dz, idrotm[1801], "ONLY"); |
211 | gMC->Gspos("DC12", 2, "DDIP", dx, dy, -dz, idrotm[1803], "ONLY"); | |
212 | gMC->Gspos("DC12", 3, "DDIP", -dx, dy, dz, idrotm[1800], "ONLY"); | |
213 | gMC->Gspos("DC12", 4, "DDIP", -dx, dy, -dz, idrotm[1802], "ONLY"); | |
fe4da5cc | 214 | the1 = 90.; |
215 | phi1 = 60.; | |
216 | the2 = 90.; | |
217 | phi2 = 150.; | |
218 | the3 = 0.; | |
219 | phi3 = 0.; | |
220 | AliMatrix(idrotm[1804], the1, phi1, the2, phi2, the3, phi3); | |
221 | the1 = 90.; | |
222 | phi1 = 120.; | |
223 | the2 = 90.; | |
224 | phi2 = 210.; | |
225 | the3 = 0.; | |
226 | phi3 = 0.; | |
227 | AliMatrix(idrotm[1805], the1, phi1, the2, phi2, the3, phi3); | |
228 | tpar[0] = 53./2.; | |
229 | tpar[1] = 83.2/2.; | |
230 | tpar[2] = 283.6/2.; | |
cfce8870 | 231 | gMC->Gsvolu("DL1 ", "BOX ", idtmed[1813], tpar, 3); |
fe4da5cc | 232 | // ... higher cuts |
233 | tpar[0] -= 10.; | |
234 | tpar[1] -= 10.; | |
cfce8870 | 235 | gMC->Gsvolu("DL2 ", "BOX ", idtmed[1833], tpar, 3); |
236 | gMC->Gspos("DL2 ", 1, "DL1 ", 0., 0., 0., 0, "ONLY"); | |
fe4da5cc | 237 | // ... |
238 | dx = -60.5; | |
239 | dy = -238.; | |
240 | dz = 0.; | |
cfce8870 | 241 | gMC->Gspos("DL1 ", 1, "DDIP", dx, dy, dz, idrotm[1804], "ONLY"); |
242 | gMC->Gspos("DL1 ", 2, "DDIP", dx, -dy, dz, idrotm[1805], "ONLY"); | |
243 | gMC->Gspos("DL1 ", 3, "DDIP",-dx, dy, dz, idrotm[1805], "ONLY"); | |
244 | gMC->Gspos("DL1 ", 4, "DDIP",-dx, -dy, dz, idrotm[1804], "ONLY"); | |
fe4da5cc | 245 | |
246 | // YOKE | |
247 | ||
248 | ypar[1] = 275.8; | |
249 | ypar[2] = 5.; | |
250 | ypar[3] = 156.8; | |
251 | ypar[0] = ypar[1] - ypar[3] * 2. * TMath::Tan(acc_max * kDegrad); | |
cfce8870 | 252 | gMC->Gsvolu("DY1 ", "TRD1", idtmed[1809], ypar, 4); |
fe4da5cc | 253 | // iron - |
254 | dy = 283.5; | |
cfce8870 | 255 | gMC->Gspos("DY1 ", 1, "DDIP", 0., dy, 0., 0, "ONLY"); |
256 | gMC->Gspos("DY1 ", 2, "DDIP", 0., -dy, 0., 0, "ONLY"); | |
fe4da5cc | 257 | ypar[2] = 60.; |
cfce8870 | 258 | gMC->Gsvolu("DY2 ", "TRD1", idtmed[1829], ypar, 4); |
fe4da5cc | 259 | // iron - |
260 | dy = ypar[2] + 284.; | |
cfce8870 | 261 | gMC->Gspos("DY2 ", 1, "DDIP", 0., dy, 0., 0, "ONLY"); |
262 | gMC->Gspos("DY2 ", 2, "DDIP", 0., -dy, 0., 0, "ONLY"); | |
fe4da5cc | 263 | the1 = 99.; |
264 | phi1 = 0.; | |
265 | the2 = 90.; | |
266 | phi2 = 90.; | |
267 | the3 = 9.; | |
268 | phi3 = 0.; | |
269 | AliMatrix(idrotm[1806], the1, phi1, the2, phi2, the3, phi3); | |
270 | the1 = 261.; | |
271 | phi1 = 0.; | |
272 | the3 = 171.; | |
273 | AliMatrix(idrotm[1807], the1, phi1, the2, phi2, the3, phi3); | |
274 | tpar[0] = 60.; | |
275 | tpar[1] = 283.; | |
276 | tpar[2] = 156.8; | |
cfce8870 | 277 | gMC->Gsvolu("DYL ", "BOX ", idtmed[1814], tpar, 3); |
fe4da5cc | 278 | tpar[0] = 5.; |
279 | tpar[1] = 73.; | |
cfce8870 | 280 | gMC->Gsvolu("DY3 ", "BOX ", idtmed[1809], tpar, 3); |
fe4da5cc | 281 | dx = tpar[0] - 60.; |
282 | dy = tpar[1] + 137.; | |
cfce8870 | 283 | gMC->Gspos("DY3 ", 1, "DYL ", dx, dy, 0., 0, "ONLY"); |
284 | gMC->Gspos("DY3 ", 2, "DYL ", dx, -dy, 0., 0, "ONLY"); | |
fe4da5cc | 285 | tpar[0] = 55.; |
cfce8870 | 286 | gMC->Gsvolu("DY4 ", "BOX ", idtmed[1829], tpar, 3); |
fe4da5cc | 287 | dx = dx + 5. + tpar[0]; |
cfce8870 | 288 | gMC->Gspos("DY4 ", 1, "DYL ", dx, dy, 0., 0, "ONLY"); |
289 | gMC->Gspos("DY4 ", 2, "DYL ", dx, -dy, 0., 0, "ONLY"); | |
fe4da5cc | 290 | tpar[0] = 37.7; |
291 | tpar[1] = 137.; | |
cfce8870 | 292 | gMC->Gsvolu("DY5 ", "BOX ", idtmed[1829], tpar, 3); |
fe4da5cc | 293 | dx = 60. - tpar[0]; |
cfce8870 | 294 | gMC->Gspos("DY5 ", 1, "DYL ", dx, 0., 0., 0, "ONLY"); |
fe4da5cc | 295 | tpar[0] = 5.; |
cfce8870 | 296 | gMC->Gsvolu("DY6 ", "BOX ", idtmed[1809], tpar, 3); |
fe4da5cc | 297 | dx = dx - 37.7 - tpar[0]; |
cfce8870 | 298 | gMC->Gspos("DY6 ", 1, "DYL ", dx, 0., 0., 0, "ONLY"); |
fe4da5cc | 299 | tpar[0] = 17.3; |
300 | tpar[1] = 5.; | |
cfce8870 | 301 | gMC->Gsvolu("DY7 ", "BOX ", idtmed[1809], tpar, 3); |
fe4da5cc | 302 | dx = tpar[0] - 60.; |
303 | dy = tpar[1] + 127.; | |
cfce8870 | 304 | gMC->Gspos("DY7 ", 1, "DYL ", dx, dy, 0., 0, "ONLY"); |
305 | gMC->Gspos("DY7 ", 2, "DYL ", dx, -dy, 0., 0, "ONLY"); | |
fe4da5cc | 306 | |
307 | dx = ypar[0] + ypar[3] * TMath::Tan(acc_max * kDegrad) - 60.; | |
cfce8870 | 308 | gMC->Gspos("DYL ", 1, "DDIP", dx, 0., 0., idrotm[1806], "ONLY"); |
309 | gMC->Gspos("DYL ", 2, "DDIP",-dx, 0., 0., idrotm[1807], "ONLY"); | |
310 | gMC->Gspos("DDIP", 1, "ALIC", 0., 0., 725.+250., 0, "MANY"); | |
311 | gMC->Gsatt("DDIP", "SEEN", 0); | |
312 | gMC->Gsatt("DC21", "SEEN", 0); | |
313 | gMC->Gsatt("DC22", "SEEN", 0); | |
314 | gMC->Gsatt("DC3 ", "SEEN", 0); | |
315 | gMC->Gsatt("DC4 ", "SEEN", 0); | |
fe4da5cc | 316 | } |
317 | ||
318 | //_____________________________________________________________________________ | |
b8032157 | 319 | void AliDIPOv2::DrawModule() |
fe4da5cc | 320 | { |
321 | // | |
322 | // Draw a shaded view of the muon absorber | |
323 | // | |
324 | ||
fe4da5cc | 325 | // Set everything unseen |
cfce8870 | 326 | gMC->Gsatt("*", "seen", -1); |
fe4da5cc | 327 | // |
328 | // Set ALIC mother transparent | |
cfce8870 | 329 | gMC->Gsatt("ALIC","SEEN",0); |
fe4da5cc | 330 | // |
331 | // Set the volumes visible | |
cfce8870 | 332 | gMC->Gsatt("DDIP","seen",0); |
333 | gMC->Gsatt("DC1 ","seen",1); | |
334 | gMC->Gsatt("DC2 ","seen",1); | |
335 | gMC->Gsatt("DC3 ","seen",1); | |
336 | gMC->Gsatt("DC4 ","seen",1); | |
337 | gMC->Gsatt("DC11","seen",1); | |
338 | gMC->Gsatt("DC21","seen",1); | |
339 | gMC->Gsatt("DC12","seen",1); | |
340 | gMC->Gsatt("DC22","seen",1); | |
341 | gMC->Gsatt("DL1 ","seen",1); | |
342 | gMC->Gsatt("DL2 ","seen",1); | |
343 | gMC->Gsatt("DY1 ","seen",1); | |
344 | gMC->Gsatt("DY2 ","seen",1); | |
345 | gMC->Gsatt("DYL ","seen",1); | |
346 | gMC->Gsatt("DY3 ","seen",1); | |
347 | gMC->Gsatt("DY4 ","seen",1); | |
348 | gMC->Gsatt("DY5 ","seen",1); | |
349 | gMC->Gsatt("DY6 ","seen",1); | |
350 | gMC->Gsatt("DY7 ","seen",1); | |
fe4da5cc | 351 | // |
cfce8870 | 352 | gMC->Gdopt("hide", "on"); |
353 | gMC->Gdopt("shad", "on"); | |
354 | gMC->Gsatt("*", "fill", 7); | |
355 | gMC->SetClipBox("."); | |
356 | gMC->SetClipBox("."); | |
357 | gMC->DefaultRange(); | |
358 | gMC->Gdraw("alic", 30, 30, 0, 17, 13.5, .019, .019); | |
359 | gMC->Gdhead(1111, "Magnetic Dipole Version 2"); | |
360 | gMC->Gdman(16, 4, "MAN"); | |
fe4da5cc | 361 | } |
362 | ||
363 | //_____________________________________________________________________________ | |
364 | void AliDIPOv2::CreateMaterials() | |
365 | { | |
366 | // | |
367 | // Create Materials for Magnetic Dipole version 2 | |
368 | // | |
369 | ||
370 | Int_t ISXFLD = gAlice->Field()->Integ(); | |
371 | Float_t SXMGMX = gAlice->Field()->Max(); | |
372 | ||
373 | Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 }; | |
374 | Float_t zsteel[4] = { 26.,24.,28.,14. }; | |
375 | Float_t wsteel[4] = { .715,.18,.1,.005 }; | |
376 | Float_t acoil[3] = { 26.98,1.01,16. }; | |
377 | Float_t zcoil[3] = { 13.,1.,8. }; | |
378 | Float_t wcoil[3] = { .66,.226,.114 }; | |
379 | ||
380 | Float_t epsil, stmin, deemax, tmaxfd, stemax; | |
381 | ||
382 | // --- Define the various materials for GEANT --- | |
383 | // Aluminum | |
384 | AliMaterial(9, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2); | |
385 | AliMaterial(29, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2); | |
386 | AliMaterial(49, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2); | |
387 | ||
388 | // Iron | |
389 | AliMaterial(10, "IRON$ ", 55.85, 26., 7.87, 1.76, 17.1); | |
390 | AliMaterial(30, "IRON$ ", 55.85, 26., 7.87, 1.76, 17.1); | |
391 | AliMaterial(50, "IRON$ ", 55.85, 26., 7.87, 1.76, 17.1); | |
392 | ||
393 | // Air | |
394 | AliMaterial(15, "AIR$ ", 14.61, 7.3, .001205, 30423.24, 67500); | |
395 | AliMaterial(35, "AIR$ ", 14.61, 7.3, .001205, 30423.24, 67500); | |
396 | AliMaterial(55, "AIR$ ", 14.61, 7.3, .001205, 30423.24, 67500); | |
397 | ||
398 | // Vacuum | |
399 | AliMaterial(16, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16); | |
400 | AliMaterial(36, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16); | |
401 | AliMaterial(56, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16); | |
402 | ||
403 | // stainless Steel | |
404 | AliMixture(19, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel); | |
405 | AliMixture(39, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel); | |
406 | AliMixture(59, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel); | |
407 | ||
408 | // Coil | |
409 | AliMixture(14, "Al$", acoil, zcoil, 2.122, 3, wcoil); | |
410 | AliMixture(34, "Al$", acoil, zcoil, 2.122, 3, wcoil); | |
411 | AliMixture(54, "Al$", acoil, zcoil, 2.122, 3, wcoil); | |
412 | ||
413 | // **************** | |
414 | // Defines tracking media parameters. | |
415 | // Les valeurs sont commentees pour laisser le defaut | |
416 | // a GEANT (version 3-21, page CONS200), f.m. | |
417 | epsil = .001; // Tracking precision, | |
418 | stemax = -1.; // Maximum displacement for multiple scat | |
419 | tmaxfd = -20.; // Maximum angle due to field deflection | |
420 | deemax = -.3; // Maximum fractional energy loss, DLS | |
421 | stmin = -.8; | |
422 | // *************** | |
423 | ||
424 | // Aluminum | |
ad51aeb0 | 425 | AliMedium(9, "ALU_C0 ", 9, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); |
426 | AliMedium(29, "ALU_C1 ", 29, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
427 | AliMedium(49, "ALU_C2 ", 49, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
fe4da5cc | 428 | |
429 | // Iron | |
ad51aeb0 | 430 | AliMedium(10, "FE_C0 ", 10, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); |
431 | AliMedium(30, "FE_C1 ", 30, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
432 | AliMedium(50, "FE_C2 ", 50, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
fe4da5cc | 433 | |
434 | // Air | |
ad51aeb0 | 435 | AliMedium(15, "AIR_C0 ", 15, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); |
436 | AliMedium(35, "AIR_C1 ", 35, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
437 | AliMedium(55, "AIR_C2 ", 55, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
fe4da5cc | 438 | |
439 | // Vacuum | |
ad51aeb0 | 440 | AliMedium(16, "VA_C0 ", 16, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); |
441 | AliMedium(36, "VA_C1 ", 36, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
442 | AliMedium(56, "VA_C2 ", 56, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
fe4da5cc | 443 | |
444 | // Steel | |
ad51aeb0 | 445 | AliMedium(19, "ST_C0 ", 19, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); |
446 | AliMedium(39, "ST_C1 ", 39, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
447 | AliMedium(59, "ST_C3 ", 59, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
fe4da5cc | 448 | |
449 | // Coil | |
ad51aeb0 | 450 | AliMedium(14, "Coil_C1 ", 14, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); |
451 | AliMedium(34, "Coil_C2 ", 34, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
452 | AliMedium(54, "Coil_C3 ", 54, 0, ISXFLD, SXMGMX, tmaxfd, stemax, deemax, epsil, stmin); | |
fe4da5cc | 453 | } |
454 |