This macro was created for the evaluation of Computational Physics course in 2006. We thank to Prof. Inkyu Park for his special lecture on ROOT and to all of ROOT team
{
Robot->SetTopVolume(top);
Robot->SetTopVisible(
false);
float Phi = 3.14;
for (
int i = 0; i <=
N; i++) {
}
for (
int i = 1; i <
pcs; i++) {
240, 300);
}
TGeoVolume *
Migan =
Robot->MakeGtra(
"Migan",
Iron, 3, 0, 0, 0, 3, 2, 11, 0, 3, 3, 11, 0);
TGeoVolume *
Ko =
Robot->MakeGtra(
"Ko",
Iron, 7, 0, 0, 0, 3, 1, 5, 0, 3, 2, 5, 0);
TGeoVolume *
Bol_2 =
Robot->MakeGtra(
"Bol_2",
Iron, 1, 0, 0, 0, 7, 0, 9, 0, 7, 0, 9, 0);
for (int i = 0; i < 10; i++) {
}
for (int i = 1; i < 28; i += 1) {
if (i < 27) {
} else {
}
}
for (int i = 1; i < 28; i += 1) {
}
for (int i = 1; i < 28; i += 1) {
}
V->SetLineColor(2);
V->SetFillColor(2);
for (int i = 0; i < 30; i++) {
}
for (int i = 0; i < 40; i++) {
if (i < 16) {
} else {
}
}
for (int i = 0; i < 30; i++) {
}
for (int i = 0; i < 4; i++) {
}
for (int i = 0; i < 4; i++) {
}
for (int i = 0; i < 4; i++) {
}
for (int i = 0; i < 4; i++) {
}
for (int i = 1; i < 20; i += 1) {
if (i < 7) {
Robot->MakeCons(
"Effect",
Iron, 3, 20 / sin(i), 21 / sin(i), 20 / sin(i), 21 / sin(i), 0, 70);
}
if (6 < i && i < 10) {
Robot->MakeCons(
"Effect",
Iron, 5, 20 / sin(i), 21 / sin(i), 20 / sin(i), 21 / sin(i), 50, 120);
}
if (9 < i && i < 20) {
Robot->MakeCons(
"Effect",
Iron, 4, 20 / sin(i), 21 / sin(i), 20 / sin(i), 21 / sin(i), 200, 330);
}
}
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
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.
void SetLineColor(Color_t lcolor) override
Set the line color.
RooArgSet S(Args_t &&... args)