TGeometryX Class Reference

#include <TGeometryX.h>

List of all members.

Public Member Functions

 TGeometryX ()
 TGeometryX (const char *name, const char *title)
TNode * GetNodeToDepth (const char *name, Int_t maxdepth=65536)

Detailed Description

Definition at line 18 of file TGeometryX.h.


Constructor & Destructor Documentation

TGeometryX::TGeometryX (  ) 

Definition at line 18 of file TGeometryX.cxx.

00018 : TGeometry() {;} 

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

Definition at line 19 of file TGeometryX.cxx.

00020    : TGeometry(name,title) {;} 


Member Function Documentation

TNode * TGeometryX::GetNodeToDepth ( const char *  name,
Int_t  maxdepth = 65536 
)

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 }


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1