59 for (
int i=0; i<=
N;i++){
67 for (
int i=1; i<pcs; i++){
68 sprintf(
name,
"Horn%d",i);
70 10- 10/pcs*i ,10,180-(120/pcs)*i,180-((120/pcs) * (i-1)),240,300);
78 TGeoVolume *Migan=Robot->
MakeGtra(
"Migan",Iron,3,0,0,0,3,2,11,0,3,3,11,0);
81 TGeoVolume *Ko=Robot->
MakeGtra(
"Ko",Iron,7,0,0,0,3,1,5,0,3,2,5,0);
90 TGeoVolume *Bol_2=Robot->
MakeGtra(
"Bol_2",Iron,1,0,0,0,7,0,9,0,7,0,9,0);
128 for (
int i=0; i<10;i++) {
141 for (
int i=1; i<28; i+=1) {
154 for (
int i=1; i<28; i+=1) {
161 for (
int i=1; i<28; i+=1) {
306 for (
int i=0; i<30; i++) {
312 for (
int i=0; i<40; i++) {
347 for (
int i=0; i<30; i++) {
411 for (
int i=0; i<4; i++) {
414 for (
int i=0; i<4; i++) {
420 for (
int i=0; i<4; i++) {
423 for (
int i=0; i<4; i++) {
441for (
int i=1; i<20; i+=1) {
443 TGeoVolume *Effect=Robot->
MakeCons(
"Effect",Iron,3,20/sin(i),21/sin(i),20/sin(i),21/sin(i),0,70);
449 TGeoVolume *Effect=Robot->
MakeCons(
"Effect",Iron,5,20/sin(i),21/sin(i),20/sin(i),21/sin(i),50,120);
455 TGeoVolume *Effect=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.
virtual void SetVisibility(Bool_t vis=kTRUE)
set visibility of this volume
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
virtual void SetLineColor(Color_t lcolor)
Set the line color.
RooArgSet S(Args_t &&... args)