10void rootgeom(
bool vis =
true)
68 R->AddNode(bar1, 1, tr1);
71 R->AddNode(bar2, 1, tr2);
72 R->AddNode(bar2, 2, tr3);
75 R->AddNode(tub1, 1, tr4);
106 T->AddNode(bar5, 1, tr8);
109 T->AddNode(bar6, 1, tr9);
118 replica->
AddNode(rootbox, 1, tr14);
119 replica->
AddNode(rootbox, 2, combi2);
120 replica->
AddNode(rootbox, 3, combi3);
121 replica->
AddNode(rootbox, 4, combi4);
122 replica->
AddNode(rootbox, 5, combi5);
123 replica->
AddNode(rootbox, 6, combi6);
140 if (vis) top->
Draw(
"ogle");
R__EXTERN TGeoIdentity * gGeoIdentity
An arbitrary trapezoid with less than 8 vertices standing on two parallel planes perpendicular to Z a...
virtual void SetVertex(Int_t vnum, Double_t x, Double_t y)
Set values for a given vertex.
Class describing rotation + translation.
The manager class for any TGeo geometry.
TGeoVolume * MakeArb8(const char *name, TGeoMedium *medium, Double_t dz, Double_t *vertices=0)
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.
virtual TGeoNode * AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
Add a TGeoNode to the list of nodes.
virtual void SetVisibility(Bool_t vis=kTRUE)
set visibility of this volume
TGeoShape * GetShape() const
virtual void Draw(Option_t *option="")
draw top volume according to option
virtual void SetLineColor(Color_t lcolor)
Set the line color.