#include "hgeompgon.h"

HGeomPgon


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

class HGeomPgon : public HGeomBasicShape

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

    public:
HGeomPgon() HGeomPgon(const HGeomPgon&) ~HGeomPgon() virtual TArrayD* calcVoluParam(HGeomVolume*) virtual void calcVoluPosition(HGeomVolume*, const HGeomTransform&, const HGeomTransform&) static TClass* Class() virtual TClass* IsA() const HGeomPgon& operator=(const HGeomPgon&) 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


 HGeomPgon

 class for the GEANT shape PGON

 The size of a PGON is defined by a variable number of 'points'.
   point 0:   number of planes perpendicular to the z axis where the
              dimension of the section is given;
   point 1:   azimutal angle phi at which the volume begins,
              opening angle dphi of the volume,
              number of sides of the cross section between the phi-limits;
   point 2ff: z coordinate of the section,
              inner radius at position z,
              outer radius at position z;

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



HGeomPgon()
 constructor

~HGeomPgon()
 default destructor

Int_t readPoints(fstream* pFile,HGeomVolume* volu)
 reads the 'points' decribed above from ascii file and stores them in the
 array 'points' of the volume
 returns the number of points

Bool_t writePoints(fstream* pFile,HGeomVolume* volu)
 writes the '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 PGON

void calcVoluPosition(HGeomVolume*, const HGeomTransform& dTC,const HGeomTransform& mTR)
 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)
          HGeomPgon HGeomPgon(const HGeomPgon&)
         HGeomPgon& operator=(const HGeomPgon&)


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.