56 for (
int i = 0; i <=
N; i++) {
65 for (
int i = 1; i < pcs; i++) {
66 sprintf(
name,
"Horn%d", i);
67 Horn = Robot->
MakeSphere(
name, Iron, 10 - 10 / pcs * i, 10, 180 - (120 / pcs) * i, 180 - ((120 / pcs) * (i - 1)),
76 TGeoVolume *Migan = Robot->
MakeGtra(
"Migan", Iron, 3, 0, 0, 0, 3, 2, 11, 0, 3, 3, 11, 0);
79 TGeoVolume *Ko = Robot->
MakeGtra(
"Ko", Iron, 7, 0, 0, 0, 3, 1, 5, 0, 3, 2, 5, 0);
88 TGeoVolume *Bol_2 = Robot->
MakeGtra(
"Bol_2", Iron, 1, 0, 0, 0, 7, 0, 9, 0, 7, 0, 9, 0);
126 for (
int i = 0; i < 10; i++) {
138 for (
int i = 1; i < 28; i += 1) {
150 for (
int i = 1; i < 28; i += 1) {
157 for (
int i = 1; i < 28; i += 1) {
301 for (
int i = 0; i < 30; i++) {
302 TGeoVolume *Gungdi_j = Robot->
MakeEltu(
"Gungdi_j", Iron, 24 - 0.2 * i, 49 - 0.5 * i, 1);
307 for (
int i = 0; i < 40; i++) {
309 TGeoVolume *Gungdi_h = Robot->
MakeEltu(
"Gungdi_h", Iron, 24 - 0.1 * i, 49 - 0.3 * i, 1);
314 TGeoVolume *Gungdi_h = Robot->
MakeEltu(
"Gungdi_h", Iron, 27 - 0.3 * i, 52 - 0.5 * i, 1);
341 for (
int i = 0; i < 30; i++) {
342 TGeoVolume *Mu = Robot->
MakeCons(
"Mu", Iron, 1, 0, 22.1, 0, 22.1, 120 + 2 * i, -120 - 2 * i);
404 for (
int i = 0; i < 4; i++) {
407 for (
int i = 0; i < 4; i++) {
413 for (
int i = 0; i < 4; i++) {
416 for (
int i = 0; i < 4; i++) {
434 for (
int i = 1; i < 20; i += 1) {
442 if (6 < i && i < 10) {
444 Robot->
MakeCons(
"Effect", Iron, 5, 20 /
sin(i), 21 /
sin(i), 20 /
sin(i), 21 /
sin(i), 50, 120);
449 if (9 < i && i < 20) {
451 Robot->
MakeCons(
"Effect", Iron, 4, 20 /
sin(i), 21 /
sin(i), 20 /
sin(i), 21 /
sin(i), 200, 330);
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
Class describing rotation + translation.
The manager class for any TGeo geometry.
TGeoVolume * MakeCone(const char *name, TGeoMedium *medium, Double_t dz, Double_t rmin1, Double_t rmax1, Double_t rmin2, Double_t rmax2)
Make in one step a volume pointing to a cone shape with given medium.
TGeoVolume * MakeCons(const char *name, TGeoMedium *medium, Double_t dz, Double_t rmin1, Double_t rmax1, Double_t rmin2, Double_t rmax2, Double_t phi1, Double_t phi2)
Make in one step a volume pointing to a cone segment shape with given medium.
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
TGeoVolume * MakeTrd2(const char *name, TGeoMedium *medium, Double_t dx1, Double_t dx2, Double_t dy1, Double_t dy2, Double_t dz)
Make in one step a volume pointing to a TGeoTrd2 shape with given medium.
TGeoVolume * MakeGtra(const char *name, TGeoMedium *medium, Double_t dz, Double_t theta, Double_t phi, Double_t twist, Double_t h1, Double_t bl1, Double_t tl1, Double_t alpha1, Double_t h2, Double_t bl2, Double_t tl2, Double_t alpha2)
Make in one step a volume pointing to a twisted trapezoid shape with given medium.
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.
TGeoVolume * MakeSphere(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t themin=0, Double_t themax=180, Double_t phimin=0, Double_t phimax=360)
Make in one step a volume pointing to a sphere 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 * MakeEltu(const char *name, TGeoMedium *medium, Double_t a, Double_t b, Double_t dz)
Make in one step a volume pointing to a tube 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.
RVec< PromoteType< T > > cos(const RVec< T > &v)
RVec< PromoteType< T > > sin(const RVec< T > &v)
RooArgSet S(Args_t &&... args)