745 sprintf(nBlocks,
"f%d_bg%d",f,N++);
746 mBlock = geom->
MakeBox(nBlocks, Copper,2,1,3);
760 sprintf(nBlocks,
"f%d_bg%d",f,N++);
761 mBlock1 = geom->
MakeBox(nBlocks, Copper,2,1,3);
775 sprintf(nBlocks,
"f%d_bg%d",f,N++);
776 mBlock2 = geom->
MakeBox(nBlocks, Copper,2,1,3);
790 sprintf(nBlocks,
"f%d_bg%d",f,N++);
791 mBlock3 = geom->
MakeBox(nBlocks, Copper,2,1,3);
void SetTopVisible(Bool_t vis=kTRUE)
make top volume visible on screen
static const double a24[24]
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.
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
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
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.
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.
virtual void SetFillColor(Color_t fcolor)
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
TGeoVolume * MakeTubs(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2)
Make in one step a volume pointing to a tube segment shape with given medium.
virtual void SetVisibility(Bool_t vis=kTRUE)
set visibility of this volume
virtual void SetLineColor(Color_t lcolor)
Set the line color.