TGeometry Class Reference

#include <TGeometry.h>

Inheritance diagram for TGeometry:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Member Functions

 TGeometry ()
 TGeometry (const char *name, const char *title)
virtual ~TGeometry ()
virtual void Browse (TBrowser *b)
virtual void cd (const char *path=0)
virtual void Draw (Option_t *option="")
virtual TObjectFindObject (const char *name) const
virtual TObjectFindObject (const TObject *obj) const
Float_t GetBomb () const
Int_t GeomLevel () const
THashListGetListOfShapes () const
TListGetListOfNodes () const
THashListGetListOfMaterials () const
THashListGetListOfMatrices () const
TNodeGetCurrentNode () const
TMaterialGetMaterial (const char *name) const
TMaterialGetMaterialByNumber (Int_t number) const
TNodeGetNode (const char *name) const
TShapeGetShape (const char *name) const
TShapeGetShapeByNumber (Int_t number) const
TRotMatrixGetRotMatrix (const char *name) const
TRotMatrixGetRotMatrixByNumber (Int_t number) const
TRotMatrixGetCurrentMatrix () const
TRotMatrixGetCurrentPosition (Double_t *x, Double_t *y, Double_t *z) const
TRotMatrixGetCurrentPosition (Float_t *x, Float_t *y, Float_t *z) const
Bool_t GetCurrentReflection () const
Bool_t IsFolder () const
virtual void Local2Master (Double_t *local, Double_t *master)
virtual void Local2Master (Float_t *local, Float_t *master)
virtual void ls (Option_t *option="rsn2") const
virtual void Master2Local (Double_t *master, Double_t *local)
virtual void Master2Local (Float_t *master, Float_t *local)
virtual void Node (const char *name, const char *title, const char *shapename, Double_t x=0, Double_t y=0, Double_t z=0, const char *matrixname="", Option_t *option="")
virtual Int_t PushLevel ()
virtual Int_t PopLevel ()
virtual void RecursiveRemove (TObject *obj)
virtual void SetBomb (Float_t bomb=1.4)
virtual void SetCurrentNode (TNode *node)
virtual void SetGeomLevel (Int_t level=0)
virtual void SetMatrix (TRotMatrix *matrix=0)
virtual void SetPosition (TRotMatrix *matrix, Double_t x=0, Double_t y=0, Double_t z=0)
virtual void SetPosition (TRotMatrix *matrix, Float_t x, Float_t y, Float_t z)
virtual void SetPosition (Double_t x, Double_t y, Double_t z)
virtual void SetPosition (Float_t x, Float_t y, Float_t z)
virtual void UpdateMatrix (TNode *node)
virtual void UpdateTempMatrix (Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0)
virtual void UpdateTempMatrix (Double_t x, Double_t y, Double_t z, Double_t *matrix, Bool_t isReflection=kFALSE)
 TGeometry ()
 TGeometry (const char *name, const char *title)
