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