Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TGeoElemIter Class Reference

Iterator for decay branches.

Definition at line 316 of file TGeoElement.h.

Public Member Functions

 TGeoElemIter (TGeoElementRN *top, Double_t limit=1.e-4)
 Default constructor. More...
 
 TGeoElemIter (const TGeoElemIter &iter)
 Copy ctor. More...
 
virtual ~TGeoElemIter ()
 Destructor. More...
 
TObjArrayGetBranch () const
 
const TGeoElementRNGetElement () const
 
Int_t GetLevel () const
 
Double_t GetRatio () const
 
const TGeoElementRNGetTop () const
 
TGeoElementRNNext ()
 Return next element. More...
 
TGeoElementRNoperator() ()
 () operator. More...
 
TGeoElemIteroperator= (const TGeoElemIter &iter)
 Assignment. More...
 
virtual void Print (Option_t *option="") const
 Print info about the current decay branch. More...
 
void SetLimitRatio (Double_t limit)
 

Protected Member Functions

 TGeoElemIter ()
 
TGeoElementRNDown (Int_t ibranch)
 Go downwards from current level via ibranch as low in the tree as possible. More...
 
TGeoElementRNUp ()
 Go upwards from the current location until the next branching, then down. More...
 

Private Attributes

TObjArrayfBranch
 
const TGeoElementRNfElem
 
Int_t fLevel
 
Double_t fLimitRatio
 
Double_t fRatio
 
const TGeoElementRNfTop
 

#include <TGeoElement.h>

Constructor & Destructor Documentation

◆ TGeoElemIter() [1/3]

TGeoElemIter::TGeoElemIter ( )
inlineprotected

Definition at line 327 of file TGeoElement.h.

◆ TGeoElemIter() [2/3]

TGeoElemIter::TGeoElemIter ( TGeoElementRN top,
Double_t  limit = 1.e-4 
)

Default constructor.

Definition at line 732 of file TGeoElement.cxx.

◆ TGeoElemIter() [3/3]

TGeoElemIter::TGeoElemIter ( const TGeoElemIter iter)

Copy ctor.

Definition at line 741 of file TGeoElement.cxx.

◆ ~TGeoElemIter()

TGeoElemIter::~TGeoElemIter ( )
virtual

Destructor.

Definition at line 758 of file TGeoElement.cxx.

Member Function Documentation

◆ Down()

TGeoElementRN * TGeoElemIter::Down ( Int_t  ibranch)
protected

Go downwards from current level via ibranch as low in the tree as possible.

Return value flags if the operation was successful.

Definition at line 817 of file TGeoElement.cxx.

◆ GetBranch()

TObjArray* TGeoElemIter::GetBranch ( ) const
inline

Definition at line 340 of file TGeoElement.h.

◆ GetElement()

const TGeoElementRN* TGeoElemIter::GetElement ( ) const
inline

Definition at line 342 of file TGeoElement.h.

◆ GetLevel()

Int_t TGeoElemIter::GetLevel ( ) const
inline

Definition at line 343 of file TGeoElement.h.

◆ GetRatio()

Double_t TGeoElemIter::GetRatio ( ) const
inline

Definition at line 344 of file TGeoElement.h.

◆ GetTop()

const TGeoElementRN* TGeoElemIter::GetTop ( ) const
inline

Definition at line 341 of file TGeoElement.h.

◆ Next()

TGeoElementRN * TGeoElemIter::Next ( )

Return next element.

Definition at line 833 of file TGeoElement.cxx.

◆ operator()()

TGeoElementRN * TGeoElemIter::operator() ( )

() operator.

Definition at line 784 of file TGeoElement.cxx.

◆ operator=()

TGeoElemIter & TGeoElemIter::operator= ( const TGeoElemIter iter)

Assignment.

Definition at line 766 of file TGeoElement.cxx.

◆ Print()

void TGeoElemIter::Print ( Option_t option = "") const
virtual

Print info about the current decay branch.

Definition at line 845 of file TGeoElement.cxx.

◆ SetLimitRatio()

void TGeoElemIter::SetLimitRatio ( Double_t  limit)
inline

Definition at line 346 of file TGeoElement.h.

◆ Up()

TGeoElementRN * TGeoElemIter::Up ( )
protected

Go upwards from the current location until the next branching, then down.

Definition at line 792 of file TGeoElement.cxx.

Member Data Documentation

◆ fBranch

TObjArray* TGeoElemIter::fBranch
private

Definition at line 321 of file TGeoElement.h.

◆ fElem

const TGeoElementRN* TGeoElemIter::fElem
private

Definition at line 320 of file TGeoElement.h.

◆ fLevel

Int_t TGeoElemIter::fLevel
private

Definition at line 322 of file TGeoElement.h.

◆ fLimitRatio

Double_t TGeoElemIter::fLimitRatio
private

Definition at line 323 of file TGeoElement.h.

◆ fRatio

Double_t TGeoElemIter::fRatio
private

Definition at line 324 of file TGeoElement.h.

◆ fTop

const TGeoElementRN* TGeoElemIter::fTop
private

Definition at line 319 of file TGeoElement.h.


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