virtual ~TGeometry ()
virtual void Browse (TBrowser *b)
virtual void cd (const char *path=0)
virtual void Draw (Option_t *option="")
virtual TObjectFindObject (const char *name) const
virtual TObjectFindObject (const TObject *obj) const
Float_t GetBomb () const
Int_t GeomLevel () const
THashListGetListOfShapes () const
TListGetListOfNodes () const
THashListGetListOfMaterials () const
THashListGetListOfMatrices () const
TNodeGetCurrentNode () const
TMaterialGetMaterial (const char *name) const
TMaterialGetMaterialByNumber (Int_t number) const
TNodeGetNode (const char *name) const
TShapeGetShape (const char *name) const
TShapeGetShapeByNumber (Int_t number) const
TRotMatrixGetRotMatrix (const char *name) const
TRotMatrixGetRotMatrixByNumber (Int_t number) const
TRotMatrixGetCurrentMatrix () const
TRotMatrixGetCurrentPosition (Double_t *x, Double_t *y, Double_t *z) const
TRotMatrixGetCurrentPosition (Float_t *x, Float_t *y, Float_t *z) const
Bool_t GetCurrentReflection () const
Bool_t IsFolder () const
virtual void Local2Master (Double_t *local, Double_t *master)
virtual void Local2Master (Float_t *local, Float_t *master)
virtual void ls (Option_t *option="rsn2") const
virtual void Master2Local (Double_t *master, Double_t *local)
virtual void Master2Local (Float_t *master, Float_t *local)
virtual void Node (const char *name, const char *title, const char *shapename, Double_t x=0, Double_t y=0, Double_t z=0, const char *matrixname="", Option_t *option="")
virtual Int_t PushLevel ()
virtual Int_t PopLevel ()
virtual void RecursiveRemove (TObject *obj)
virtual void SetBomb (Float_t bomb=1.4)
virtual void SetCurrentNode (TNode *node)
virtual void SetGeomLevel (Int_t level=0)
virtual void SetMatrix (TRotMatrix *matrix=0)
virtual void SetPosition (TRotMatrix *matrix, Double_t x=0, Double_t y=0, Double_t z=0)
virtual void SetPosition (TRotMatrix *matrix, Float_t x, Float_t y, Float_t z)
virtual void SetPosition (Double_t x, Double_t y, Double_t z)
virtual void SetPosition (Float_t x, Float_t y, Float_t z)
virtual void UpdateMatrix (TNode *node)
virtual void UpdateTempMatrix (Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0)
virtual void UpdateTempMatrix (Double_t x, Double_t y, Double_t z, Double_t *matrix, Bool_t isReflection=kFALSE)

Static Public Member Functions

static TObjArrayGet (const char *name)
static void UpdateTempMatrix (Double_t *dx1, Double_t *rmat1, Double_t x, Double_t y, Double_t z, Double_t *matrix, Double_t *dxnew, Double_t *rmatnew)
static TObjArrayGet (const char *name)
static void UpdateTempMatrix (Double_t *dx1, Double_t *rmat1, Double_t x, Double_t y, Double_t z, Double_t *matrix, Double_t *dxnew, Double_t *rmatnew)

Protected Member Functions

 TGeometry (const TGeometry &)
TGeometryoperator= (const TGeometry &)
 TGeometry (const TGeometry &)
TGeometryoperator= (const TGeometry &)

Private Attributes

THashListfMaterials
THashListfMatrices
THashListfShapes
TListfNodes
TRotMatrixfMatrix
TNodefCurrentNode
 Pointers to current rotation matrices.
TMaterial ** fMaterialPointer
 Pointer to current node.
TRotMatrix ** fMatrixPointer
 Pointers to materials.
TShape ** fShapePointer
 Pointers to rotation matrices.
Float_t fBomb
 Pointers to shapes.
Int_t fGeomLevel
Double_t fX
Double_t fY
Double_t fZ
 The global translation of the current node.
Double_t fTranslation [kMAXLEVELS][kVectorSize]
Double_t fRotMatrix [kMAXLEVELS][kMatrixSize]
Bool_t fIsReflection [kMAXLEVELS]
THashListfMaterials
THashListfMatrices
THashListfShapes
TListfNodes
TRotMatrixfMatrix
TNodefCurrentNode
 Pointers to current rotation matrices.
TMaterial ** fMaterialPointer
 Pointer to current node.
TRotMatrix ** fMatrixPointer
 Pointers to materials.
TShape ** fShapePointer
 Pointers to rotation matrices.

Detailed Description

Definition at line 43 of file TGeometry.h.


Constructor & Destructor Documentation

TGeometry::TGeometry ( const TGeometry  )  [protected]

Definition at line 128 of file TGeometry.cxx.

References fIsReflection, fRotMatrix, fTranslation, i, j, kMatrixSize, kMAXLEVELS, and kVectorSize.

TGeometry::TGeometry (  ) 

TGeometry::TGeometry ( const char *  name,
const char *  title 
)

Definition at line 106 of file TGeometry.cxx.

