1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 Revision 1.13 2000/10/02 21:28:15 fca
19 Removal of useless dependecies via forward declarations
21 Revision 1.12 2000/06/20 10:53:01 morsch
22 Volume placed outside mother volume (DDIP) corrected (Galina Chabratova)
24 Revision 1.11 2000/06/11 12:33:46 morsch
25 Coding rule violations corrected
27 Revision 1.10 2000/06/09 19:32:56 morsch
28 New detailed and corrected version from Galina Chabratova
30 Revision 1.9 2000/04/27 09:29:53 fca
31 Reverting to version 1.6.2
33 Revision 1.6.2.1 1999/12/03 16:38:51 fca
34 Correct overlap in magnet
36 Revision 1.6 1999/09/29 09:24:30 fca
37 Introduction of the Copyright and cvs Log
41 ///////////////////////////////////////////////////////////////////////////////
43 // Magnetic Dipole version 1 //
47 <img src="picts/AliDIPOv2Class.gif">
50 <font size=+2 color=red>
51 <p>The responsible person for this module is
52 <a href="mailto:andreas.morsch@cern.ch">Andreas Morsch</a>.
60 #include "AliDIPOv2.h"
68 //_____________________________________________________________________________
69 AliDIPOv2::AliDIPOv2()
72 // Last design of magnetic dipole version 2
76 //_____________________________________________________________________________
77 AliDIPOv2::AliDIPOv2(const char *name, const char *title)
81 // Standard constructor for the magnetic dipole version 2
87 //_____________________________________________________________________________
88 void AliDIPOv2::CreateGeometry()
91 // Creation of the geometry of the magnetic DIPOLE version 2
94 // AliMC* gMC = AliMC::GetMC();
96 Float_t cpar[5], tpar[15], ypar[12];
99 Float_t accMax, the1, phi1, the2, phi2, the3, phi3;
101 Int_t *idtmed = fIdtmed->GetArray()-1799;
103 // const Int_t kCoil = 1813;
104 // const Int_t kCable= 1811;
106 const Int_t kCoil = 1808;
107 const Int_t kCable= 1808;
109 accMax = 9.; // ANGLE POLAIRE MAXIMUM
134 gMC->Gsvolu("DDIP", "PCON", idtmed[1814], tpar, 15);
143 gMC->Gsvolu("DC1 ", "TUBS", idtmed[kCoil+40], cpar, 5);
146 gMC->Gsvolu("DC2 ", "TUBS", idtmed[kCoil+40], cpar, 5);
148 // coil - low cuts cuts
150 // cpar[1] = cpar[0] + 10.;
155 gMC->Gsvolu("DC3 ", "TUBS", idtmed[kCoil], cpar, 5);
160 gMC->Gsvolu("DC4 ", "TUBS", idtmed[kCoil], cpar, 5);
162 gMC->Gspos("DC3 ", 1, "DC1 ", 0., 0., 0., 0, "ONLY");
163 gMC->Gspos("DC4 ", 1, "DC2 ", 0., 0., 0., 0, "ONLY");
165 // dz = 37.65 - 243.55
168 gMC->Gspos("DC1 ", 1, "DDIP", dx, 0., dz, 0, "ONLY");
169 gMC->Gspos("DC1 ", 2, "DDIP", dx, 0., -dz, 0, "ONLY");
170 gMC->Gspos("DC2 ", 1, "DDIP", -dx, 0., dz, 0, "ONLY");
171 gMC->Gspos("DC2 ", 2, "DDIP", -dx, 0., -dz, 0, "ONLY");
178 AliMatrix(idrotm[1800], the1, phi1, the2, phi2, the3, phi3);
182 AliMatrix(idrotm[1801], the1, phi1, the2, phi2, the3, phi3);
189 AliMatrix(idrotm[1802], the1, phi1, the2, phi2, the3, phi3);
193 AliMatrix(idrotm[1803], the1, phi1, the2, phi2, the3, phi3);
196 cpar[1] = 100.3; //25+75.3
201 gMC->Gsvolu("DC11", "TUBS", idtmed[kCoil+40], cpar, 5);
203 dx = TMath::Sin(30.5*kDegrad) * -(207.+33.5)+5./TMath::Sin(30.5*kDegrad) ;
204 dy = TMath::Cos(30.5*kDegrad) * -(207.+33.5);
205 dz = cpar[1] - 243.55-2.45;
206 gMC->Gspos("DC11", 1, "DDIP", dx, dy, dz, idrotm[1800], "ONLY");
207 gMC->Gspos("DC11", 2, "DDIP", dx, dy, -dz, idrotm[1802], "ONLY");
208 gMC->Gspos("DC11", 3, "DDIP", -dx, dy, dz, idrotm[1801], "ONLY");
209 gMC->Gspos("DC11", 4, "DDIP", -dx, dy, -dz, idrotm[1803], "ONLY");
215 cpar[1] = 100.3; //25+75.3
220 gMC->Gsvolu("DC12", "TUBS", idtmed[kCoil+40], cpar, 5);
222 dx = TMath::Sin(30.5*kDegrad) * -(207.+33.5)+5./TMath::Sin(30.5*kDegrad) ;
223 dy = TMath::Cos(30.5*kDegrad) *(207.+33.5);
224 dz = cpar[1] - 243.55-2.45;
225 gMC->Gspos("DC12", 1, "DDIP", dx, dy, dz, idrotm[1801], "ONLY");
226 gMC->Gspos("DC12", 2, "DDIP", dx, dy, -dz, idrotm[1803], "ONLY");
227 gMC->Gspos("DC12", 3, "DDIP", -dx, dy, dz, idrotm[1800], "ONLY");
228 gMC->Gspos("DC12", 4, "DDIP", -dx, dy, -dz, idrotm[1802], "ONLY");
236 AliMatrix(idrotm[1804], the1, phi1, the2, phi2, the3, phi3);
241 AliMatrix(idrotm[1805], the1, phi1, the2, phi2, the3, phi3);
243 phi1 = 119.; //180 -61
245 phi2 = 209.; //270-61
246 AliMatrix(idrotm[1806], the1, phi1, the2, phi2, the3, phi3);
251 AliMatrix(idrotm[1807], the1, phi1, the2, phi2, the3, phi3);
258 gMC->Gsvolu("DL1 ", "BOX ", idtmed[kCoil+40], tpar, 3);
264 gMC->Gsvolu("DL2 ", "BOX ", idtmed[kCoil], tpar, 3);
265 gMC->Gspos("DL2 ", 1, "DL1 ", dx, 0., 0., 0, "ONLY");
270 gMC->Gspos("DL1 ", 1, "DDIP", dx, dy, dz, idrotm[1804], "ONLY");
271 gMC->Gspos("DL1 ", 2, "DDIP", dx, -dy, dz, idrotm[1805], "ONLY");
272 gMC->Gspos("DL1 ", 3, "DDIP",-dx, dy, dz, idrotm[1806], "ONLY");
273 gMC->Gspos("DL1 ", 4, "DDIP",-dx, -dy, dz, idrotm[1807], "ONLY");
279 //Steel outer face planes
287 gMC->Gsvolu("DCO1", "TUBS", idtmed[1818], cpar, 5);
290 gMC->Gspos("DCO1", 1, "DDIP", dx, 0, dz, 0, "ONLY");
291 dz = 243.55+4.5+1.5+1.;
292 gMC->Gspos("DCO1", 2, "DDIP", dx, 0, dz, 0, "ONLY");
296 // cpar[0] = 207.-18.6;
297 // cpar[1] = 274.+18.6;
302 gMC->Gsvolu("DCO2", "TUBS", idtmed[1818], cpar, 5);
305 gMC->Gspos("DCO2", 1, "DDIP", dx, 0, dz, 0, "ONLY");
306 dz = 243.55+4.5+1.5+1.;
307 gMC->Gspos("DCO2", 2, "DDIP", dx, 0, dz, 0, "ONLY");
319 gMC->Gsvolu("DCO3", "TUBS", idtmed[1812], cpar, 5);
322 gMC->Gspos("DCO3", 1, "DDIP", dx, 0, dz, 0, "ONLY");
323 dz = 243.55+4.5+0.75;
324 gMC->Gspos("DCO3", 2, "DDIP", dx, 0, dz, 0, "ONLY");
330 gMC->Gsvolu("DCO4", "TUBS", idtmed[1812], cpar, 5);
333 gMC->Gspos("DCO4", 1, "DDIP", dx, 0, dz, 0, "ONLY");
334 dz = 243.55+4.5+0.75;
335 gMC->Gspos("DCO4", 2, "DDIP", dx, 0, dz, 0, "ONLY");
346 gMC->Gsvolu("DCO5", "TUBS", idtmed[1810], cpar, 5);
350 gMC->Gspos("DCO5", 1, "DDIP", dx, 0, dz, 0, "ONLY");
357 gMC->Gsvolu("DCO6", "TUBS", idtmed[1810], cpar, 5);
361 gMC->Gspos("DCO6", 1, "DDIP", dx, 0, dz, 0, "ONLY");
363 //Steel supported planes
365 cpar[0] = 274.+1.5+2.;
371 gMC->Gsvolu("DCO7", "TUBS", idtmed[1818], cpar, 5);
375 gMC->Gspos("DCO7", 1, "DDIP", dx, 0, dz, 0, "ONLY");
378 cpar[0] = 274.+1.5+2.;
385 gMC->Gsvolu("DCO8", "TUBS", idtmed[1818], cpar, 5);
389 gMC->Gspos("DCO8", 1, "DDIP", dx, 0, dz, 0, "ONLY");
393 cpar[0] = 207.- 18.6;
394 cpar[1] = 207.- 2.- 1.5;
399 gMC->Gsvolu("DCO9", "TUBS", idtmed[1818], cpar, 5);
403 gMC->Gspos("DCO9", 1, "DDIP", dx, 0, dz, 0, "ONLY");
407 cpar[0] = 207.- 18.6;
408 cpar[1] = 207.- 2.- 1.5;
413 gMC->Gsvolu("DCOA", "TUBS", idtmed[1818], cpar, 5);
417 gMC->Gspos("DCOA", 1, "DDIP", dx, 0, dz, 0, "ONLY");
420 // Sides steel planes
422 cpar[0] = 207. - 1.5 -2.;
423 cpar[1] = 207. - 1.5 ;
424 cpar[2] = ((243.55+4.5+1.5)-168.25)/2;
428 gMC->Gsvolu("DCOB", "TUBS", idtmed[1818], cpar, 5);
430 cpar[0] = 274. + 1.5;
431 cpar[1] = 274. + 1.5 +2.;
433 gMC->Gsvolu("DCOC", "TUBS", idtmed[1818], cpar, 5);
436 dz = ((243.55+4.5+1.5)+168.25)/2;
437 gMC->Gspos("DCOB", 1, "DDIP", dx, 0, dz, 0, "ONLY");
438 gMC->Gspos("DCOC", 1, "DDIP", dx, 0, dz, 0, "ONLY");
442 cpar[0] = 207. - 1.5 -2.;
443 cpar[1] = 207. - 1.5 ;
444 cpar[2] = ((243.55+4.5+1.5)-168.25)/2;
448 gMC->Gsvolu("DCOD", "TUBS", idtmed[1818], cpar, 5);
450 cpar[0] = 274. + 1.5;
451 cpar[1] = 274. + 1.5 +2.;
453 gMC->Gsvolu("DCOE", "TUBS", idtmed[1818], cpar, 5);
456 dz = ((243.55+4.5+1.5)+168.25)/2;
457 gMC->Gspos("DCOD", 1, "DDIP", dx, 0, dz, 0, "ONLY");
458 gMC->Gspos("DCOE", 1, "DDIP", dx, 0, dz, 0, "ONLY");
461 // Top and bottom resin planes
463 cpar[0] = 207. - 1.5 ;
465 cpar[2] = ((243.55+4.5+1.5)-168.25)/2;
469 gMC->Gsvolu("DCOF", "TUBS", idtmed[1812], cpar, 5);
472 cpar[1] = 274. + 1.5;
474 gMC->Gsvolu("DCOG", "TUBS", idtmed[1812], cpar, 5);
478 dz = ((243.55+4.5+1.5)+168.25)/2;
479 gMC->Gspos("DCOF", 1, "DDIP", dx, 0, dz, 0, "ONLY");
480 gMC->Gspos("DCOG", 1, "DDIP", dx, 0, dz, 0, "ONLY");
483 cpar[0] = 207. - 1.5 ;
485 cpar[2] = ((243.55+4.5+1.5)-168.25)/2;
490 gMC->Gsvolu("DCOH", "TUBS", idtmed[1812], cpar, 5);
493 cpar[1] = 274. + 1.5;
495 gMC->Gsvolu("DCOI", "TUBS", idtmed[1812], cpar, 5);
499 dz = ((243.55+4.5+1.5)+168.25)/2;
500 gMC->Gspos("DCOH", 1, "DDIP", dx, 0, dz, 0, "ONLY");
501 gMC->Gspos("DCOI", 1, "DDIP", dx, 0, dz, 0, "ONLY");
506 cpar[0] = 274. + 1.5 +2.;
507 cpar[1] = 274. + 1.5 +2. + 80.;
512 gMC->Gsvolu("DCOJ", "TUBS", idtmed[kCable], cpar, 5);
514 // dx = 274. + 1.5 +2. +40.;
515 // dx = 5. + 1.5 +2. +40.;
516 // dx = 5. + 1.5 +2.;
518 dz = 168.25 + 5.05 + 5.05/2;
519 gMC->Gspos("DCOJ", 1, "DDIP", dx, 0, dz, 0, "ONLY");
521 dz = 243.55 - 5.05/2;
522 gMC->Gspos("DCOJ", 2, "DDIP", dx, 0, dz, 0, "ONLY");
529 gMC->Gsvolu("DCOK", "TUBS", idtmed[kCable], cpar, 5);
531 // dx = 274. + 1.5 +2. +40.;
532 // dx = 5. + 1.5 +2. +40.;
533 // dx = 5. + 1.5 +2.;
535 dz = 168.25 + 5.05 + 5.05/2;
536 gMC->Gspos("DCOK", 1, "DDIP", dx, 0, dz, 0, "ONLY");
538 dz = 243.55 - 5.05/2;
539 gMC->Gspos("DCOK", 2, "DDIP", dx, 0, dz, 0, "ONLY");
544 // Top and bottom blocks
550 gMC->Gsvolu("DY1 ", "BOX ", idtmed[1858], ypar, 3);
557 gMC->Gsvolu("DY11", "TRD1", idtmed[1818], ypar, 4);
558 gMC->Gspos("DY11", 1, "DY1 ", 0., dy, 0., 0, "ONLY");
562 gMC->Gspos("DY1 ", 1, "DDIP", 0., dy, -dz, 0, "ONLY");
570 AliMatrix(idrotm[1808], the1, phi1, the2, phi2, the3, phi3);
571 gMC->Gspos("DY1 ", 2, "DDIP", 0., -dy, -dz, idrotm[1808] , "ONLY");
574 // ypar[0] = 579./2. ;
581 ypar[6] = 4.3058039629 ;
586 ypar[10] = 4.3058039629 ;
590 gMC->Gsvolu("DY2 ", "TRAP", idtmed[1858], ypar,11);
601 gMC->Gsvolu("DY22", "TRAP", idtmed[1818], ypar,11);
606 gMC->Gspos("DY22", 1, "DY2 ", dx, dy, 0., 0, "ONLY");
614 AliMatrix(idrotm[1809], the1, phi1, the2, phi2, the3, phi3);
622 AliMatrix(idrotm[1810], the1, phi1, the2, phi2, the3, phi3);
626 gMC->Gspos("DY2 ", 1, "DDIP", dx, 0.0, dz, idrotm[1809], "ONLY");
627 gMC->Gspos("DY2 ", 2, "DDIP", -dx, 0.0, dz, idrotm[1810], "ONLY");
630 gMC->Gspos("DDIP", 1, "ALIC", 0., 0., dz, 0, "ONLY");
632 gMC->Gsatt("DDIP", "SEEN", 0);
633 // gMC->Gsatt("DC21", "SEEN", 0);
634 // gMC->Gsatt("DC22", "SEEN", 0);
635 // gMC->Gsatt("DC3 ", "SEEN", 0);
636 // gMC->Gsatt("DC4 ", "SEEN", 0);
639 //_____________________________________________________________________________
640 void AliDIPOv2::DrawModule()
643 // Draw a shaded view of the muon absorber
646 AliMC* gMC = AliMC::GetMC();
648 // Set everything unseen
649 gMC->Gsatt("*", "seen", -1);
651 // Set ALIC mother transparent
652 gMC->Gsatt("ALIC","SEEN",0);
654 // Set the volumes visible
655 gMC->Gsatt("DDIP","seen",0);
656 gMC->Gsatt("DC1 ","seen",1);
657 gMC->Gsatt("DC2 ","seen",1);
658 gMC->Gsatt("DC3 ","seen",1);
659 gMC->Gsatt("DC4 ","seen",1);
660 gMC->Gsatt("DC11","seen",1);
661 gMC->Gsatt("DC21","seen",1);
662 gMC->Gsatt("DC12","seen",1);
663 gMC->Gsatt("DC22","seen",1);
664 gMC->Gsatt("DL1 ","seen",1);
665 gMC->Gsatt("DL2 ","seen",1);
666 gMC->Gsatt("DY1 ","seen",1);
667 gMC->Gsatt("DY2 ","seen",1);
668 gMC->Gsatt("DYL ","seen",1);
669 gMC->Gsatt("DY3 ","seen",1);
670 // gMC->Gsatt("DY4 ","seen",1);
671 // gMC->Gsatt("DY5 ","seen",1);
672 // gMC->Gsatt("DY6 ","seen",1);
673 // gMC->Gsatt("DY7 ","seen",1);
675 gMC->Gdopt("hide", "on");
676 gMC->Gdopt("shad", "on");
677 gMC->Gsatt("*", "fill", 7);
678 gMC->SetClipBox(".");
679 gMC->SetClipBox(".");
681 gMC->Gdraw("alic", 30, 30, 0, 17, 13.5, .019, .019);
682 gMC->Gdhead(1111, "Magnetic Dipole Version 2");
683 gMC->Gdman(16, 4, "MAN");
686 //_____________________________________________________________________________
687 void AliDIPOv2::CreateMaterials()
690 // Create Materials for Magnetic Dipole version 2
693 Int_t isxfld = gAlice->Field()->Integ();
694 Float_t sxmgmx = gAlice->Field()->Max();
696 Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 };
697 Float_t zsteel[4] = { 26.,24.,28.,14. };
698 Float_t wsteel[4] = { .715,.18,.1,.005 };
700 Float_t acoil[3] = { 26.98,1.01,16. };
701 Float_t zcoil[3] = { 13.,1.,8. };
702 Float_t wcoil[3] = { .66,.226,.114 };
704 Float_t aresi[3] = { 1.01,12.011,16.};
705 Float_t zresi[3] = { 1.,6.,8. };
706 Float_t wresi[3] = { .0644,.7655,.1701 };
708 Float_t aG10[5] = { 1.01,12.011,16.,28.085 ,79.904 };
709 Float_t zG10[5] = { 1.,6.,8.,14.,35. };
710 Float_t wG10[5] = { .02089,.22338,.28493,.41342,.05738 };
712 Float_t aAlCon[2] = { 14.61, 26.98};
713 Float_t zAlCon[2] = { 7.3, 13.};
714 Float_t wAlCon[2] = { .0004,.9996};
717 Float_t epsil, stmin, deemax, tmaxfd, stemax;
719 // --- Define the various materials for GEANT ---
721 AliMaterial(9, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2);
722 AliMaterial(29, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2);
723 AliMaterial(49, "ALUMINIUM$", 26.98, 13., 2.7, 8.9, 37.2);
726 AliMaterial(10, "IRON$ ", 55.85, 26., 7.87, 1.76, 17.1);
727 AliMaterial(30, "IRON$ ", 55.85, 26., 7.87, 1.76, 17.1);
728 AliMaterial(50, "IRON$ ", 55.85, 26., 7.87, 1.76, 17.1);
731 AliMaterial(15, "AIR$ ", 14.61, 7.3, .001205, 30423.24, 67500);
732 AliMaterial(35, "AIR$ ", 14.61, 7.3, .001205, 30423.24, 67500);
733 AliMaterial(55, "AIR$ ", 14.61, 7.3, .001205, 30423.24, 67500);
736 AliMaterial(16, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16);
737 AliMaterial(36, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16);
738 AliMaterial(56, "VACUUM$ ", 1e-16, 1e-16, 1e-16, 1e16, 1e16);
741 AliMixture(19, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
742 AliMixture(39, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
743 AliMixture(59, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
746 AliMixture(14, "Al$", acoil, zcoil, 2.122, 3, wcoil);
747 AliMixture(34, "Al$", acoil, zcoil, 2.122, 3, wcoil);
748 AliMixture(54, "Al$", acoil, zcoil, 2.122, 3, wcoil);
751 AliMixture(13, "RESIN$", aresi, zresi, 1.05, 3, wresi);
752 AliMixture(33, "RESIN$", aresi, zresi, 1.05, 3, wresi);
753 AliMixture(53, "RESIN$", aresi, zresi, 1.05, 3, wresi);
756 AliMixture(11, "G10$", aG10, zG10, 1.7, 5, wG10);
757 AliMixture(31, "G10$", aG10, zG10, 1.7, 5, wG10);
758 AliMixture(51, "G10$", aG10, zG10, 1.7, 5, wG10);
760 //Aluminium Conductor
761 AliMixture(12, "AlCond$", aAlCon, zAlCon, 1.3506, 2, wAlCon);
762 AliMixture(32, "AlCond$", aAlCon, zAlCon, 1.3506, 2, wAlCon);
763 AliMixture(52, "AlCond$", aAlCon, zAlCon, 1.3506, 2, wAlCon);
766 // Defines tracking media parameters.
767 // Les valeurs sont commentees pour laisser le defaut
768 // a GEANT (version 3-21, page CONS200), f.m.
769 epsil = .001; // Tracking precision,
770 stemax = -1.; // Maximum displacement for multiple scat
771 tmaxfd = -20.; // Maximum angle due to field deflection
772 deemax = -.3; // Maximum fractional energy loss, DLS
777 AliMedium(9, "ALU_C0 ", 9, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
778 AliMedium(29, "ALU_C1 ", 29, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
779 AliMedium(49, "ALU_C2 ", 49, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
782 AliMedium(10, "FE_C0 ", 10, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
783 AliMedium(30, "FE_C1 ", 30, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
784 AliMedium(50, "FE_C2 ", 50, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
787 AliMedium(15, "AIR_C0 ", 15, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
788 AliMedium(35, "AIR_C1 ", 35, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
789 AliMedium(55, "AIR_C2 ", 55, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
792 AliMedium(16, "VA_C0 ", 16, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
793 AliMedium(36, "VA_C1 ", 36, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
794 AliMedium(56, "VA_C2 ", 56, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
797 AliMedium(19, "ST_C0 ", 19, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
798 AliMedium(39, "ST_C1 ", 39, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
799 AliMedium(59, "ST_C3 ", 59, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
802 AliMedium(14, "Coil_C1 ", 14, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
803 AliMedium(34, "Coil_C2 ", 34, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
804 AliMedium(54, "Coil_C3 ", 54, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
807 AliMedium(13, "RESIN_C0 ", 13, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
808 AliMedium(33, "RESIN_C1 ", 33, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
809 AliMedium(53, "RESIN_C2 ", 53, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
812 AliMedium(11, "G10_C0 ", 11, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
813 AliMedium(31, "G10_C1 ", 31, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
814 AliMedium(51, "G10_C2 ", 51, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
816 //Aluminium Contactor
817 AliMedium(12, "AlCond_C0 ", 12, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
818 AliMedium(32, "AlCond_C1 ", 32, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
819 AliMedium(52, "AlCond_C2 ", 52, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);