void rootgeom(bool vis = true)
{
R->AddNode(bar1, 1, tr1);
R->AddNode(bar2, 1, tr2);
R->AddNode(bar2, 2, tr3);
R->AddNode(tub1, 1, tr4);
T->AddNode(bar5, 1, tr8);
T->AddNode(bar6, 1, tr9);
replica->
AddNode(rootbox, 1, tr14);
replica->
AddNode(rootbox, 2, combi2);
replica->
AddNode(rootbox, 3, combi3);
replica->
AddNode(rootbox, 4, combi4);
replica->
AddNode(rootbox, 5, combi5);
replica->
AddNode(rootbox, 6, combi6);
if (vis) top->
Draw(
"ogle");
}
R__EXTERN TGeoIdentity * gGeoIdentity
virtual void SetVertex(Int_t vnum, Double_t x, Double_t y)
Class describing rotation + translation.
The manager class for any TGeo geometry.
TGeoVolume * MakeArb8(const char *name, TGeoMedium *medium, Double_t dz, Double_t *vertices=nullptr)
Make an TGeoArb8 volume.
void SetVisLevel(Int_t level=3)
set default level down to which visualization is performed
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
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.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
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.
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
virtual TGeoNode * AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=nullptr, Option_t *option="")
Add a TGeoNode to the list of nodes.
void Draw(Option_t *option="") override
draw top volume according to option
void SetLineColor(Color_t lcolor) override
Set the line color.
TGeoShape * GetShape() const