References TSeqCollection::Add(), fBomb, fCurrentNode, fGeomLevel, fIsReflection, fMaterialPointer, fMaterials, fMatrices, fMatrix, fMatrixPointer, fNodes, fShapePointer, fShapes, fX, fY, fZ, TROOT::GetListOfGeometries(), gGeometry, gROOT, and kFALSE.

TGeometry::~TGeometry (  )  [virtual]

Definition at line 187 of file TGeometry.cxx.

References TSeqCollection::After(), TList::Delete(), THashList::Delete(), TSeqCollection::First(), fMaterialPointer, fMaterials, fMatrices, fMatrixPointer, fNodes, fShapePointer, fShapes, TROOT::GetListOfGeometries(), gGeometry, gROOT, and TCollection::Remove().

TGeometry::TGeometry ( const TGeometry  )  [protected]

TGeometry::TGeometry (  ) 

TGeometry::TGeometry ( const char *  name,
const char *  title 
)

virtual TGeometry::~TGeometry (  )  [virtual]


Member Function Documentation

TGeometry & TGeometry::operator= ( const TGeometry  )  [protected]

Definition at line 156 of file TGeometry.cxx.

References fBomb, fCurrentNode, fGeomLevel, fIsReflection, fMaterialPointer, fMaterials, fMatrices, TRotMatrix::fMatrix, fMatrix, fMatrixPointer, fNodes, fRotMatrix, fShapePointer, fShapes, fTranslation, fX, fY, fZ, i, j, kMatrixSize, kMAXLEVELS, kVectorSize, and TNamed::operator=().

void TGeometry::Browse ( TBrowser b  )  [virtual]

Reimplemented from TObject.

Definition at line 221 of file TGeometry.cxx.

References b, fMaterials, fMatrices, fNodes, and fShapes.

void TGeometry::cd ( const char *  path = 0  )  [virtual]

Definition at line 235 of file TGeometry.cxx.

References gGeometry.

Referenced by na49view(), and xtruSamples().

void TGeometry::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 244 of file TGeometry.cxx.

References TNode::Draw(), TList::First(), and fNodes.

Referenced by na49view(), and xtruSamples().

TObject * TGeometry::FindObject ( const char *  name  )  const [virtual]

Reimplemented from TObject.

Definition at line 265 of file TGeometry.cxx.

References TObjArray::At(), and Get().

TObject * TGeometry::FindObject ( const TObject obj  )  const [virtual]

Reimplemented from TObject.

Definition at line 255 of file TGeometry.cxx.

References TObject::Error().

Float_t TGeometry::GetBomb (  )  const [inline]

Definition at line 77 of file TGeometry.h.

References fBomb.

Referenced by TNode::Local2Master(), Local2Master(), Master2Local(), and TNode::Master2Local().

Int_t TGeometry::GeomLevel (  )  const [inline]

Definition at line 78 of file TGeometry.h.

References fGeomLevel.

Referenced by TVolume::DistancetoNodePrimitive(), TVolumeView::DistancetoPrimitive(), Local2Master(), Master2Local(), TVolumeView::Paint(), TNode::Paint(), TVolume::PaintNodePosition(), TVolumePosition::UpdatePosition(), and UpdateTempMatrix().

THashList* TGeometry::GetListOfShapes (  )  const [inline]

Definition at line 79 of file TGeometry.h.

References fShapes.

Referenced by Get(), shapes(), TShape::TShape(), and TShape::~TShape().

TList* TGeometry::GetListOfNodes (  )  const [inline]

Definition at line 80 of file TGeometry.h.

References fNodes.

Referenced by GetNode(), TNode::SetParent(), shapes(), TNode::TNode(), and TNode::~TNode().

THashList* TGeometry::GetListOfMaterials (  )  const [inline]

Definition at line 81 of file TGeometry.h.

References fMaterials.

Referenced by Get(), TMaterial::TMaterial(), and TMaterial::~TMaterial().

THashList* TGeometry::GetListOfMatrices (  )  const [inline]

Definition at line 82 of file TGeometry.h.

References fMatrices.

Referenced by Get(), TVolume::GetIdentity(), TVolumePosition::Mult(), TRotMatrix::TRotMatrix(), TVolumePosition::TVolumePosition(), TVolumeViewIter::UpdateTempMatrix(), and TRotMatrix::~TRotMatrix().

