#include "hgeombasicshape.h"

HGeomBasicShape


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

class HGeomBasicShape : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HGeomBasicShape
<-
HGeomBrik
HGeomCone
HGeomCons
HGeomEltu
HGeomPcon
HGeomPgon
HGeomSphe
HGeomTrap
HGeomTrd1
HGeomTube
 [more...]

    protected:
void posInMother(const HGeomTransform&, const HGeomTransform&) public:
HGeomBasicShape() HGeomBasicShape(const HGeomBasicShape&) virtual ~HGeomBasicShape() virtual TArrayD* calcVoluParam(HGeomVolume*) virtual void calcVoluPosition(HGeomVolume*, const HGeomTransform&) virtual void calcVoluPosition(HGeomVolume*, const HGeomTransform&, const HGeomTransform&) static TClass* Class() HGeomTransform* getCenterPosition() Int_t getNumParam() Int_t getNumPoints() TArrayD* getParam() HGeomTransform* getVoluPosition() virtual TClass* IsA() const HGeomBasicShape& operator=(const HGeomBasicShape&) void printParam() 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


    protected:
Int_t nPoints number of points describing the shape Int_t nParam number of parameters needed to create the ROOT shape TArrayD* param parameters needed to create the ROOT shape HGeomTransform* center position of the volume center in the technical KS HGeomTransform* position position of the ROOT volume in its ROOT mother

Class Description


 HGeomBasicShape

 Base class of the all shapes



HGeomBasicShape()
 default constructor

~HGeomBasicShape()
 destructor

Int_t readPoints(fstream* pFile,HGeomVolume* volu)
 reads nPoints with 3 components 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 nPoints with 3 components to Ascii file

void printPoints(HGeomVolume* volu)
 prints nPoints with 3 components to screen

void calcVoluPosition(HGeomVolume* volu, const HGeomTransform& mTR)
 calculates the relevant information to position the corresponding volume
 in its mother and to position later other components inside this volume.
 The transformation mTR describes the position and orientation of the
 mother volume (center) relative to the physical coordinate system of
 the volume from which it was created.

void posInMother(const HGeomTransform& dTC, const HGeomTransform& mTR)
 calculates the position of the volume inside its mother
 dTC is the coordinate system of the ROOT volume relative to its physical
 coordinate system
 mTR is the coordinate system of the mother volume relative to its
 physical coordinate system

void printParam()
 prints the parameters of the ROOT shape



Inline Functions


                   Int_t getNumPoints()
                   Int_t getNumParam()
                TArrayD* getParam()
         HGeomTransform* getCenterPosition()
         HGeomTransform* getVoluPosition()
                TArrayD* calcVoluParam(HGeomVolume*)
                    void calcVoluPosition(HGeomVolume*, const HGeomTransform&, const HGeomTransform&)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         HGeomBasicShape HGeomBasicShape(const HGeomBasicShape&)
        HGeomBasicShape& operator=(const HGeomBasicShape&)


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.