TGeoPhysicalNode Class Reference

#include <TGeoPhysicalNode.h>

Inheritance diagram for TGeoPhysicalNode:

TNamed TAttLine TNamed TAttLine TObject TObject TObject TObject List of all members.

Public Types

enum  
enum  

Public Member Functions

 TGeoPhysicalNode ()
 TGeoPhysicalNode (const char *path)
virtual ~TGeoPhysicalNode ()
void Align (TGeoMatrix *newmat=0, TGeoShape *newshape=0, Bool_t check=kFALSE, Double_t ovlp=0.001)
void cd () const
void Draw (Option_t *option="")
Int_t GetLevel () const
TGeoHMatrixGetMatrix (Int_t level=-1) const
TGeoHMatrixGetOriginalMatrix () const
TGeoNodeGetMother (Int_t levup=1) const
TGeoNodeGetNode (Int_t level=-1) const
TGeoShapeGetShape (Int_t level=-1) const
TGeoVolumeGetVolume (Int_t level=-1) const
Bool_t IsAligned () const
Bool_t IsVolAttributes () const
Bool_t IsVisible () const
Bool_t IsVisibleFull () const
virtual void Print (Option_t *option="") const
void Refresh ()
void SetMatrixOrig (const TGeoMatrix *local)
void SetIsVolAtt (Bool_t flag=kTRUE)
void SetVisibility (Bool_t flag=kTRUE)
void SetVisibleFull (Bool_t flag=kTRUE)
virtual void Paint (Option_t *option="")
 TGeoPhysicalNode ()
 TGeoPhysicalNode (const char *path)
virtual ~TGeoPhysicalNode ()
void Align (TGeoMatrix *newmat=0, TGeoShape *newshape=0, Bool_t check=kFALSE, Double_t ovlp=0.001)
void cd () const
void Draw (Option_t *option="")
Int_t GetLevel () const
TGeoHMatrixGetMatrix (Int_t level=-1) const
TGeoHMatrixGetOriginalMatrix () const
TGeoNodeGetMother (Int_t levup=1) const
TGeoNodeGetNode (Int_t level=-1) const
TGeoShapeGetShape (Int_t level=-1) const
TGeoVolumeGetVolume (Int_t level=-1) const
Bool_t IsAligned () const
Bool_t IsVolAttributes () const
Bool_t IsVisible () const
Bool_t IsVisibleFull () const
virtual void Print (Option_t *option="") const
void Refresh ()
void SetMatrixOrig (const TGeoMatrix *local)
void SetIsVolAtt (Bool_t flag=kTRUE)
void SetVisibility (Bool_t flag=kTRUE)
void SetVisibleFull (Bool_t flag=kTRUE)
virtual void Paint (Option_t *option="")

Protected Member Functions

 TGeoPhysicalNode (const TGeoPhysicalNode &)
TGeoPhysicalNodeoperator= (const TGeoPhysicalNode &)
void SetAligned (Bool_t flag=kTRUE)
Bool_t SetPath (const char *path)
void SetBranchAsState ()
 TGeoPhysicalNode (const TGeoPhysicalNode &)
TGeoPhysicalNodeoperator= (const TGeoPhysicalNode &)
void SetAligned (Bool_t flag=kTRUE)
Bool_t SetPath (const char *path)
void SetBranchAsState ()

Protected Attributes

Int_t fLevel
TObjArrayfMatrices
TObjArrayfNodes
TGeoHMatrixfMatrixOrig
TObjArrayfMatrices
TObjArrayfNodes
TGeoHMatrixfMatrixOrig

Detailed Description

Definition at line 41 of file TGeoPhysicalNode.h.


Member Enumeration Documentation

anonymous enum

Definition at line 58 of file TGeoPhysicalNode.h.

anonymous enum

Definition at line 58 of file TGeoPhysicalNode.h.


Constructor & Destructor Documentation

TGeoPhysicalNode::TGeoPhysicalNode ( const TGeoPhysicalNode  )  [protected]

Definition at line 97 of file TGeoPhysicalNode.cxx.

TGeoPhysicalNode::TGeoPhysicalNode (  ) 

TGeoPhysicalNode::TGeoPhysicalNode ( const char *  path  ) 

Definition at line 78 of file TGeoPhysicalNode.cxx.

