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

Definition at line 326 of file TGeoElement.h.

Public Member Functions

 TGeoElemIter (TGeoElementRN *top, Double_t limit=1.e-4)
 
 TGeoElemIter (const TGeoElemIter &iter)
 Copy ctor. More...
 
virtual ~TGeoElemIter ()
 Destructor. More...
 
TGeoElemIteroperator= (const TGeoElemIter &iter)
 Assignment. More...
 
TGeoElementRNoperator() ()
 () operator. More...
 
TGeoElementRNNext ()
 Return next element. More...
 
TObjArrayGetBranch () const
 
const TGeoElementRNGetTop () const
 
const TGeoElementRNGetElement () const
 
Int_t GetLevel () const
 
Double_t GetRatio () const
 
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

const TGeoElementRNfTop
 
const TGeoElementRNfElem
 
TObjArrayfBranch
 
Int_t fLevel
 
Double_t fLimitRatio
 
Double_t fRatio
 

#include <TGeoElement.h>

+ Collaboration diagram for TGeoElemIter:

Constructor & Destructor Documentation

TGeoElemIter::TGeoElemIter ( )
inlineprotected

Definition at line 337 of file TGeoElement.h.

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

Copy ctor.

Definition at line 725 of file TGeoElement.cxx.

TGeoElemIter::~TGeoElemIter ( )
virtual

Destructor.

Definition at line 742 of file TGeoElement.cxx.

Member Function Documentation

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 801 of file TGeoElement.cxx.

Referenced by Next(), and Up().

TObjArray* TGeoElemIter::GetBranch ( ) const
inline

Definition at line 350 of file TGeoElement.h.

Referenced by TGeoElementRN::FillPopulation().

const TGeoElementRN* TGeoElemIter::GetElement ( ) const
inline

Definition at line 352 of file TGeoElement.h.

Int_t TGeoElemIter::GetLevel ( ) const
inline

Definition at line 353 of file TGeoElement.h.

Double_t TGeoElemIter::GetRatio ( ) const
inline

Definition at line 354 of file TGeoElement.h.

const TGeoElementRN* TGeoElemIter::GetTop ( ) const
inline

Definition at line 351 of file TGeoElement.h.

TGeoElementRN * TGeoElemIter::Next ( )

Return next element.

Definition at line 817 of file TGeoElement.cxx.

Referenced by operator()().

TGeoElementRN * TGeoElemIter::operator() ( )

() operator.

Definition at line 768 of file TGeoElement.cxx.

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

Assignment.

Definition at line 750 of file TGeoElement.cxx.

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

Print info about the current decay branch.

Definition at line 829 of file TGeoElement.cxx.

void TGeoElemIter::SetLimitRatio ( Double_t  limit)
inline

Definition at line 356 of file TGeoElement.h.

TGeoElementRN * TGeoElemIter::Up ( )
protected

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

Definition at line 776 of file TGeoElement.cxx.

Referenced by Next().

Member Data Documentation

TObjArray* TGeoElemIter::fBranch
private

Definition at line 331 of file TGeoElement.h.

Referenced by Down(), GetBranch(), operator=(), Print(), TGeoElemIter(), Up(), and ~TGeoElemIter().

const TGeoElementRN* TGeoElemIter::fElem
private

Definition at line 330 of file TGeoElement.h.

Referenced by Down(), GetElement(), Next(), operator=(), and Up().

Int_t TGeoElemIter::fLevel
private

Definition at line 332 of file TGeoElement.h.

Referenced by Down(), GetLevel(), operator=(), Print(), TGeoElemIter(), and Up().

Double_t TGeoElemIter::fLimitRatio
private

Definition at line 333 of file TGeoElement.h.

Referenced by Down(), and operator=().

Double_t TGeoElemIter::fRatio
private

Definition at line 334 of file TGeoElement.h.

Referenced by Down(), GetRatio(), operator=(), Print(), and Up().

const TGeoElementRN* TGeoElemIter::fTop
private

Definition at line 329 of file TGeoElement.h.

Referenced by GetTop(), and operator=().


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