49 int di[2]; di[0] = 0; di[1] = 30;
58 sprintf(nBlocks,
"f%d_bg%d",f,N++);
59 mBlock = geom->
MakeBox(nBlocks, Iron, 29,149,9);
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);
99 sprintf(nBlocks,
"f%d_bg%d",8,N++);
100 mBlock = geom->
MakeBox(nBlocks, Iron, 40,149,9);
103 sprintf(nBlocks,
"f%d_bg%d",8,N++);
104 mBlock = geom->
MakeBox(nBlocks, Iron, 40,149,9);
108 sprintf(nBlocks,
"f%d_bg%d",7,N++);
109 mBlock = geom->
MakeBox(nBlocks, Iron, 15,149,9);
112 sprintf(nBlocks,
"f%d_bg%d",7,N++);
113 mBlock = geom->
MakeBox(nBlocks, Iron, 15,149,9);
117 sprintf(nBlocks,
"f%d_bg%d",6,N++);
118 mBlock = geom->
MakeBox(nBlocks, Iron, 24,149,9);
121 sprintf(nBlocks,
"f%d_bg%d",6,N++);
122 mBlock = geom->
MakeBox(nBlocks, Iron, 24,149,9);
141 sprintf(nBlocks,
"f%d_bg%d",f,N++);
142 mBlock = geom->
MakeBox(nBlocks, Iron, 5.8,3,3.8);
157 sprintf(nBlocks,
"f%d_bg%d",f,N++);
158 mBlock = geom->
MakeBox(nBlocks, Iron, 5.8,3,3.8);
175 sprintf(nBlocks,
"f%d_bg%d",f,N++);
176 mBlock = geom->
MakeBox(nBlocks, Iron, 3,5.8,3.8);
191 sprintf(nBlocks,
"f%d_bg%d",f,N++);
192 mBlock = geom->
MakeBox(nBlocks, Iron, 3,5.8,3.8);
210 sprintf(nBlocks,
"ab%d",N++);
211 mBlock = geom->
MakeTubs(nBlocks,Iron, 70,89,14, (i*36)+0.5, (i+1)*36-0.5);
219 sprintf(nBlocks,
"ab%d",N++);
220 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,17);
223 sprintf(nBlocks,
"ab%d",N++);
224 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,18);
228 sprintf(nBlocks,
"ab%d",N++);
229 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,17);
232 sprintf(nBlocks,
"ab%d",N++);
233 mBlock = geom->
MakeBox(nBlocks, Iron, 9,149,18);
247 sprintf(nBlocks,
"ab%d",N++);
248 mBlock = geom->
MakeTubs(nBlocks,Iron, 1,3,7, 0, 180);
264 sprintf(nBlocks,
"ab%d",N++);
265 mBlock = geom->
MakeTubs(nBlocks,Iron, 2.5,3,7, 0, 180);
279 sprintf(nBlocks,
"ab%d",N++);
280 mBlock = geom->
MakeTubs(nBlocks,Iron, 2.5,3,6, 0, 180);
295 sprintf(nBlocks,
"ab%d",N++);
296 mBlock = geom->
MakeTubs(nBlocks,Iron, 2.5,3,7, 0, 180);
315 sprintf(nBlocks,
"ab%d",N++);
316 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,56, 0, 360);
338 sprintf(nBlocks,
"ab%d",N++);
339 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,56, 0, 360);
358 sprintf(nBlocks,
"ab%d",N++);
359 mBlock = geom->
MakeBox(nBlocks, Iron, 298,78,8);
365 sprintf(nBlocks,
"ab%d",N++);
366 mBlock = geom->
MakeBox(nBlocks, Iron, 298,78,5);
377 sprintf(nBlocks,
"ab%d",N++);
378 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
397 sprintf(nBlocks,
"ab%d",N++);
398 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
412 sprintf(nBlocks,
"ab%d",N++);
413 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
419 sprintf(nBlocks,
"ab%d",N++);
420 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
434 sprintf(nBlocks,
"ab%d",N++);
435 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
454 sprintf(nBlocks,
"ab%d",N++);
455 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
468 sprintf(nBlocks,
"ab%d",N++);
469 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
475 sprintf(nBlocks,
"ab%d",N++);
476 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
497 sprintf(nBlocks,
"ab%d",N++);
498 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
513 sprintf(nBlocks,
"ab%d",N++);
514 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
528 sprintf(nBlocks,
"ab%d",N++);
529 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
545 sprintf(nBlocks,
"ab%d",N++);
546 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
562 sprintf(nBlocks,
"ab%d",N++);
563 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
578 sprintf(nBlocks,
"ab%d",N++);
579 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
593 sprintf(nBlocks,
"ab%d",N++);
594 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
610 sprintf(nBlocks,
"ab%d",N++);
611 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
624 sprintf(nBlocks,
"ab%d",N++);
625 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
632 sprintf(nBlocks,
"ab%d",N++);
633 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
639 sprintf(nBlocks,
"ab%d",N++);
640 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
646 sprintf(nBlocks,
"ab%d",N++);
647 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
663 sprintf(nBlocks,
"ab%d",N++);
664 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
682 sprintf(nBlocks,
"ab%d",N++);
683 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
695 sprintf(nBlocks,
"ab%d",N++);
696 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
702 sprintf(nBlocks,
"ab%d",N++);
703 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
720 sprintf(nBlocks,
"ab%d",N++);
721 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,30, 0, 360);
743 sprintf(nBlocks,
"ab%d",N++);
744 mBlock = geom->
MakeTubs(nBlocks,Iron, 0,5,30, 0, 360);
766 sprintf(nBlocks,
"ab%d",N++);
767 mBlock = geom->
MakeBox(nBlocks, Iron, 302,80,8);
773 sprintf(nBlocks,
"ab%d",N++);
774 mBlock = geom->
MakeBox(nBlocks, Iron, 302,80,5);
779 sprintf(nBlocks,
"ab%d",N++);
780 mBlock = geom->
MakeBox(nBlocks, Iron, 305,80,2.5);
797 sprintf(nBlocks,
"ab%d",N++);
798 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
817 sprintf(nBlocks,
"ab%d",N++);
818 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,8);
832 sprintf(nBlocks,
"ab%d",N++);
833 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
839 sprintf(nBlocks,
"ab%d",N++);
840 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,8);
854 sprintf(nBlocks,
"ab%d",N++);
855 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
874 sprintf(nBlocks,
"ab%d",N++);
875 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,5);
888 sprintf(nBlocks,
"ab%d",N++);
889 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
895 sprintf(nBlocks,
"ab%d",N++);
896 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,5);
917 sprintf(nBlocks,
"ab%d",N++);
918 mBlock = geom->
MakeBox(nBlocks,Iron, 1.5,5,15);
933 sprintf(nBlocks,
"ab%d",N++);
934 mBlock = geom->
MakeBox(nBlocks,Iron, 1.5,5,15);
948 sprintf(nBlocks,
"ab%d",N++);
949 mBlock = geom->
MakeBox(nBlocks,Iron, 5,1.5,15);
965 sprintf(nBlocks,
"ab%d",N++);
966 mBlock = geom->
MakeBox(nBlocks,Iron, 5,1.5,15);
984 sprintf(nBlocks,
"ab%d",N++);
985 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1000 sprintf(nBlocks,
"ab%d",N++);
1001 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1015 sprintf(nBlocks,
"ab%d",N++);
1016 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1032 sprintf(nBlocks,
"ab%d",N++);
1033 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1052 sprintf(nBlocks,
"ab%d",N++);
1053 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1068 sprintf(nBlocks,
"ab%d",N++);
1069 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1082 sprintf(nBlocks,
"ab%d",N++);
1083 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1099 sprintf(nBlocks,
"ab%d",N++);
1100 mBlock = geom->
MakeBox(nBlocks,Iron, 5,5,20);
1116 sprintf(nBlocks,
"ab%d",N++);
1117 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1132 sprintf(nBlocks,
"ab%d",N++);
1133 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1147 sprintf(nBlocks,
"ab%d",N++);
1148 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1164 sprintf(nBlocks,
"ab%d",N++);
1165 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1182 sprintf(nBlocks,
"ab%d",N++);
1183 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1198 sprintf(nBlocks,
"ab%d",N++);
1199 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1213 sprintf(nBlocks,
"ab%d",N++);
1214 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1230 sprintf(nBlocks,
"ab%d",N++);
1231 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1246 sprintf(nBlocks,
"ab%d",N++);
1247 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1262 sprintf(nBlocks,
"ab%d",N++);
1263 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1276 sprintf(nBlocks,
"ab%d",N++);
1277 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1293 sprintf(nBlocks,
"ab%d",N++);
1294 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1313 sprintf(nBlocks,
"ab%d",N++);
1314 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1329 sprintf(nBlocks,
"ab%d",N++);
1330 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1343 sprintf(nBlocks,
"ab%d",N++);
1344 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1360 sprintf(nBlocks,
"ab%d",N++);
1361 mBlock = geom->
MakeBox(nBlocks,Iron, 2.5,2.5,20);
1372 sprintf(nBlocks,
"ab%d",N++);
1373 mBlock = geom->
MakeBox(nBlocks,Iron, 270,15,20);
1377 sprintf(nBlocks,
"ab%d",N++);
1378 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1382 sprintf(nBlocks,
"ab%d",N++);
1383 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1387 sprintf(nBlocks,
"ab%d",N++);
1388 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1392 sprintf(nBlocks,
"ab%d",N++);
1393 mBlock = geom->
MakeBox(nBlocks,Iron, 75,15,20);
1401 sprintf(nBlocks,
"ab%d",N++);
1402 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1406 sprintf(nBlocks,
"ab%d",N++);
1407 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1411 sprintf(nBlocks,
"ab%d",N++);
1412 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1416 sprintf(nBlocks,
"ab%d",N++);
1417 mBlock = geom->
MakeBox(nBlocks,Iron, 50,15,20);
1431 sprintf(nBlocks,
"ab%d",N++);
1432 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1446 sprintf(nBlocks,
"ab%d",N++);
1447 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1463 sprintf(nBlocks,
"ab%d",N++);
1464 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1479 sprintf(nBlocks,
"ab%d",N++);
1480 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1496 sprintf(nBlocks,
"ab%d",N++);
1497 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1509 sprintf(nBlocks,
"ab%d",N++);
1510 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1523 sprintf(nBlocks,
"ab%d",N++);
1524 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1536 sprintf(nBlocks,
"ab%d",N++);
1537 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1550 sprintf(nBlocks,
"ab%d",N++);
1551 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1565 sprintf(nBlocks,
"ab%d",N++);
1566 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1578 sprintf(nBlocks,
"ab%d",N++);
1579 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1592 sprintf(nBlocks,
"ab%d",N++);
1593 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1605 sprintf(nBlocks,
"ab%d",N++);
1606 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1619 sprintf(nBlocks,
"ab%d",N++);
1620 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);
1651 sprintf(nBlocks,
"ab%d",N++);
1652 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1665 sprintf(nBlocks,
"ab%d",N++);
1666 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1678 sprintf(nBlocks,
"ab%d",N++);
1679 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1692 sprintf(nBlocks,
"ab%d",N++);
1693 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1712 sprintf(nBlocks,
"ab%d",N++);
1713 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1725 sprintf(nBlocks,
"ab%d",N++);
1726 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1739 sprintf(nBlocks,
"ab%d",N++);
1740 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1752 sprintf(nBlocks,
"ab%d",N++);
1753 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1766 sprintf(nBlocks,
"ab%d",N++);
1767 mBlock = geom->
MakeTubs(nBlocks,Iron, 3,6,6,10,170);
1779 sprintf(nBlocks,
"ab%d",N++);
1780 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
1787 sprintf(nBlocks,
"ab%d",N++);
1788 mBlock = geom->
MakeBox(nBlocks, Iron, 330,10,2);
1794 sprintf(nBlocks,
"ab%d",N++);
1795 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
1801 sprintf(nBlocks,
"ab%d",N++);
1802 mBlock = geom->
MakeBox(nBlocks, Iron, 110,10,2);
1818 sprintf(nBlocks,
"ab%d",N++);
1819 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
1837 sprintf(nBlocks,
"ab%d",N++);
1838 mBlock = geom->
MakeBox(nBlocks,Iron,18,10,2);
1850 sprintf(nBlocks,
"ab%d",N++);
1851 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
1857 sprintf(nBlocks,
"ab%d",N++);
1858 mBlock = geom->
MakeBox(nBlocks, Iron, 18,10,2);
1869 sprintf(nBlocks,
"ab%d",N++);
1870 mBlock = geom->
MakeBox(nBlocks, Iron, 300,75,40);
1877 sprintf(nBlocks,
"ab%d",N++);
1878 mBlock = geom->
MakeBox(nBlocks, Iron, 305,80,2.5);
void SetTopVisible(Bool_t vis=kTRUE)
make top volume visible on screen
The manager class for any TGeo geometry.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
virtual void AddNodeOverlap(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
Add a TGeoNode to the list of nodes.
virtual void Draw(Option_t *option="")
draw top volume according to option
Class describing translations.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
Base class describing materials.
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.
Class describing rotation + translation.
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
Class describing rotations.
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.
virtual void SetVisibility(Bool_t vis=kTRUE)
set visibility of this volume
Media are used to store properties related to tracking and which are useful only when using geometry ...
virtual void SetLineColor(Color_t lcolor)
Set the line color.