#include "hgeomnode.h"

HGeomNode


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

class HGeomNode : public HGeomVolume

Inheritance Chart:
TObject
<-
TNamed
<-
HGeomVolume
<-
HGeomNode

    public:
HGeomNode() HGeomNode(HGeomNode&) ~HGeomNode() HGeomTransform* calcLabTransform() Bool_t calcModuleTransform(HGeomTransform&) Bool_t calcRefPos(HGeomVector&) static TClass* Class() virtual void clear() Int_t compare(HGeomNode&) HGeomTransform& getCenterPosition() Int_t getCopyNo() HGeomNode* getCopyNode() HGeomTransform* getLabTransform() HGeomMedium* getMedium() HGeomNode* getMotherNode() TArrayD* getParameters() HGeomTransform* getPosition() TGeoVolume* getRootVolume() HGeomBasicShape* getShapePointer() TList* getTree() EHGeomNodeType getVolumeType() virtual TClass* IsA() const Bool_t isActive() Bool_t isCreated() Bool_t isKeepin() Bool_t isModule() Bool_t isRefNode() Bool_t isSensitive() Bool_t isTopNode() HGeomNode& operator=(const HGeomNode&) virtual void print() void setActive(Bool_t a = kTRUE) void setCenterPosition(const HGeomTransform& t) void setCopyNode(HGeomNode* p) void setCreated() void setLabTransform(HGeomTransform&) void setMedium(HGeomMedium* m) void setMother(HGeomNode* s) void setName(const Text_t* s) void setRootVolume(TGeoVolume* p) void setShape(HGeomBasicShape* s) void setVolumePar(HGeomNode&) void setVolumeType(EHGeomNodeType t) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Bool_t write(fstream&)

Data Members


    protected:
HGeomBasicShape* pShape pointer to the shape HGeomNode* pMother pointer to the mother volume HGeomMedium* medium pointer to medium EHGeomNodeType volumeType type of volume Bool_t active in/out flag for creation HGeomTransform center position of the GEANT/ROOT center HGeomTransform* labTransform Transformation to the LAB system HGeomNode* copyNode pointer to the reference volume for a copy Bool_t created Flag set kTRUE after creation of volume TGeoVolume* rootVolume pointer to the ROOT node

Class Description

 HGeomNode

 Class to hold the basic geometry properties of a GEANT volume



HGeomNode()
 Constructor

HGeomNode(HGeomNode& r)
 Copy constructor

~HGeomNode()
 Destructor

void setVolumePar(HGeomNode& r)
 Copies all volume parameters except the name

void clear()
 Clears the volume and deletes the points

Int_t getCopyNo()
 Returns the copy number

TArrayD* getParameters()
 Returns the parameters to create a GEANT/ROOT volume

HGeomTransform* getPosition()
 Returns the transformation to position a volume in GEANT/ROOT

void print()
 Prints all parameters of a volume

Bool_t write(fstream& fout)
 Writes all parameters of a volume to file

TList* getTree()
 Returns the tree of the mother volumes

HGeomTransform* getLabTransform()
 Returns the lab transformation

HGeomTransform* calcLabTransform()
 Calculates the lab transformation

void setLabTransform(HGeomTransform& t)
 Sets the lab transformation

Bool_t calcModuleTransform(HGeomTransform& modTransform)
 Calculates the transformation relative to the detectors coordinate system

Bool_t calcRefPos(HGeomVector& refPos)
 Calculates the position in the detectors coordinate system

Int_t compare(HGeomNode& rn)
 Compares the volume with the volume rn and prints the diagnose
 Returns kTRUE if the volume parameters are the same



Inline Functions


          EHGeomNodeType getVolumeType()
                  Bool_t isTopNode()
                  Bool_t isRefNode()
                  Bool_t isKeepin()
                  Bool_t isModule()
        HGeomBasicShape* getShapePointer()
              HGeomNode* getMotherNode()
            HGeomMedium* getMedium()
                  Bool_t isActive()
         HGeomTransform& getCenterPosition()
              HGeomNode* getCopyNode()
             TGeoVolume* getRootVolume()
                  Bool_t isSensitive()
                  Bool_t isCreated()
                    void setCreated()
                    void setName(const Text_t* s)
                    void setVolumeType(EHGeomNodeType t)
                    void setShape(HGeomBasicShape* s)
                    void setMother(HGeomNode* s)
                    void setMedium(HGeomMedium* m)
                    void setActive(Bool_t a = kTRUE)
                    void setCenterPosition(const HGeomTransform& t)
                    void setCopyNode(HGeomNode* p)
                    void setRootVolume(TGeoVolume* p)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
              HGeomNode& operator=(const HGeomNode&)


Last update: Fri Jan 26 11:55:00 2007


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.