References TObject::Error(), fLevel, fMatrices, fMatrixOrig, fNodes, kFALSE, kTRUE, SetAligned(), SetIsVolAtt(), SetPath(), SetVisibility(), and SetVisibleFull().

TGeoPhysicalNode::~TGeoPhysicalNode (  )  [virtual]

Definition at line 124 of file TGeoPhysicalNode.cxx.

References TObjArray::Delete(), fMatrices, fMatrixOrig, and fNodes.

TGeoPhysicalNode::TGeoPhysicalNode ( const TGeoPhysicalNode  )  [protected]

TGeoPhysicalNode::TGeoPhysicalNode (  ) 

TGeoPhysicalNode::TGeoPhysicalNode ( const char *  path  ) 

virtual TGeoPhysicalNode::~TGeoPhysicalNode (  )  [virtual]


Member Function Documentation

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

Definition at line 109 of file TGeoPhysicalNode.cxx.

References fLevel, fMatrices, fMatrixOrig, fNodes, and TNamed::operator=().

void TGeoPhysicalNode::SetAligned ( Bool_t  flag = kTRUE  )  [inline, protected]

Definition at line 53 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeAligned, and TObject::SetBit().

Referenced by Align(), and TGeoPhysicalNode().

Bool_t TGeoPhysicalNode::SetPath ( const char *  path  )  [protected]

Definition at line 403 of file TGeoPhysicalNode.cxx.

References TGeoManager::cd(), TObject::Error(), gGeoManager, kFALSE, kTRUE, and SetBranchAsState().

Referenced by Refresh(), and TGeoPhysicalNode().

void TGeoPhysicalNode::SetBranchAsState (  )  [protected]

Definition at line 355 of file TGeoPhysicalNode.cxx.

References TObjArray::AddAtAndExpand(), TObject::Error(), fLevel, fMatrices, fMatrixOrig, fNodes, TGeoNodeCache::GetBranch(), TGeoManager::GetCache(), TGeoManager::GetLevel(), TGeoNodeCache::GetMatrices(), TGeoNode::GetMatrix(), gGeoManager, i, TGeoNodeCache::IsDummy(), kFALSE, kTRUE, and TObjArray::UncheckedAt().

Referenced by SetPath().

void TGeoPhysicalNode::Align ( TGeoMatrix newmat = 0,
TGeoShape newshape = 0,
Bool_t  check = kFALSE,
Double_t  ovlp = 0.001 
)

Definition at line 136 of file TGeoPhysicalNode.cxx.

References TObjArray::Add(), TObjArray::AddAt(), TGeoManager::CdTop(), TGeoNode::CheckOverlaps(), TGeoVolume::CloneVolume(), TObject::Error(), TGeoVolume::FindOverlaps(), fLevel, fNodes, TGeoVolume::GetIndex(), TGeoManager::GetListOfGShapes(), GetMatrix(), TGeoNode::GetMotherVolume(), TNamed::GetName(), GetNode(), TGeoVolume::GetNodes(), TGeoVolume::GetShape(), TGeoNode::GetVolume(), GetVolume(), TGeoVolume::GetVoxels(), gGeoManager, i, TObject::Info(), IsAligned(), TGeoVolume::IsAssembly(), TGeoManager::IsLocked(), TGeoNode::IsOffset(), TGeoNode::IsOverlapping(), TGeoMatrix::IsRegistered(), kTRUE, TGeoVolume::kVolumeImportNodes, TGeoNode::MakeCopyNode(), TGeoHMatrix::Multiply(), TGeoMatrix::RegisterYourself(), TObjArray::RemoveAt(), SetAligned(), TGeoManager::SetCheckedNode(), TGeoNodeMatrix::SetMatrix(), TGeoNode::SetMotherVolume(), TGeoVoxelFinder::SetNeedRebuild(), TGeoVolume::SetShape(), TGeoNode::SetVolume(), and TObject::TestBit().

Referenced by align().

void TGeoPhysicalNode::cd (  )  const

Definition at line 261 of file TGeoPhysicalNode.cxx.

References TGeoManager::cd(), TString::Data(), TNamed::fName, and gGeoManager.

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

Reimplemented from TObject.

Definition at line 267 of file TGeoPhysicalNode.cxx.

Int_t TGeoPhysicalNode::GetLevel (  )  const [inline]

Definition at line 74 of file TGeoPhysicalNode.h.

References fLevel.

Referenced by TGeoPainter::PaintPhysicalNode().