TNode* TGeometry::GetCurrentNode (  )  const [inline]

Definition at line 83 of file TGeometry.h.

References fCurrentNode.

Referenced by TNode::TNode(), and TNode::~TNode().

TMaterial * TGeometry::GetMaterial ( const char *  name  )  const

Definition at line 316 of file TGeometry.cxx.

References THashList::FindObject(), and fMaterials.

Referenced by TShape::TShape().

TMaterial * TGeometry::GetMaterialByNumber ( Int_t  number  )  const

Definition at line 325 of file TGeometry.cxx.

References fMaterialPointer, fMaterials, TMaterial::GetNumber(), and TCollection::GetSize().

TNode * TGeometry::GetNode ( const char *  name  )  const

Definition at line 341 of file TGeometry.cxx.

References TList::First(), GetListOfNodes(), TNode::GetNode(), TObject::kNotDeleted, and TObject::TestBit().

Referenced by Get(), and na49view().

TShape * TGeometry::GetShape ( const char *  name  )  const

Definition at line 378 of file TGeometry.cxx.

References THashList::FindObject(), and fShapes.

Referenced by TNode::TNode(), and TVolume::TVolume().

TShape * TGeometry::GetShapeByNumber ( Int_t  number  )  const

Definition at line 387 of file TGeometry.cxx.

References fShapePointer, fShapes, TShape::GetNumber(), and TCollection::GetSize().

TRotMatrix * TGeometry::GetRotMatrix ( const char *  name  )  const

Definition at line 353 of file TGeometry.cxx.

References THashList::FindObject(), and fMatrices.

Referenced by TVolume::Add(), ClassImp(), TVolume::GetIdentity(), TNode::TNode(), and TVolumeView::TVolumeView().

TRotMatrix * TGeometry::GetRotMatrixByNumber ( Int_t  number  )  const

Definition at line 362 of file TGeometry.cxx.

References fMatrices, fMatrixPointer, and TCollection::GetSize().

TRotMatrix * TGeometry::GetCurrentMatrix (  )  const [inline]

Definition at line 127 of file TGeometry.h.

References fMatrix.

Referenced by GetCurrentPosition().

TRotMatrix * TGeometry::GetCurrentPosition ( Double_t x,
Double_t y,
Double_t z 
) const [inline]

Definition at line 131 of file TGeometry.h.

References fX, fY, fZ, and GetCurrentMatrix().

TRotMatrix * TGeometry::GetCurrentPosition ( Float_t x,
Float_t y,
Float_t z 
) const [inline]

Definition at line 135 of file TGeometry.h.

References fX, fY, fZ, and GetCurrentMatrix().

Bool_t TGeometry::GetCurrentReflection (  )  const [inline]

Definition at line 139 of file TGeometry.h.

References fGeomLevel, and fIsReflection.

Bool_t TGeometry::IsFolder (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 95 of file TGeometry.h.

References kTRUE.

void TGeometry::Local2Master ( Double_t local,
Double_t master 
) [virtual]

Definition at line 403 of file TGeometry.cxx.

References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), i, x, and y.

Referenced by TMarker3DBox::Paint(), TPolyMarker3D::Paint(), TPolyLine3D::Paint(), and TShape::TransformPoints().

void TGeometry::Local2Master ( Float_t local,
Float_t master 
) [virtual]

Definition at line 438 of file TGeometry.cxx.

References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), i, x, and y.

void TGeometry::ls ( Option_t option = "rsn2"  )  const [virtual]

Reimplemented from TNamed.

Definition at line 476 of file TGeometry.cxx.

References TString::Contains(), fMaterials, fMatrices, fNodes, fShapes, TCollection::ls(), Printf(), and TString::ToLower().

void TGeometry::Master2Local ( Double_t master,
Double_t local 
) [virtual]

Definition at line 502 of file TGeometry.cxx.

References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), kVectorSize, x, and y.

