#include "hgeomcone.h"

HGeomCone


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

class HGeomCone : public HGeomBasicShape

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

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


 HGeomCone

 class for the GEANT shape CONE

 The size of a CONE is defined by 4 'points'.
   point 0:   origin of starting circle of the cone;
   point 1:   inner radius of starting circle,
              outer radius of starting circle;
              (z-component not used)
   point 2:   origin of ending circle of the cone;
   point 3:   inner radius of ending circle,
              outer radius of ending circle;
              (z-component not used)
 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 CONE, which sits in the CAVE and is
 not rotated, is identical with the laboratory system.



HGeomCone()
 constructor

~HGeomCone()
 default destructor

Int_t readPoints(fstream* pFile,HGeomVolume* volu)
 reads the 4 '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 4 '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 CONE

void calcVoluPosition(HGeomVolume* volu, const HGeomTransform& dTC,const HGeomTransform& mTR)
 calculates the position of the center of the 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)
          HGeomCone HGeomCone(const HGeomCone&)
         HGeomCone& operator=(const HGeomCone&)


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.