HModGeomPar
class description - source file - inheritance tree (.pdf)
public:
HModGeomPar()
HModGeomPar(const HModGeomPar&)
~HModGeomPar()
static TClass* Class()
void clear()
HGeomTransform& getLabTransform()
const Text_t* getRefName() const
HGeomCompositeVolume* getRefVolume()
virtual TClass* IsA() const
HModGeomPar& operator=(const HModGeomPar&)
void print()
void setRefName(const Text_t* s)
void setVolume(HGeomCompositeVolume* p)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TString refName name of the reference module volume
HGeomCompositeVolume* refVolume ! pointer to the reference module volume
HGeomTransform transform lab transformation
HGeomDetPar
Container class for the basic geometry parameters of a detector
This container can hold the information about the sizes and positions of
volumes forming a geometry tree with 2 levels: modules and components in
these modules.
The information is stored in 2 arrays.
The array "modules" is a linear array of maxSectors*maxModules pointers to
detector modules (type HModGeomPar) each having a name and a lab
transformation which describes the position and orientation of the internal
module coordinate system relative to the cave coordinate system.
Each module has a pointer to a reference module describing the type of this
module. These module types (objects of class HGeomCompositeVolume) are
stored in the second array "refVolumes". (Normally the modules in the six
sectors are identical and the information has to be stored only once. Only
their position is different.)
Each reference module is a volume with a detector dependent number of
components which are volumes themselves. Each volume has a name, a shape, a
mother, a shape dependant number of points describing the size and a
transformation. The transformation of a module describes the detector
coordinate system (ideal position in a sector) and the transformation of a
component shows the position and orientation relative to this detector
coordinate system.
inline functions of class HDetGeomPar:
Int_t getNumComponents()
returns the number of components in a module
Int_t getMaxSectors()
returns the maximum number of sectors
Int_t getMaxModules()
returns the maximum number of modules
HGeomShapes* getShapes()
return the pointer to the shape classes
virtual functions of class HDetGeomPar which have to be implemented by the
detector classes:
virtual Bool_t init(HParIo*,Int_t*)
initilizes the container from an input
virtual Int_t write(HParIo*)
writes the container to an output
virtual Int_t getSecNum(const TString&)
retrieves the sector number from the name of a module
virtual Int_t getModNumInMod(const TString&) {return -1;}
retrieves the module number from the name of a module
virtual Int_t getModNumInComp(const TString&) {return -1;}
retrieves the module number from the name of a component
virtual Int_t getCompNum(const TString&) {return -1;}
retrieves the component number from the name of a component
inline functions of class HModGeomPar:
void setVolume(HGeomCompositeVolume* p)
sets the pointer to the reference volume
HGeomCompositeVolume* getRefVolume()
returns a pointer to the reference volume
HGeomTransform& getLabTransform()
returns the lab transformation of a module
const Text_t* getRefName() const
sets the name of the reference volume
void setRefName(const Text_t* s)
sets the name of the reference volume
void print()
prints the name of the module volume, the name of the reference module
volume and the lab transformation
void clear()
clears the module
Inline Functions
void ~HModGeomPar()
HModGeomPar HModGeomPar()
HGeomCompositeVolume* getRefVolume()
HGeomTransform& getLabTransform()
const Text_t* getRefName() const
void setVolume(HGeomCompositeVolume* p)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HModGeomPar HModGeomPar(const HModGeomPar&)
HModGeomPar& operator=(const HModGeomPar&)
Last update: Mon Feb 5 16:51:39 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.