50int di[2]; di[0] = 0; di[1] = 30;
59 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
60 mBlock = geom->
MakeBox(nBlocks, Iron, 29,149,9);
65 }
else if (i>5 &&
f<8){
72 if (i>=14 &&
f>=8 &&
f%2 == 1){
73 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
74 mBlock = geom->
MakeBox(nBlocks, Iron, 29,149,9);
80 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
81 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5,149,9);
84 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
85 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5,149,9);
89 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
90 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5,149,9);
93 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
94 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5,149,9);
100 sprintf(nBlocks,
"f%d_bg%d",8,
N++);
101 mBlock = geom->
MakeBox(nBlocks, Iron, 40,149,9);
104 sprintf(nBlocks,
"f%d_bg%d",8,
N++);
105 mBlock = geom->
MakeBox(nBlocks, Iron, 40,149,9);
109 sprintf(nBlocks,
"f%d_bg%d",7,
N++);
110 mBlock = geom->
MakeBox(nBlocks, Iron, 15,149,9);
113 sprintf(nBlocks,
"f%d_bg%d",7,
N++);
114 mBlock = geom->
MakeBox(nBlocks, Iron, 15,149,9);
118 sprintf(nBlocks,
"f%d_bg%d",6,
N++);
119 mBlock = geom->
MakeBox(nBlocks, Iron, 24,149,9);
122 sprintf(nBlocks,
"f%d_bg%d",6,
N++);
123 mBlock = geom->
MakeBox(nBlocks, Iron, 24,149,9);
142 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
143 mBlock = geom->
MakeBox(nBlocks, Iron, 5.8,3,3.8);
158 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
159 mBlock = geom->
MakeBox(nBlocks, Iron, 5.8,3,3.8);
176 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
177 mBlock = geom->
MakeBox(nBlocks, Iron, 3,5.8,3.8);
192 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
193 mBlock = geom->
MakeBox(nBlocks, Iron, 3,5.8,3.8);
211 sprintf(nBlocks,
"ab%d",
N++);
212 mBlock = geom->
MakeTubs(nBlocks,Iron, 70,89,14, (i*36)+0.5, (i+1)*36-0.5);
220 sprintf(nBlocks,
"ab%d",
N++);
221 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,17);
224 sprintf(nBlocks,
"ab%d",
N++);
225 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,18);
229 sprintf(nBlocks,
"ab%d",
N++);
230 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,17);
233 sprintf(nBlocks,
"ab%d",
N++);
234 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,18);
248 sprintf(nBlocks,
"ab%d",
N++);
249 mBlock = geom->
MakeTubs(nBlocks,Iron, 1,3,7, 0, 180);
265 sprintf(nBlocks,
"ab%d",
N++);
266 mBlock = geom->
MakeTubs(nBlocks,Iron, 2.5,3,7, 0, 180);
280 sprintf(nBlocks,
"ab%d",
N++);
281 mBlock = geom->
MakeTubs(nBlocks,Iron, 2.5,3,6, 0, 180);
296 sprintf(nBlocks,
"ab%d",
N++);
297 mBlock = geom->
MakeTubs(nBlocks,Iron, 2.5,3,7, 0, 180);
316 sprintf(nBlocks,
"ab%d",
N++);
317 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,56, 0, 360);
339 sprintf(nBlocks,
"ab%d",
N++);
340 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,56, 0, 360);
359 sprintf(nBlocks,
"ab%d",
N++);
360 mBlock = geom->
MakeBox(nBlocks, Iron, 298,78,8);
366 sprintf(nBlocks,
"ab%d",
N++);
367 mBlock = geom->
MakeBox(nBlocks, Iron, 298,78,5);
378 sprintf(nBlocks,
"ab%d",
N++);
379 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
398 sprintf(nBlocks,
"ab%d",
N++);
399 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
413 sprintf(nBlocks,
"ab%d",
N++);
414 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
420 sprintf(nBlocks,
"ab%d",
N++);
421 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
435 sprintf(nBlocks,
"ab%d",
N++);
436 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
455 sprintf(nBlocks,
"ab%d",
N++);
456 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
469 sprintf(nBlocks,
"ab%d",
N++);
470 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
476 sprintf(nBlocks,
"ab%d",
N++);
477 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
498 sprintf(nBlocks,
"ab%d",
N++);
499 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
514 sprintf(nBlocks,
"ab%d",
N++);
515 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
529 sprintf(nBlocks,
"ab%d",
N++);
530 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
546 sprintf(nBlocks,
"ab%d",
N++);
547 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
563 sprintf(nBlocks,
"ab%d",
N++);
564 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
579 sprintf(nBlocks,
"ab%d",
N++);
580 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
594 sprintf(nBlocks,
"ab%d",
N++);
595 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
611 sprintf(nBlocks,
"ab%d",
N++);
612 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
625 sprintf(nBlocks,
"ab%d",
N++);
626 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
633 sprintf(nBlocks,
"ab%d",
N++);
634 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
640 sprintf(nBlocks,
"ab%d",
N++);
641 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
647 sprintf(nBlocks,
"ab%d",
N++);
648 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
664 sprintf(nBlocks,
"ab%d",
N++);
665 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
683 sprintf(nBlocks,
"ab%d",
N++);
684 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
696 sprintf(nBlocks,
"ab%d",
N++);
697 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
703 sprintf(nBlocks,
"ab%d",
N++);
704 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
721 sprintf(nBlocks,
"ab%d",
N++);
722 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,30, 0, 360);
744 sprintf(nBlocks,
"ab%d",
N++);
745 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,30, 0, 360);
767 sprintf(nBlocks,
"ab%d",
N++);
768 mBlock = geom->
MakeBox(nBlocks, Iron, 302,80,8);
774 sprintf(nBlocks,
"ab%d",
N++);
775 mBlock = geom->
MakeBox(nBlocks, Iron, 302,80,5);
780 sprintf(nBlocks,
"ab%d",
N++);
781 mBlock = geom->
MakeBox(nBlocks, Iron, 305,80,2.5);
798 sprintf(nBlocks,
"ab%d",
N++);
799 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
818 sprintf(nBlocks,
"ab%d",
N++);
819 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
833 sprintf(nBlocks,
"ab%d",
N++);
834 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
840 sprintf(nBlocks,
"ab%d",
N++);
841 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
855 sprintf(nBlocks,
"ab%d",
N++);
856 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
875 sprintf(nBlocks,
"ab%d",
N++);
876 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
889 sprintf(nBlocks,
"ab%d",
N++);
890 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
896 sprintf(nBlocks,
"ab%d",
N++);
897 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
918 sprintf(nBlocks,
"ab%d",
N++);
919 mBlock = geom->
MakeBox(nBlocks,Iron, 1.5,5,15);
934 sprintf(nBlocks,
"ab%d",
N++);
935 mBlock = geom->
MakeBox(nBlocks,Iron, 1.5,5,15);
949 sprintf(nBlocks,
"ab%d",
N++);
950 mBlock = geom->
MakeBox(nBlocks,Iron, 5,1.5,15);
966 sprintf(nBlocks,
"ab%d",
N++);
967 mBlock = geom->
MakeBox(nBlocks,Iron, 5,1.5,15);
985 sprintf(nBlocks,
"ab%d",
N++);
986 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1001 sprintf(nBlocks,
"ab%d",
N++);
1002 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1016 sprintf(nBlocks,
"ab%d",
N++);
1017 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1033 sprintf(nBlocks,
"ab%d",
N++);
1034 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1053 sprintf(nBlocks,
"ab%d",
N++);
1054 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1069 sprintf(nBlocks,
"ab%d",
N++);
1070 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1083 sprintf(nBlocks,
"ab%d",
N++);
1084 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1100 sprintf(nBlocks,
"ab%d",
N++);
1101 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1117 sprintf(nBlocks,
"ab%d",
N++);
1118 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1133 sprintf(nBlocks,
"ab%d",
N++);
1134 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1148 sprintf(nBlocks,
"ab%d",
N++);
1149 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1165 sprintf(nBlocks,
"ab%d",
N++);
1166 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1183 sprintf(nBlocks,
"ab%d",
N++);
1184 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1199 sprintf(nBlocks,
"ab%d",
N++);
1200 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1214 sprintf(nBlocks,
"ab%d",
N++);
1215 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1231 sprintf(nBlocks,
"ab%d",
N++);
1232 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1247 sprintf(nBlocks,
"ab%d",
N++);
1248 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1263 sprintf(nBlocks,
"ab%d",
N++);
1264 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1277 sprintf(nBlocks,
"ab%d",
N++);
1278 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1294 sprintf(nBlocks,
"ab%d",
N++);
1295 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1314 sprintf(nBlocks,
"ab%d",
N++);
1315 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1330 sprintf(nBlocks,
"ab%d",
N++);
1331 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1344 sprintf(nBlocks,
"ab%d",
N++);
1345 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1361 sprintf(nBlocks,
"ab%d",
N++);
1362 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1373 sprintf(nBlocks,
"ab%d",
N++);
1374 mBlock = geom->
MakeBox(nBlocks,Iron, 270,15,20);
1378 sprintf(nBlocks,
"ab%d",
N++);
1379 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1383 sprintf(nBlocks,
"ab%d",
N++);
1384 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1388 sprintf(nBlocks,
"ab%d",
N++);
1389 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1393 sprintf(nBlocks,
"ab%d",
N++);
1394 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1402 sprintf(nBlocks,
"ab%d",
N++);
1403 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1407 sprintf(nBlocks,
"ab%d",
N++);
1408 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1412 sprintf(nBlocks,
"ab%d",
N++);
1413 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1417 sprintf(nBlocks,
"ab%d",
N++);
1418 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1432 sprintf(nBlocks,
"ab%d",
N++);
1433 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1447 sprintf(nBlocks,
"ab%d",
N++);
1448 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1464 sprintf(nBlocks,
"ab%d",
N++);
1465 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1480 sprintf(nBlocks,
"ab%d",
N++);
1481 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1497 sprintf(nBlocks,
"ab%d",
N++);
1498 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1510 sprintf(nBlocks,
"ab%d",
N++);
1511 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1524 sprintf(nBlocks,
"ab%d",
N++);
1525 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1537 sprintf(nBlocks,
"ab%d",
N++);
1538 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1551 sprintf(nBlocks,
"ab%d",
N++);
1552 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1566 sprintf(nBlocks,
"ab%d",
N++);
1567 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1579 sprintf(nBlocks,
"ab%d",
N++);
1580 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1593 sprintf(nBlocks,
"ab%d",
N++);
1594 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1606 sprintf(nBlocks,
"ab%d",
N++);
1607 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1620 sprintf(nBlocks,
"ab%d",
N++);
1621 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1639 sprintf(nBlocks,
"ab%d",
N++);
1640 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1652 sprintf(nBlocks,
"ab%d",
N++);
1653 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1666 sprintf(nBlocks,
"ab%d",
N++);
1667 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1679 sprintf(nBlocks,
"ab%d",
N++);
1680 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1693 sprintf(nBlocks,
"ab%d",
N++);
1694 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1713 sprintf(nBlocks,
"ab%d",
N++);
1714 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1726 sprintf(nBlocks,
"ab%d",
N++);
1727 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1740 sprintf(nBlocks,
"ab%d",
N++);
1741 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1753 sprintf(nBlocks,
"ab%d",
N++);
1754 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1767 sprintf(nBlocks,
"ab%d",
N++);
1768 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1780 sprintf(nBlocks,
"ab%d",
N++);
1781 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
1788 sprintf(nBlocks,
"ab%d",
N++);
1789 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
1795 sprintf(nBlocks,
"ab%d",
N++);
1796 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
1802 sprintf(nBlocks,
"ab%d",
N++);
1803 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
1819 sprintf(nBlocks,
"ab%d",
N++);
1820 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
1838 sprintf(nBlocks,
"ab%d",
N++);
1839 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
1851 sprintf(nBlocks,
"ab%d",
N++);
1852 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
1858 sprintf(nBlocks,
"ab%d",
N++);
1859 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
1870 sprintf(nBlocks,
"ab%d",
N++);
1871 mBlock = geom->
MakeBox(nBlocks, Iron, 300,75,40);
1878 sprintf(nBlocks,
"ab%d",
N++);
1879 mBlock = geom->
MakeBox(nBlocks, Iron, 305,80,2.5);
Class describing rotation + translation.
The manager class for any TGeo geometry.
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
TGeoVolume * MakeBox(const char *name, TGeoMedium *medium, Double_t dx, Double_t dy, Double_t dz)
Make in one step a volume pointing to a box shape with given medium.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
void SetTopVisible(Bool_t vis=kTRUE)
make top volume visible on screen
TGeoVolume * MakeTubs(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2)
Make in one step a volume pointing to a tube segment shape with given medium.
Base class describing materials.
Media are used to store properties related to tracking and which are useful only when using geometry ...
Class describing rotations.
Class describing translations.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
void SetVisibility(Bool_t vis=kTRUE) override
set visibility of this volume
void Draw(Option_t *option="") override
draw top volume according to option
virtual void AddNodeOverlap(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=nullptr, Option_t *option="")
Add a TGeoNode to the list of nodes.
void SetLineColor(Color_t lcolor) override
Set the line color.