void TGeometry::Master2Local ( Float_t master,
Float_t local 
) [virtual]

Definition at line 532 of file TGeometry.cxx.

References fRotMatrix, fX, fY, fZ, GeomLevel(), GetBomb(), kVectorSize, x, and y.

void TGeometry::Node ( const char *  name,
const char *  title,
const char *  shapename,
Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
const char *  matrixname = "",
Option_t option = "" 
) [virtual]

Definition at line 563 of file TGeometry.cxx.

virtual Int_t TGeometry::PushLevel (  )  [inline, virtual]

Definition at line 103 of file TGeometry.h.

References fGeomLevel.

Referenced by TVolume::DistancetoNodePrimitive(), TNode::DistancetoPrimitive(), TVolumeView::DistancetoPrimitive(), TVolumeView::Paint(), TNode::Paint(), and TVolume::PaintNodePosition().

virtual Int_t TGeometry::PopLevel (  )  [inline, virtual]

Definition at line 104 of file TGeometry.h.

References fGeomLevel.

Referenced by TVolume::DistancetoNodePrimitive(), TNode::DistancetoPrimitive(), TVolumeView::DistancetoPrimitive(), TVolumeView::Paint(), TNode::Paint(), and TVolume::PaintNodePosition().

void TGeometry::RecursiveRemove ( TObject obj  )  [virtual]

Reimplemented from TObject.

Definition at line 572 of file TGeometry.cxx.

References fNodes, and TList::RecursiveRemove().

virtual void TGeometry::SetBomb ( Float_t  bomb = 1.4  )  [inline, virtual]

Definition at line 106 of file TGeometry.h.

References fBomb.

Referenced by na49view().

virtual void TGeometry::SetCurrentNode ( TNode node  )  [inline, virtual]

Definition at line 107 of file TGeometry.h.

References fCurrentNode.

Referenced by TNode::cd(), and TNode::~TNode().

virtual void TGeometry::SetGeomLevel ( Int_t  level = 0  )  [inline, virtual]

Definition at line 108 of file TGeometry.h.

References fGeomLevel, and level.

Referenced by TVolumeView::Draw(), TNode::Draw(), TVolumeView::GetLocalRange(), TVolume::GetLocalRange(), and TVolume::Paint().

virtual void TGeometry::SetMatrix ( TRotMatrix matrix = 0  )  [inline, virtual]

Definition at line 109 of file TGeometry.h.

References fMatrix.

Referenced by SetPosition().

void TGeometry::SetPosition ( TRotMatrix matrix,
Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0 
) [inline, virtual]

Definition at line 151 of file TGeometry.h.

References SetMatrix().

Referenced by SetPosition().

void TGeometry::SetPosition ( TRotMatrix matrix,
Float_t  x,
Float_t  y,
Float_t  z 
) [inline, virtual]

Definition at line 156 of file TGeometry.h.

References SetMatrix(), and SetPosition().

void TGeometry::SetPosition ( Double_t  x,
Double_t  y,
Double_t  z 
) [inline, virtual]

Definition at line 143 of file TGeometry.h.

References fX, fY, and fZ.

void TGeometry::SetPosition ( Float_t  x,
Float_t  y,
Float_t  z 
) [inline, virtual]

Definition at line 147 of file TGeometry.h.

References fX, fY, and fZ.

void TGeometry::UpdateMatrix ( TNode node  )  [virtual]

Definition at line 643 of file TGeometry.cxx.

References fGeomLevel, fRotMatrix, fTranslation, TNode::GetMatrix(), TNode::GetParent(), TNode::GetX(), TNode::GetY(), TNode::GetZ(), kMatrixSize, kMAXLEVELS, kVectorSize, and UpdateTempMatrix().

void TGeometry::UpdateTempMatrix ( Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
TRotMatrix matrix = 0 
) [virtual]

Definition at line 671 of file TGeometry.cxx.

References TRotMatrix::GetMatrix(), TRotMatrix::GetType(), TRotMatrix::IsReflection(), and kFALSE.

