#include <TGeometryX.h>
Public Member Functions | |
| TGeometryX () | |
| TGeometryX (const char *name, const char *title) | |
| TNode * | GetNodeToDepth (const char *name, Int_t maxdepth=65536) |
|
|
Definition at line 18 of file TGeometryX.cxx. 00018 : TGeometry() {;}
|
|
||||||||||||
|
Definition at line 19 of file TGeometryX.cxx. 00020 : TGeometry(name,title) {;}
|
|
||||||||||||
|
Definition at line 23 of file TGeometryX.cxx. References TNodeX::GetNodeToDepth(). 00024 {
00025 // search node structure only to limited depth
00026
00027 //*-*-*-*-*-*-*Return pointer to node with name in the geometry tree*-*-*-*-*
00028 //*-* =====================================================
00029
00030 // TNode *node= (TNode*)GetListOfNodes()->First();
00031 TNodeX *node= dynamic_cast<TNodeX*>(GetListOfNodes()->First());
00032 if (!node) return 0;
00033 if (node->TestBit(kNotDeleted)) return node->GetNodeToDepth(name,maxdepth);
00034 return 0;
00035 }
|
1.3.9.1