#include "hgeomsphe.h"

HGeomSphe


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

class HGeomSphe : public HGeomBasicShape

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

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


 HGeomSphe

 class for the GEANT shape SPHE

 The size of a SPHE is defined by 3 'points' (The z-components are not used)
   point 0:   inner radius of the shell
              outer radius of the shell;
   point 1:   starting polar angle of the shell,
              ending polar angle of the shell;
   point 2:   starting azimuthal angle of the shell,
              ending azimuthal angle of the shell; )

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



HGeomSphe()
 constructor

~HGeomSphe()
 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 SPHE

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)
          HGeomSphe HGeomSphe(const HGeomSphe&)
         HGeomSphe& operator=(const HGeomSphe&)


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.