15 "Geometry using assemblies");
36 Double_t dshift = 2.*xplate + xtooth;
44 for (i=0; i<ntooth; i++) {
46 yt = -yplate + (4*i+1)*ytooth;
49 yt = -yplate + (4*i+3)*ytooth;
74 for (i=0; i<ncells; i++) {
75 Double_t ycell = (2*i+1)*(dshift+10);
83 for (i=0; i<nrows; i++) {
86 if ((i%2)==0) yrow = -yrow;
The manager class for any TGeo geometry.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
virtual void RotateX(Double_t angle)
Rotate about X axis of the master frame with angle expressed in degrees.
virtual void Draw(Option_t *option="")
draw top volume according to option
Class describing translations.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
Base class describing materials.
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 AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
Add a TGeoNode to the list of nodes.
R__EXTERN TSystem * gSystem
Class describing rotation + translation.
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
virtual void RotateZ(Double_t angle)
Rotate about Z axis of the master frame with angle expressed in degrees.
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.
void SetVisLevel(Int_t level=3)
set default level down to which visualization is performed
void SetVisOption(Int_t option=0)
set drawing mode :