|
ROOT
Reference Guide |
|
Go to the documentation of this file.
14 "Geometry using assemblies");
35 Double_t dshift = 2.*xplate + xtooth;
43 for (i=0; i<ntooth; i++) {
45 yt = -yplate + (4*i+1)*ytooth;
48 yt = -yplate + (4*i+3)*ytooth;
73 for (i=0; i<ncells; i++) {
74 Double_t ycell = (2*i+1)*(dshift+10);
82 for (i=0; i<nrows; i++) {
85 if ((i%2)==0) yrow = -yrow;
void SetVisLevel(Int_t level=3)
set default level down to which visualization is performed
Class describing rotation + translation.
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 CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
constexpr Double_t DegToRad()
Conversion from degree to radian:
virtual void AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
Add a TGeoNode to the list of nodes.
Class describing translations.
Base class describing materials.
virtual void RotateX(Double_t angle)
Rotate about X axis of the master frame with angle expressed in degrees.
virtual void RotateZ(Double_t angle)
Rotate about Z axis of the master frame with angle expressed in degrees.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
void SetVisOption(Int_t option=0)
set drawing mode :
virtual void Draw(Option_t *option="")
draw top volume according to option
Class describing rotations.
Media are used to store properties related to tracking and which are useful only when using geometry ...
virtual void SetLineColor(Color_t lcolor)
Set the line color.
The manager class for any TGeo geometry.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.