Referenced by TNode::DistancetoPrimitive(), TVolumeView::Draw(), TNode::Draw(), G__G__G3D_150_0_50(), G__setup_memfuncTGeometry(), TVolumeView::GetLocalRange(), TVolume::GetLocalRange(), TVolumePosition::Mult(), TVolume::Paint(), TNode::Paint(), TVolumePosition::TVolumePosition(), TVolumeView::TVolumeView(), UpdateMatrix(), TVolumePosition::UpdatePosition(), UpdateTempMatrix(), and TVolumeViewIter::UpdateTempMatrix().

void TGeometry::UpdateTempMatrix ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t matrix,
Bool_t  isReflection = kFALSE 
) [virtual]

Definition at line 686 of file TGeometry.cxx.

References fIsReflection, fRotMatrix, fTranslation, fX, fY, fZ, GeomLevel(), kFALSE, kMatrixSize, kVectorSize, and UpdateTempMatrix().

TObjArray * TGeometry::Get ( const char *  name  )  [static]

Definition at line 276 of file TGeometry.cxx.

References THashList::FindObject(), GetListOfMaterials(), GetListOfMatrices(), GetListOfShapes(), GetNode(), and gGeometry.

Referenced by FindObject(), G__G__G3D_150_0_49(), and G__setup_memfuncTGeometry().

void TGeometry::UpdateTempMatrix ( Double_t dx1,
Double_t rmat1,
Double_t  x,
Double_t  y,
Double_t  z,
Double_t matrix,
Double_t dxnew,
Double_t rmatnew 
) [static]

Definition at line 716 of file TGeometry.cxx.

TGeometry& TGeometry::operator= ( const TGeometry  )  [protected]

virtual void TGeometry::Browse ( TBrowser b  )  [virtual]

Reimplemented from TObject.

virtual void TGeometry::cd ( const char *  path = 0  )  [virtual]

virtual void TGeometry::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

virtual TObject* TGeometry::FindObject ( const char *  name  )  const [virtual]

Reimplemented from TObject.

virtual TObject* TGeometry::FindObject ( const TObject obj  )  const [virtual]

Reimplemented from TObject.

Float_t TGeometry::GetBomb (  )  const [inline]

Definition at line 77 of file TGeometry.h.

References fBomb.

Int_t TGeometry::GeomLevel (  )  const [inline]

Definition at line 78 of file TGeometry.h.

References fGeomLevel.

THashList* TGeometry::GetListOfShapes (  )  const [inline]

Definition at line 79 of file TGeometry.h.

References fShapes.

TList* TGeometry::GetListOfNodes (  )  const [inline]

Definition at line 80 of file TGeometry.h.

References fNodes.

THashList* TGeometry::GetListOfMaterials (  )  const [inline]

Definition at line 81 of file TGeometry.h.

References fMaterials.

THashList* TGeometry::GetListOfMatrices (  )  const [inline]

Definition at line 82 of file TGeometry.h.

References fMatrices.

TNode* TGeometry::GetCurrentNode (  )  const [inline]

Definition at line 83 of file TGeometry.h.

References fCurrentNode.

TMaterial* TGeometry::GetMaterial ( const char *  name  )  const

TMaterial* TGeometry::GetMaterialByNumber ( Int_t  number  )  const

TNode* TGeometry::GetNode ( const char *  name  )  const

TShape* TGeometry::GetShape ( const char *  name  )  const

TShape* TGeometry::GetShapeByNumber ( Int_t  number  )  const

TRotMatrix* TGeometry::GetRotMatrix ( const char *  name  )  const

TRotMatrix* TGeometry::GetRotMatrixByNumber ( Int_t  number  )  const

TRotMatrix* TGeometry::GetCurrentMatrix (  )  const

TRotMatrix* TGeometry::GetCurrentPosition ( Double_t x,
Double_t y,
Double_t z 
) const

TRotMatrix* TGeometry::GetCurrentPosition ( Float_t x,
Float_t y,
Float_t z 
) const

Bool_t TGeometry::GetCurrentReflection (  )  const