TGeoHMatrix * TGeoPhysicalNode::GetMatrix ( Int_t  level = -1  )  const

Definition at line 282 of file TGeoPhysicalNode.cxx.

References fLevel, fMatrices, and TObjArray::UncheckedAt().

Referenced by Align(), TGeoPainter::PaintPhysicalNode(), and Print().

TGeoHMatrix* TGeoPhysicalNode::GetOriginalMatrix (  )  const [inline]

Definition at line 76 of file TGeoPhysicalNode.h.

References fMatrixOrig.

Referenced by TGeoPNEntry::GetMatrixOrig().

TGeoNode * TGeoPhysicalNode::GetMother ( Int_t  levup = 1  )  const

Definition at line 273 of file TGeoPhysicalNode.cxx.

References fLevel, fNodes, and TObjArray::UncheckedAt().

TGeoNode * TGeoPhysicalNode::GetNode ( Int_t  level = -1  )  const

Definition at line 291 of file TGeoPhysicalNode.cxx.

References fLevel, fNodes, and TObjArray::UncheckedAt().

Referenced by Align(), align(), GetVolume(), and Print().

TGeoShape * TGeoPhysicalNode::GetShape ( Int_t  level = -1  )  const

Definition at line 309 of file TGeoPhysicalNode.cxx.

References TGeoVolume::GetShape(), and GetVolume().

TGeoVolume * TGeoPhysicalNode::GetVolume ( Int_t  level = -1  )  const

Definition at line 300 of file TGeoPhysicalNode.cxx.

References GetNode(), and TGeoNode::GetVolume().

Referenced by Align(), GetShape(), and TGeoPainter::PaintPhysicalNode().

Bool_t TGeoPhysicalNode::IsAligned (  )  const [inline]

Definition at line 83 of file TGeoPhysicalNode.h.

References kGeoPNodeAligned, and TObject::TestBit().

Referenced by align(), Align(), and Print().

Bool_t TGeoPhysicalNode::IsVolAttributes (  )  const [inline]

Definition at line 84 of file TGeoPhysicalNode.h.

References kGeoPNodeVolAtt, and TObject::TestBit().

Referenced by TGeoPainter::PaintPhysicalNode().

Bool_t TGeoPhysicalNode::IsVisible (  )  const [inline]

Definition at line 85 of file TGeoPhysicalNode.h.

References kGeoPNodeVisible, and TObject::TestBit().

Referenced by TGeoPainter::PaintPhysicalNode().

Bool_t TGeoPhysicalNode::IsVisibleFull (  )  const [inline]

Definition at line 86 of file TGeoPhysicalNode.h.

References kGeoPNodeFull, and TObject::TestBit().

Referenced by TGeoPainter::PaintPhysicalNode().

void TGeoPhysicalNode::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

Definition at line 327 of file TGeoPhysicalNode.cxx.

References TString::Data(), fLevel, fMatrixOrig, TNamed::fName, GetMatrix(), TGeoNode::GetMatrix(), TNamed::GetName(), GetNode(), i, IsAligned(), and TGeoMatrix::Print().

void TGeoPhysicalNode::Refresh (  ) 

Definition at line 347 of file TGeoPhysicalNode.cxx.

References TString::Data(), TNamed::fName, and SetPath().

void TGeoPhysicalNode::SetMatrixOrig ( const TGeoMatrix local  ) 

Definition at line 393 of file TGeoPhysicalNode.cxx.

References TGeoHMatrix::Clear(), fMatrixOrig, and local.

void TGeoPhysicalNode::SetIsVolAtt ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 92 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeVolAtt, and TObject::SetBit().

Referenced by TGeoPhysicalNode().

void TGeoPhysicalNode::SetVisibility ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 93 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeVisible, and TObject::SetBit().

Referenced by TGeoPhysicalNode().

void TGeoPhysicalNode::SetVisibleFull ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 94 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeFull, and TObject::SetBit().

Referenced by TGeoPhysicalNode().

void TGeoPhysicalNode::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 318 of file TGeoPhysicalNode.cxx.

References TGeoManager::GetGeomPainter(), and gGeoManager.

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

void TGeoPhysicalNode::SetAligned ( Bool_t  flag = kTRUE  )  [inline, protected]

Definition at line 53 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeAligned, and TObject::SetBit().

Bool_t TGeoPhysicalNode::SetPath ( const char *  path  )  [protected]

