#include "hgeomtrap.h"

HGeomTrap


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

class HGeomTrap : public HGeomBasicShape

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

    public:
HGeomTrap() HGeomTrap(const HGeomTrap&) ~HGeomTrap() virtual TArrayD* calcVoluParam(HGeomVolume*) virtual void calcVoluPosition(HGeomVolume*, const HGeomTransform&, const HGeomTransform&) static TClass* Class() virtual TClass* IsA() const HGeomTrap& operator=(const HGeomTrap&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
HGeomRotation intrinsicRot

Class Description


 HGeomTrap

 class for the GEANT shape TRAP

 The technical coordinate system of a TRAP, which sits in
 CAVE and is not rotated, is the laboratory system.
 The y-axis points from the smaller side to the larger one.
 That's the same definitition as for a TRAP and different from
 the Geant or ROOT definition for a TRAP.
 Therefore a transformation is needed:
              x-technical = - (x-Geant)
              y-technical = - (y-Geant)
              z-technical = z-Geant
 This is stored in the data element intrinsicRot which is
 created in the function calcVoluPosition(...)



HGeomTrap()
 constructor

~HGeomTrap()
 destructor

TArrayD* calcVoluParam(HGeomVolume* volu)
 calculates the parameters needed to create the shape

void calcVoluPosition(HGeomVolume* volu, 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)
          HGeomTrap HGeomTrap(const HGeomTrap&)
         HGeomTrap& operator=(const HGeomTrap&)


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.