Bool_t TGeometry::IsFolder (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 95 of file TGeometry.h.

References kTRUE.

virtual void TGeometry::Local2Master ( Double_t local,
Double_t master 
) [virtual]

virtual void TGeometry::Local2Master ( Float_t local,
Float_t master 
) [virtual]

virtual void TGeometry::ls ( Option_t option = "rsn2"  )  const [virtual]

Reimplemented from TNamed.

virtual void TGeometry::Master2Local ( Double_t master,
Double_t local 
) [virtual]

virtual void TGeometry::Master2Local ( Float_t master,
Float_t local 
) [virtual]

virtual void TGeometry::Node ( const char *  name,
const char *  title,
const char *  shapename,
Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
const char *  matrixname = "",
Option_t option = "" 
) [virtual]

virtual Int_t TGeometry::PushLevel (  )  [inline, virtual]

Definition at line 103 of file TGeometry.h.

References fGeomLevel.

virtual Int_t TGeometry::PopLevel (  )  [inline, virtual]

Definition at line 104 of file TGeometry.h.

References fGeomLevel.

virtual void TGeometry::RecursiveRemove ( TObject obj  )  [virtual]

Reimplemented from TObject.

virtual void TGeometry::SetBomb ( Float_t  bomb = 1.4  )  [inline, virtual]

Definition at line 106 of file TGeometry.h.

References fBomb.

virtual void TGeometry::SetCurrentNode ( TNode node  )  [inline, virtual]

Definition at line 107 of file TGeometry.h.

References fCurrentNode.

virtual void TGeometry::SetGeomLevel ( Int_t  level = 0  )  [inline, virtual]

Definition at line 108 of file TGeometry.h.

References fGeomLevel, and level.

virtual void TGeometry::SetMatrix ( TRotMatrix matrix = 0  )  [inline, virtual]

Definition at line 109 of file TGeometry.h.

References fMatrix.

virtual void TGeometry::SetPosition ( TRotMatrix matrix,
Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0 
) [virtual]

virtual void TGeometry::SetPosition ( TRotMatrix matrix,
Float_t  x,
Float_t  y,
Float_t  z 
) [virtual]

virtual void TGeometry::SetPosition ( Double_t  x,
Double_t  y,
Double_t  z 
) [virtual]

virtual void TGeometry::SetPosition ( Float_t  x,
Float_t  y,
Float_t  z 
) [virtual]

virtual void TGeometry::UpdateMatrix ( TNode node  )  [virtual]

virtual void TGeometry::UpdateTempMatrix ( Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
TRotMatrix matrix = 0 
) [virtual]

virtual void TGeometry::UpdateTempMatrix ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t matrix,
Bool_t  isReflection = kFALSE 
) [virtual]

static TObjArray* TGeometry::Get ( const char *  name  )  [static]

static void TGeometry::UpdateTempMatrix ( Double_t dx1,
Double_t rmat1,
Double_t  x,
Double_t  y,
Double_t  z,
Double_t matrix,
Double_t dxnew,
Double_t rmatnew 
) [static]


Member Data Documentation

THashList* TGeometry::fMaterials [private]

Definition at line 46 of file TGeometry.h.

Referenced by Browse(), GetListOfMaterials(), GetMaterial(), GetMaterialByNumber(), ls(), operator=(), TGeometry(), and ~TGeometry().

THashList* TGeometry::fMatrices [private]

Definition at line 47 of file TGeometry.h.

Referenced by Browse(), GetListOfMatrices(), GetRotMatrix(), GetRotMatrixByNumber(), ls(), operator=(), TGeometry(), and ~TGeometry().

THashList* TGeometry::fShapes [private]

Definition at line 48 of file TGeometry.h.

Referenced by Browse(), GetListOfShapes(), GetShape(), GetShapeByNumber(), ls(), operator=(), TGeometry(), and ~TGeometry().

TList* TGeometry::fNodes [private]

Definition at line 49 of file TGeometry.h.

Referenced by Browse(), Draw(), GetListOfNodes(), ls(), operator=(), RecursiveRemove(), TGeometry(), and ~TGeometry().

TRotMatrix* TGeometry::fMatrix [private]

