35 geom->SetTopVolume(top);
36 geom->SetTopVisible(
false);
48 pl1->SetLineColor(42);
50 pl2->SetLineColor(42);
52 plu->SetLineColor(42);
61 tp1->SetLineColor(12);
63 mgg->SetLineColor(12);
65 mgg1->SetLineColor(12);
72 stp->SetLineColor(12);
74 stp1->SetLineColor(12);
76 stpo1->SetLineColor(42);
85 mg1->SetLineColor(12);
88 mg1o1->SetLineColor(12);
97 bsp->SetLineColor(42);
100 Tip->SetLineColor(12);
102 Tip1->SetLineColor(14);
104 Tip2->SetLineColor(42);
107 wheel->SetLineColor(42);
114 Tip0->SetLineColor(12);
116 Tip0->SetLineColor(14);
125 for (
int i = 0; i < 26; i++) {
130 WH->SetLineColor(12);
131 whp->SetLineColor(14);
132 who->SetLineColor(42);
146 WHl->SetLineColor(12);
155 -150 + (25 * cos(34 * (3.14 / 180))),
new TGeoRotation(
"who", 90, 34, -90)));
158 -150 + (25 * cos(68 * (3.14 / 180))),
new TGeoRotation(
"who", 90, 68, -90)));
161 -150 + (25 * cos(102 * (3.14 / 180))),
165 -150 + (25 * cos(136 * (3.14 / 180))),
169 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 12, -120,
170 -150 + (25 * cos(136 * (3.14 / 180))) - 10,
173 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 24, -120,
174 -150 + (25 * cos(136 * (3.14 / 180))) - 20,
177 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 37, -120,
178 -150 + (25 * cos(136 * (3.14 / 180))) - 30,
181 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 50, -120,
182 -150 + (25 * cos(136 * (3.14 / 180))) - 40,
187 -150 + (22.8 * cos(34 * (3.14 / 180))),
191 -150 + (22.8 * cos(68 * (3.14 / 180))),
195 -150 + (22.8 * cos(102 * (3.14 / 180))),
199 -150 + (22.8 * cos(136 * (3.14 / 180))),
203 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 12, -120,
204 -150 + (22.8 * cos(136 * (3.14 / 180))) - 10,
207 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 24, -120,
208 -150 + (22.8 * cos(136 * (3.14 / 180))) - 20,
211 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 37, -120,
212 -150 + (22.8 * cos(136 * (3.14 / 180))) - 30,
215 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 50, -120,
216 -150 + (22.8 * cos(136 * (3.14 / 180))) - 40,
221 -150 + (27 * cos(34 * (3.14 / 180))),
225 -150 + (27 * cos(68 * (3.14 / 180))),
229 -150 + (27 * cos(102 * (3.14 / 180))),
233 -150 + (27 * cos(136 * (3.14 / 180))),
237 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 12, -127,
238 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
241 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 24, -127,
242 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
245 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 37, -127,
246 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
249 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 50, -127,
250 -150 + (27 * cos(136 * (3.14 / 180))) - 40,
255 -150 + (27 * cos(34 * (3.14 / 180))),
259 -150 + (27 * cos(68 * (3.14 / 180))),
263 -150 + (27 * cos(102 * (3.14 / 180))),
267 -150 + (27 * cos(136 * (3.14 / 180))),
271 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 12, -113,
272 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
275 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 24, -113,
276 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
279 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 37, -113,
280 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
283 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 50, -113,
284 -150 + (27 * cos(136 * (3.14 / 180))) - 40,
288 chc0->SetLineColor(12);
290 chc1->SetLineColor(12);
292 chc2->SetLineColor(12);
294 chc3->SetLineColor(12);
307 chcl->SetLineColor(12);
309 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 6, -111,
310 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
313 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 18, -111,
314 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
317 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 30, -111,
318 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
321 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 43, -111,
322 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
326 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 6, -129,
327 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
330 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 18, -129,
331 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
334 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 30, -129,
335 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
338 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 43, -129,
339 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
343 chc4->SetLineColor(12);
349 -150 + (25 * cos(34 * (3.14 / 180))),
new TGeoRotation(
"who", 90, -34, -90)));
352 -150 + (25 * cos(68 * (3.14 / 180))),
new TGeoRotation(
"who", 90, -68, -90)));
355 -150 + (25 * cos(102 * (3.14 / 180))),
359 -150 + (25 * cos(136 * (3.14 / 180))),
363 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 12, -120,
364 -150 + (25 * cos(136 * (3.14 / 180))) - 10,
367 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 24, -120,
368 -150 + (25 * cos(136 * (3.14 / 180))) - 20,
371 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 35, -120,
372 -150 + (25 * cos(136 * (3.14 / 180))) - 30,
375 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 48, -120,
376 -150 + (25 * cos(136 * (3.14 / 180))) - 41,
381 -150 + (22.8 * cos(34 * (3.14 / 180))),
385 -150 + (22.8 * cos(68 * (3.14 / 180))),
389 -150 + (22.8 * cos(102 * (3.14 / 180))),
393 -150 + (22.8 * cos(136 * (3.14 / 180))),
397 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 12, -120,
398 -150 + (22.8 * cos(136 * (3.14 / 180))) - 10,
401 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 24, -120,
402 -150 + (22.8 * cos(136 * (3.14 / 180))) - 20,
405 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 35, -120,
406 -150 + (22.8 * cos(136 * (3.14 / 180))) - 30,
409 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 48, -120,
410 -150 + (22.8 * cos(136 * (3.14 / 180))) - 41,
415 -150 + (27 * cos(34 * (3.14 / 180))),
419 -150 + (27 * cos(68 * (3.14 / 180))),
423 -150 + (27 * cos(102 * (3.14 / 180))),
427 -150 + (27 * cos(136 * (3.14 / 180))),
431 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 12, -127,
432 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
435 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 24, -127,
436 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
439 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 35, -127,
440 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
443 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 48, -127,
444 -150 + (27 * cos(136 * (3.14 / 180))) - 41,
449 -150 + (27 * cos(34 * (3.14 / 180))),
453 -150 + (27 * cos(68 * (3.14 / 180))),
457 -150 + (27 * cos(102 * (3.14 / 180))),
461 -150 + (27 * cos(136 * (3.14 / 180))),
465 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 12, -113,
466 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
469 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 24, -113,
470 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
473 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 35, -113,
474 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
477 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 48, -113,
478 -150 + (27 * cos(136 * (3.14 / 180))) - 41,
482 chc0i->SetLineColor(12);
484 chc1i->SetLineColor(12);
486 chc2i->SetLineColor(12);
488 chc3i->SetLineColor(12);
501 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 06, -129,
502 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
505 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 18, -129,
506 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
509 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 29, -129,
510 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
513 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 41, -129,
514 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
518 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 06, -111,
519 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
522 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 18, -111,
523 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
526 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 29, -111,
527 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
530 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 41, -111,
531 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
535 chc4i->SetLineColor(12);
543 -150 + (25 * cos(34 * (3.14 / 180))),
new TGeoRotation(
"who", 90, 34, -90)));
546 -150 + (25 * cos(68 * (3.14 / 180))),
new TGeoRotation(
"who", 90, 68, -90)));
549 -150 + (25 * cos(102 * (3.14 / 180))),
553 -150 + (25 * cos(136 * (3.14 / 180))),
557 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 12, 120,
558 -150 + (25 * cos(136 * (3.14 / 180))) - 10,
561 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 24, 120,
562 -150 + (25 * cos(136 * (3.14 / 180))) - 20,
565 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 37, 120,
566 -150 + (25 * cos(136 * (3.14 / 180))) - 30,
569 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 50, 120,
570 -150 + (25 * cos(136 * (3.14 / 180))) - 40,
575 -150 + (22.8 * cos(34 * (3.14 / 180))),
579 -150 + (22.8 * cos(68 * (3.14 / 180))),
583 -150 + (22.8 * cos(102 * (3.14 / 180))),
587 -150 + (22.8 * cos(136 * (3.14 / 180))),
591 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 12, 120,
592 -150 + (22.8 * cos(136 * (3.14 / 180))) - 10,
595 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 24, 120,
596 -150 + (22.8 * cos(136 * (3.14 / 180))) - 20,
599 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 37, 120,
600 -150 + (22.8 * cos(136 * (3.14 / 180))) - 30,
603 new TGeoCombiTrans(180 + (22.8 * sin(136 * (3.14 / 180))) - 50, 120,
604 -150 + (22.8 * cos(136 * (3.14 / 180))) - 40,
609 -150 + (27 * cos(34 * (3.14 / 180))),
613 -150 + (27 * cos(68 * (3.14 / 180))),
617 -150 + (27 * cos(102 * (3.14 / 180))),
621 -150 + (27 * cos(136 * (3.14 / 180))),
625 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 12, 113,
626 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
629 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 24, 113,
630 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
633 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 37, 113,
634 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
637 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 50, 113,
638 -150 + (27 * cos(136 * (3.14 / 180))) - 40,
643 -150 + (27 * cos(34 * (3.14 / 180))),
647 -150 + (27 * cos(68 * (3.14 / 180))),
651 -150 + (27 * cos(102 * (3.14 / 180))),
655 -150 + (27 * cos(136 * (3.14 / 180))),
659 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 12, 127,
660 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
663 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 24, 127,
664 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
667 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 37, 127,
668 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
671 new TGeoCombiTrans(180 + (27 * sin(136 * (3.14 / 180))) - 50, 127,
672 -150 + (27 * cos(136 * (3.14 / 180))) - 40,
687 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
690 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 18, 111,
691 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
694 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 30, 111,
695 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
698 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 43, 111,
699 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
704 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
707 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 18, 129,
708 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
711 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 30, 129,
712 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
715 new TGeoCombiTrans(180 + (25 * sin(136 * (3.14 / 180))) - 43, 129,
716 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
721 -150 + (25 * cos(34 * (3.14 / 180))),
new TGeoRotation(
"who", 90, -34, -90)));
724 -150 + (25 * cos(68 * (3.14 / 180))),
new TGeoRotation(
"who", 90, -68, -90)));
727 -150 + (25 * cos(102 * (3.14 / 180))),
731 -150 + (25 * cos(136 * (3.14 / 180))),
735 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 12, 120,
736 -150 + (25 * cos(136 * (3.14 / 180))) - 10,
739 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 24, 120,
740 -150 + (25 * cos(136 * (3.14 / 180))) - 20,
743 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 35, 120,
744 -150 + (25 * cos(136 * (3.14 / 180))) - 30,
747 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 48, 120,
748 -150 + (25 * cos(136 * (3.14 / 180))) - 41,
753 -150 + (22.8 * cos(34 * (3.14 / 180))),
757 -150 + (22.8 * cos(68 * (3.14 / 180))),
761 -150 + (22.8 * cos(102 * (3.14 / 180))),
765 -150 + (22.8 * cos(136 * (3.14 / 180))),
769 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 12, 120,
770 -150 + (22.8 * cos(136 * (3.14 / 180))) - 10,
773 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 24, 120,
774 -150 + (22.8 * cos(136 * (3.14 / 180))) - 20,
777 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 35, 120,
778 -150 + (22.8 * cos(136 * (3.14 / 180))) - 30,
781 new TGeoCombiTrans(-195 - (22.8 * sin(136 * (3.14 / 180))) + 48, 120,
782 -150 + (22.8 * cos(136 * (3.14 / 180))) - 41,
787 -150 + (27 * cos(34 * (3.14 / 180))),
791 -150 + (27 * cos(68 * (3.14 / 180))),
795 -150 + (27 * cos(102 * (3.14 / 180))),
799 -150 + (27 * cos(136 * (3.14 / 180))),
803 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 12, 113,
804 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
807 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 24, 113,
808 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
811 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 35, 113,
812 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
815 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 48, 113,
816 -150 + (27 * cos(136 * (3.14 / 180))) - 41,
821 -150 + (27 * cos(34 * (3.14 / 180))),
825 -150 + (27 * cos(68 * (3.14 / 180))),
829 -150 + (27 * cos(102 * (3.14 / 180))),
833 -150 + (27 * cos(136 * (3.14 / 180))),
837 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 12, 127,
838 -150 + (27 * cos(136 * (3.14 / 180))) - 10,
841 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 24, 127,
842 -150 + (27 * cos(136 * (3.14 / 180))) - 20,
845 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 35, 127,
846 -150 + (27 * cos(136 * (3.14 / 180))) - 30,
849 new TGeoCombiTrans(-195 - (27 * sin(136 * (3.14 / 180))) + 48, 127,
850 -150 + (27 * cos(136 * (3.14 / 180))) - 41,
864 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 06, 129,
865 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
868 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 18, 129,
869 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
872 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 29, 129,
873 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
876 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 41, 129,
877 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
881 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 06, 111,
882 -150 + (25 * cos(136 * (3.14 / 180))) - 5,
885 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 18, 111,
886 -150 + (25 * cos(136 * (3.14 / 180))) - 15,
889 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 29, 111,
890 -150 + (25 * cos(136 * (3.14 / 180))) - 25,
893 new TGeoCombiTrans(-195 - (25 * sin(136 * (3.14 / 180))) + 41, 111,
894 -150 + (25 * cos(136 * (3.14 / 180))) - 35,
898 for (
int i = 0; i < 20; i++) {
912 WHlu->SetLineColor(12);
1032 geom->CloseGeometry();
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Class describing rotation + translation.
The manager class for any TGeo geometry.
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.