This example display only points in web browser.
{
a5 = geom->
MakeTubs(
"a5_1", Iron, 1.5, 2.5, 2, 0, 270);
char nB[100];
int Z = 0, Y = 0;
while (Y < 6) {
while (Z < 10) {
sprintf(nB, "B%d_Y%d", Z, Y);
bo1 = geom->
MakeTubs(nB, Iron, 0, 3, 3, 0, 0);
Z++;
}
Y++;
Z = 0;
}
}
Class describing rotation + translation.
void CloseGeometry(Option_t *option="d")
TGeoVolume * MakeTrd2(const char *name, TGeoMedium *medium, Double_t dx1, Double_t dx2, Double_t dy1, Double_t dy2, Double_t dz)
TGeoVolume * MakeBox(const char *name, TGeoMedium *medium, Double_t dx, Double_t dy, Double_t dz)
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)
void SetTopVolume(TGeoVolume *vol)
void SetTopVisible(Bool_t vis=kTRUE)
TGeoVolume * MakeTubs(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2)
Base class describing materials.
Media are used to store properties related to tracking and which are useful only when using geometry ...
Class describing rotations.
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.