Definition at line 50 of file TGeometry.h.

Referenced by GetCurrentMatrix(), operator=(), SetMatrix(), and TGeometry().

TNode* TGeometry::fCurrentNode [private]

Pointers to current rotation matrices.

Definition at line 51 of file TGeometry.h.

Referenced by GetCurrentNode(), operator=(), SetCurrentNode(), and TGeometry().

TMaterial** TGeometry::fMaterialPointer [private]

Pointer to current node.

Definition at line 52 of file TGeometry.h.

Referenced by GetMaterialByNumber(), operator=(), TGeometry(), and ~TGeometry().

TRotMatrix** TGeometry::fMatrixPointer [private]

Pointers to materials.

Definition at line 53 of file TGeometry.h.

Referenced by GetRotMatrixByNumber(), operator=(), TGeometry(), and ~TGeometry().

TShape** TGeometry::fShapePointer [private]

Pointers to rotation matrices.

Definition at line 54 of file TGeometry.h.

Referenced by GetShapeByNumber(), operator=(), TGeometry(), and ~TGeometry().

Float_t TGeometry::fBomb [private]

Pointers to shapes.

Definition at line 55 of file TGeometry.h.

Referenced by GetBomb(), operator=(), SetBomb(), and TGeometry().

Int_t TGeometry::fGeomLevel [private]

Definition at line 56 of file TGeometry.h.

Referenced by GeomLevel(), GetCurrentReflection(), operator=(), PopLevel(), PushLevel(), SetGeomLevel(), TGeometry(), and UpdateMatrix().

Double_t TGeometry::fX [private]

Definition at line 57 of file TGeometry.h.

Referenced by GetCurrentPosition(), Local2Master(), Master2Local(), operator=(), SetPosition(), TGeometry(), and UpdateTempMatrix().

Double_t TGeometry::fY [private]

Definition at line 58 of file TGeometry.h.

Referenced by GetCurrentPosition(), Local2Master(), Master2Local(), operator=(), SetPosition(), TGeometry(), and UpdateTempMatrix().

Double_t TGeometry::fZ [private]

The global translation of the current node.

Definition at line 59 of file TGeometry.h.

Referenced by GetCurrentPosition(), Local2Master(), Master2Local(), operator=(), SetPosition(), TGeometry(), and UpdateTempMatrix().

Double_t TGeometry::fTranslation [private]

Definition at line 60 of file TGeometry.h.

Referenced by operator=(), TGeometry(), UpdateMatrix(), and UpdateTempMatrix().

Double_t TGeometry::fRotMatrix [private]

Definition at line 61 of file TGeometry.h.

Referenced by Local2Master(), Master2Local(), operator=(), TGeometry(), UpdateMatrix(), and UpdateTempMatrix().

Bool_t TGeometry::fIsReflection [private]

Definition at line 62 of file TGeometry.h.

Referenced by GetCurrentReflection(), operator=(), TGeometry(), and UpdateTempMatrix().

THashList* TGeometry::fMaterials [private]

Definition at line 46 of file TGeometry.h.

THashList* TGeometry::fMatrices [private]

Definition at line 47 of file TGeometry.h.

THashList* TGeometry::fShapes [private]

Definition at line 48 of file TGeometry.h.

TList* TGeometry::fNodes [private]

Definition at line 49 of file TGeometry.h.

TRotMatrix* TGeometry::fMatrix [private]

Definition at line 50 of file TGeometry.h.

TNode* TGeometry::fCurrentNode [private]

Pointers to current rotation matrices.

Definition at line 51 of file TGeometry.h.

TMaterial** TGeometry::fMaterialPointer [private]

Pointer to current node.

Definition at line 52 of file TGeometry.h.

TRotMatrix** TGeometry::fMatrixPointer [private]

Pointers to materials.

Definition at line 53 of file TGeometry.h.

TShape** TGeometry::fShapePointer [private]

Pointers to rotation matrices.

Definition at line 54 of file TGeometry.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:57 2011 for ROOT_528-00b_version by  doxygen 1.5.1