#include "hgeomtube.h"

HGeomTube


class description - source file - inheritance tree (.pdf)

class HGeomTube : public HGeomBasicShape

Inheritance Chart:
TObject
<-
TNamed
<-
HGeomBasicShape
<-
HGeomTube

    public:
HGeomTube() HGeomTube(const HGeomTube&) ~HGeomTube() virtual TArrayD* calcVoluParam(HGeomVolume*) virtual void calcVoluPosition(HGeomVolume*, const HGeomTransform&, const HGeomTransform&) static TClass* Class() virtual TClass* IsA() const HGeomTube& operator=(const HGeomTube&) virtual void printPoints(HGeomVolume* volu) virtual Int_t readPoints(fstream*, HGeomVolume*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Bool_t writePoints(fstream*, HGeomVolume*)

Data Members




Class Description


 HGeomTube

 class for the GEANT shape TUBE

 The size of a TUBE is defined by 3 'points'.
   point 0:   origin of starting circle of the tube;
   point 1:   inner radius of starting circle,
              outer radius of starting circle;
              (z-component not used)
   point 2:   origin of ending circle of the tube;
 Warning: The x- and y-values of point 0 and 2 have to be the same!!!!
          A rotation has to be desribed via the rotation matrix.

 The intrinsic coordinate system of a TUBE, which sits in the CAVE and is
 not rotated, is identical with the laboratory system.



HGeomTube()
 constructor

~HGeomTube()
 default destructor

Int_t readPoints(fstream* pFile,HGeomVolume* volu)
 reads the 3 'points' decribed above from ascii file
 if the array of points is not existing in the volume it is created and
 the values are stored inside
 returns the number of points

Bool_t writePoints(fstream* pFile,HGeomVolume* volu)
 writes the 3 'points' decribed above to ascii file

void printPoints(HGeomVolume* volu)
 prints volume points to screen

TArrayD* calcVoluParam(HGeomVolume* volu)
 calculates the parameters needed to create the shape TUBE

void calcVoluPosition(HGeomVolume* volu, const HGeomTransform& dTC,const HGeomTransform& mTR)
 calculates the position of the center of the ROOT volume in the intrinsic
 coordinate system and stores it in the data element 'center'
 calls the function posInMother(...) to calculate the position of the
 volume in its mother



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          HGeomTube HGeomTube(const HGeomTube&)
         HGeomTube& operator=(const HGeomTube&)


Last update: 11/11/2003 by Ilse Koenig


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.