HGeomCons
class description - source file - inheritance tree (.pdf)
public:
HGeomCons()
HGeomCons(const HGeomCons&)
~HGeomCons()
virtual TArrayD* calcVoluParam(HGeomVolume*)
virtual void calcVoluPosition(HGeomVolume*, const HGeomTransform&, const HGeomTransform&)
static TClass* Class()
virtual TClass* IsA() const
HGeomCons& operator=(const HGeomCons&)
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*)
HGeomCons
class for the GEANT shape CONS
The size of a CONS is defined by 5 'points'.
point 0: origin of starting circle of the cons;
point 1: inner radius of starting circle,
outer radius of starting circle;
(z-component not used)
point 2: origin of ending circle of the cons;
point 3: inner radius of ending circle,
outer radius of ending circle;
(z-component not used)
point 4: starting angle of the segment,
ending angle of the segment;
(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 CONS, which sits in the CAVE and is
not rotated, is identical with the laboratory system.
HGeomCons()
constructor
~HGeomCons()
default destructor
Int_t readPoints(fstream* pFile,HGeomVolume* volu)
reads the 5 '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 5 '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 CONS
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)
HGeomCons HGeomCons(const HGeomCons&)
HGeomCons& operator=(const HGeomCons&)
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.