54 if (i == 6 &&
f < 8) {
58 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
59 mBlock = geom->
MakeBox(nBlocks, Iron, 29, 149, 9);
62 if (i <= 5 &&
f < 8) {
64 }
else if (i > 5 &&
f < 8) {
71 if (i >= 14 &&
f >= 8 &&
f % 2 == 1) {
72 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
73 mBlock = geom->
MakeBox(nBlocks, Iron, 29, 149, 9);
79 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
80 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5, 149, 9);
83 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
84 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5, 149, 9);
88 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
89 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5, 149, 9);
92 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
93 mBlock = geom->
MakeBox(nBlocks, Iron, 14.5, 149, 9);
98 sprintf(nBlocks,
"f%d_bg%d", 8,
N++);
99 mBlock = geom->
MakeBox(nBlocks, Iron, 40, 149, 9);
102 sprintf(nBlocks,
"f%d_bg%d", 8,
N++);
103 mBlock = geom->
MakeBox(nBlocks, Iron, 40, 149, 9);
107 sprintf(nBlocks,
"f%d_bg%d", 7,
N++);
108 mBlock = geom->
MakeBox(nBlocks, Iron, 15, 149, 9);
111 sprintf(nBlocks,
"f%d_bg%d", 7,
N++);
112 mBlock = geom->
MakeBox(nBlocks, Iron, 15, 149, 9);
116 sprintf(nBlocks,
"f%d_bg%d", 6,
N++);
117 mBlock = geom->
MakeBox(nBlocks, Iron, 24, 149, 9);
120 sprintf(nBlocks,
"f%d_bg%d", 6,
N++);
121 mBlock = geom->
MakeBox(nBlocks, Iron, 24, 149, 9);
135 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
136 mBlock = geom->
MakeBox(nBlocks, Iron, 5.8, 3, 3.8);
148 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
149 mBlock = geom->
MakeBox(nBlocks, Iron, 5.8, 3, 3.8);
161 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
162 mBlock = geom->
MakeBox(nBlocks, Iron, 3, 5.8, 3.8);
174 sprintf(nBlocks,
"f%d_bg%d",
f,
N++);
175 mBlock = geom->
MakeBox(nBlocks, Iron, 3, 5.8, 3.8);
191 sprintf(nBlocks,
"ab%d",
N++);
192 mBlock = geom->
MakeTubs(nBlocks, Iron, 70, 89, 14, (i * 36) + 0.5, (i + 1) * 36 - 0.5);
201 sprintf(nBlocks,
"ab%d",
N++);
202 mBlock = geom->
MakeBox(nBlocks, Iron, 9, 149, 17);
205 sprintf(nBlocks,
"ab%d",
N++);
206 mBlock = geom->
MakeBox(nBlocks, Iron, 9, 149, 18);
210 sprintf(nBlocks,
"ab%d",
N++);
211 mBlock = geom->
MakeBox(nBlocks, Iron, 9, 149, 17);
214 sprintf(nBlocks,
"ab%d",
N++);
215 mBlock = geom->
MakeBox(nBlocks, Iron, 9, 149, 18);
226 sprintf(nBlocks,
"ab%d",
N++);
227 mBlock = geom->
MakeTubs(nBlocks, Iron, 1, 3, 7, 0, 180);
242 sprintf(nBlocks,
"ab%d",
N++);
243 mBlock = geom->
MakeTubs(nBlocks, Iron, 2.5, 3, 7, 0, 180);
258 sprintf(nBlocks,
"ab%d",
N++);
259 mBlock = geom->
MakeTubs(nBlocks, Iron, 2.5, 3, 6, 0, 180);
274 sprintf(nBlocks,
"ab%d",
N++);
275 mBlock = geom->
MakeTubs(nBlocks, Iron, 2.5, 3, 7, 0, 180);
294 sprintf(nBlocks,
"ab%d",
N++);
295 mBlock = geom->
MakeTubs(nBlocks, Iron, 0, 5, 56, 0, 360);
318 sprintf(nBlocks,
"ab%d",
N++);
319 mBlock = geom->
MakeTubs(nBlocks, Iron, 0, 5, 56, 0, 360);
339 sprintf(nBlocks,
"ab%d",
N++);
340 mBlock = geom->
MakeBox(nBlocks, Iron, 298, 78, 8);
344 sprintf(nBlocks,
"ab%d",
N++);
345 mBlock = geom->
MakeBox(nBlocks, Iron, 298, 78, 5);
355 sprintf(nBlocks,
"ab%d",
N++);
356 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
373 sprintf(nBlocks,
"ab%d",
N++);
374 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
386 sprintf(nBlocks,
"ab%d",
N++);
387 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
391 sprintf(nBlocks,
"ab%d",
N++);
392 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
402 sprintf(nBlocks,
"ab%d",
N++);
403 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
420 sprintf(nBlocks,
"ab%d",
N++);
421 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
433 sprintf(nBlocks,
"ab%d",
N++);
434 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
438 sprintf(nBlocks,
"ab%d",
N++);
439 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
450 sprintf(nBlocks,
"ab%d",
N++);
451 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
466 sprintf(nBlocks,
"ab%d",
N++);
467 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
482 sprintf(nBlocks,
"ab%d",
N++);
483 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
497 sprintf(nBlocks,
"ab%d",
N++);
498 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
514 sprintf(nBlocks,
"ab%d",
N++);
515 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
530 sprintf(nBlocks,
"ab%d",
N++);
531 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
546 sprintf(nBlocks,
"ab%d",
N++);
547 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
562 sprintf(nBlocks,
"ab%d",
N++);
563 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
575 sprintf(nBlocks,
"ab%d",
N++);
576 mBlock = geom->
MakeBox(nBlocks, Iron, 330, 10, 2);
580 sprintf(nBlocks,
"ab%d",
N++);
581 mBlock = geom->
MakeBox(nBlocks, Iron, 330, 10, 2);
585 sprintf(nBlocks,
"ab%d",
N++);
586 mBlock = geom->
MakeBox(nBlocks, Iron, 110, 10, 2);
590 sprintf(nBlocks,
"ab%d",
N++);
591 mBlock = geom->
MakeBox(nBlocks, Iron, 110, 10, 2);
602 sprintf(nBlocks,
"ab%d",
N++);
603 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
620 sprintf(nBlocks,
"ab%d",
N++);
621 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
633 sprintf(nBlocks,
"ab%d",
N++);
634 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
638 sprintf(nBlocks,
"ab%d",
N++);
639 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
652 sprintf(nBlocks,
"ab%d",
N++);
653 mBlock = geom->
MakeTubs(nBlocks, Iron, 0, 5, 30, 0, 360);
676 sprintf(nBlocks,
"ab%d",
N++);
677 mBlock = geom->
MakeTubs(nBlocks, Iron, 0, 5, 30, 0, 360);
697 sprintf(nBlocks,
"ab%d",
N++);
698 mBlock = geom->
MakeBox(nBlocks, Iron, 302, 80, 8);
702 sprintf(nBlocks,
"ab%d",
N++);
703 mBlock = geom->
MakeBox(nBlocks, Iron, 302, 80, 5);
707 sprintf(nBlocks,
"ab%d",
N++);
708 mBlock = geom->
MakeBox(nBlocks, Iron, 305, 80, 2.5);
720 sprintf(nBlocks,
"ab%d",
N++);
721 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
738 sprintf(nBlocks,
"ab%d",
N++);
739 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
751 sprintf(nBlocks,
"ab%d",
N++);
752 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
756 sprintf(nBlocks,
"ab%d",
N++);
757 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 8);
767 sprintf(nBlocks,
"ab%d",
N++);
768 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
785 sprintf(nBlocks,
"ab%d",
N++);
786 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
798 sprintf(nBlocks,
"ab%d",
N++);
799 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
803 sprintf(nBlocks,
"ab%d",
N++);
804 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 5);
815 sprintf(nBlocks,
"ab%d",
N++);
816 mBlock = geom->
MakeBox(nBlocks, Iron, 1.5, 5, 15);
830 sprintf(nBlocks,
"ab%d",
N++);
831 mBlock = geom->
MakeBox(nBlocks, Iron, 1.5, 5, 15);
845 sprintf(nBlocks,
"ab%d",
N++);
846 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 1.5, 15);
860 sprintf(nBlocks,
"ab%d",
N++);
861 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 1.5, 15);
877 sprintf(nBlocks,
"ab%d",
N++);
878 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
893 sprintf(nBlocks,
"ab%d",
N++);
894 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
909 sprintf(nBlocks,
"ab%d",
N++);
910 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
924 sprintf(nBlocks,
"ab%d",
N++);
925 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
943 sprintf(nBlocks,
"ab%d",
N++);
944 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
959 sprintf(nBlocks,
"ab%d",
N++);
960 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
975 sprintf(nBlocks,
"ab%d",
N++);
976 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
991 sprintf(nBlocks,
"ab%d",
N++);
992 mBlock = geom->
MakeBox(nBlocks, Iron, 5, 5, 20);
1009 sprintf(nBlocks,
"ab%d",
N++);
1010 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1025 sprintf(nBlocks,
"ab%d",
N++);
1026 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1041 sprintf(nBlocks,
"ab%d",
N++);
1042 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1057 sprintf(nBlocks,
"ab%d",
N++);
1058 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1075 sprintf(nBlocks,
"ab%d",
N++);
1076 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1091 sprintf(nBlocks,
"ab%d",
N++);
1092 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1107 sprintf(nBlocks,
"ab%d",
N++);
1108 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1123 sprintf(nBlocks,
"ab%d",
N++);
1124 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1141 sprintf(nBlocks,
"ab%d",
N++);
1142 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1157 sprintf(nBlocks,
"ab%d",
N++);
1158 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1173 sprintf(nBlocks,
"ab%d",
N++);
1174 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1189 sprintf(nBlocks,
"ab%d",
N++);
1190 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1207 sprintf(nBlocks,
"ab%d",
N++);
1208 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1223 sprintf(nBlocks,
"ab%d",
N++);
1224 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1239 sprintf(nBlocks,
"ab%d",
N++);
1240 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1255 sprintf(nBlocks,
"ab%d",
N++);
1256 mBlock = geom->
MakeBox(nBlocks, Iron, 2.5, 2.5, 20);
1268 sprintf(nBlocks,
"ab%d",
N++);
1269 mBlock = geom->
MakeBox(nBlocks, Iron, 270, 15, 20);
1273 sprintf(nBlocks,
"ab%d",
N++);
1274 mBlock = geom->
MakeBox(nBlocks, Iron, 75, 15, 20);
1278 sprintf(nBlocks,
"ab%d",
N++);
1279 mBlock = geom->
MakeBox(nBlocks, Iron, 75, 15, 20);
1283 sprintf(nBlocks,
"ab%d",
N++);
1284 mBlock = geom->
MakeBox(nBlocks, Iron, 75, 15, 20);
1288 sprintf(nBlocks,
"ab%d",
N++);
1289 mBlock = geom->
MakeBox(nBlocks, Iron, 75, 15, 20);
1294 sprintf(nBlocks,
"ab%d",
N++);
1295 mBlock = geom->
MakeBox(nBlocks, Iron, 50, 15, 20);
1299 sprintf(nBlocks,
"ab%d",
N++);
1300 mBlock = geom->
MakeBox(nBlocks, Iron, 50, 15, 20);
1304 sprintf(nBlocks,
"ab%d",
N++);
1305 mBlock = geom->
MakeBox(nBlocks, Iron, 50, 15, 20);
1309 sprintf(nBlocks,
"ab%d",
N++);
1310 mBlock = geom->
MakeBox(nBlocks, Iron, 50, 15, 20);
1322 sprintf(nBlocks,
"ab%d",
N++);
1323 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1339 sprintf(nBlocks,
"ab%d",
N++);
1340 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1357 sprintf(nBlocks,
"ab%d",
N++);
1358 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1375 sprintf(nBlocks,
"ab%d",
N++);
1376 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1393 sprintf(nBlocks,
"ab%d",
N++);
1394 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1409 sprintf(nBlocks,
"ab%d",
N++);
1410 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1425 sprintf(nBlocks,
"ab%d",
N++);
1426 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1441 sprintf(nBlocks,
"ab%d",
N++);
1442 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1457 sprintf(nBlocks,
"ab%d",
N++);
1458 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1473 sprintf(nBlocks,
"ab%d",
N++);
1474 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1490 sprintf(nBlocks,
"ab%d",
N++);
1491 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1506 sprintf(nBlocks,
"ab%d",
N++);
1507 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1522 sprintf(nBlocks,
"ab%d",
N++);
1523 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1538 sprintf(nBlocks,
"ab%d",
N++);
1539 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1556 sprintf(nBlocks,
"ab%d",
N++);
1557 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1572 sprintf(nBlocks,
"ab%d",
N++);
1573 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1588 sprintf(nBlocks,
"ab%d",
N++);
1589 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1604 sprintf(nBlocks,
"ab%d",
N++);
1605 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);
1638 sprintf(nBlocks,
"ab%d",
N++);
1639 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1655 sprintf(nBlocks,
"ab%d",
N++);
1656 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1671 sprintf(nBlocks,
"ab%d",
N++);
1672 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1687 sprintf(nBlocks,
"ab%d",
N++);
1688 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1703 sprintf(nBlocks,
"ab%d",
N++);
1704 mBlock = geom->
MakeTubs(nBlocks, Iron, 3, 6, 6, 10, 170);
1716 sprintf(nBlocks,
"ab%d",
N++);
1717 mBlock = geom->
MakeBox(nBlocks, Iron, 330, 10, 2);
1721 sprintf(nBlocks,
"ab%d",
N++);
1722 mBlock = geom->
MakeBox(nBlocks, Iron, 330, 10, 2);
1726 sprintf(nBlocks,
"ab%d",
N++);
1727 mBlock = geom->
MakeBox(nBlocks, Iron, 110, 10, 2);
1731 sprintf(nBlocks,
"ab%d",
N++);
1732 mBlock = geom->
MakeBox(nBlocks, Iron, 110, 10, 2);
1743 sprintf(nBlocks,
"ab%d",
N++);
1744 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
1761 sprintf(nBlocks,
"ab%d",
N++);
1762 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
1774 sprintf(nBlocks,
"ab%d",
N++);
1775 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
1779 sprintf(nBlocks,
"ab%d",
N++);
1780 mBlock = geom->
MakeBox(nBlocks, Iron, 18, 10, 2);
1786 sprintf(nBlocks,
"ab%d",
N++);
1787 mBlock = geom->
MakeBox(nBlocks, Iron, 300, 75, 40);
1792 sprintf(nBlocks,
"ab%d",
N++);
1793 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.