void TGeoPhysicalNode::SetBranchAsState (  )  [protected]

void TGeoPhysicalNode::Align ( TGeoMatrix newmat = 0,
TGeoShape newshape = 0,
Bool_t  check = kFALSE,
Double_t  ovlp = 0.001 
)

void TGeoPhysicalNode::cd (  )  const

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

Reimplemented from TObject.

Int_t TGeoPhysicalNode::GetLevel (  )  const [inline]

Definition at line 74 of file TGeoPhysicalNode.h.

References fLevel.

TGeoHMatrix* TGeoPhysicalNode::GetMatrix ( Int_t  level = -1  )  const

TGeoHMatrix* TGeoPhysicalNode::GetOriginalMatrix (  )  const [inline]

Definition at line 76 of file TGeoPhysicalNode.h.

References fMatrixOrig.

TGeoNode* TGeoPhysicalNode::GetMother ( Int_t  levup = 1  )  const

TGeoNode* TGeoPhysicalNode::GetNode ( Int_t  level = -1  )  const

TGeoShape* TGeoPhysicalNode::GetShape ( Int_t  level = -1  )  const

TGeoVolume* TGeoPhysicalNode::GetVolume ( Int_t  level = -1  )  const

Bool_t TGeoPhysicalNode::IsAligned (  )  const [inline]

Definition at line 83 of file TGeoPhysicalNode.h.

References kGeoPNodeAligned, and TObject::TestBit().

Bool_t TGeoPhysicalNode::IsVolAttributes (  )  const [inline]

Definition at line 84 of file TGeoPhysicalNode.h.

References kGeoPNodeVolAtt, and TObject::TestBit().

Bool_t TGeoPhysicalNode::IsVisible (  )  const [inline]

Definition at line 85 of file TGeoPhysicalNode.h.

References kGeoPNodeVisible, and TObject::TestBit().

Bool_t TGeoPhysicalNode::IsVisibleFull (  )  const [inline]

Definition at line 86 of file TGeoPhysicalNode.h.

References kGeoPNodeFull, and TObject::TestBit().

virtual void TGeoPhysicalNode::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

void TGeoPhysicalNode::Refresh (  ) 

void TGeoPhysicalNode::SetMatrixOrig ( const TGeoMatrix local  ) 

void TGeoPhysicalNode::SetIsVolAtt ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 92 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeVolAtt, and TObject::SetBit().

void TGeoPhysicalNode::SetVisibility ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 93 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeVisible, and TObject::SetBit().

void TGeoPhysicalNode::SetVisibleFull ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 94 of file TGeoPhysicalNode.h.

References flag, kGeoPNodeFull, and TObject::SetBit().

virtual void TGeoPhysicalNode::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.


Member Data Documentation

Int_t TGeoPhysicalNode::fLevel [protected]

Definition at line 45 of file TGeoPhysicalNode.h.

Referenced by Align(), GetLevel(), GetMatrix(), GetMother(), GetNode(), operator=(), Print(), SetBranchAsState(), and TGeoPhysicalNode().

TObjArray* TGeoPhysicalNode::fMatrices [protected]

Definition at line 46 of file TGeoPhysicalNode.h.

Referenced by GetMatrix(), operator=(), SetBranchAsState(), TGeoPhysicalNode(), and ~TGeoPhysicalNode().

TObjArray* TGeoPhysicalNode::fNodes [protected]

Definition at line 47 of file TGeoPhysicalNode.h.

Referenced by Align(), GetMother(), GetNode(), operator=(), SetBranchAsState(), TGeoPhysicalNode(), and ~TGeoPhysicalNode().

TGeoHMatrix* TGeoPhysicalNode::fMatrixOrig [protected]

Definition at line 48 of file TGeoPhysicalNode.h.

Referenced by GetOriginalMatrix(), operator=(), Print(), SetBranchAsState(), SetMatrixOrig(), TGeoPhysicalNode(), and ~TGeoPhysicalNode().

TObjArray* TGeoPhysicalNode::fMatrices [protected]

Definition at line 46 of file TGeoPhysicalNode.h.

TObjArray* TGeoPhysicalNode::fNodes [protected]

Definition at line 47 of file TGeoPhysicalNode.h.

TGeoHMatrix* TGeoPhysicalNode::fMatrixOrig [protected]

Definition at line 48 of file TGeoPhysicalNode.h.


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