Logo ROOT  
Reference Guide
TGeoElemIter Class Reference

Iterator for decay branches.

Definition at line 328 of file TGeoElement.h.

Public Member Functions

 TGeoElemIter (const TGeoElemIter &iter)
 Copy ctor. More...
 
 TGeoElemIter (TGeoElementRN *top, Double_t limit=1.e-4)
 Default constructor. More...
 
virtual ~TGeoElemIter ()
 Destructor. More...
 
TObjArrayGetBranch () const
 
const TGeoElementRNGetElement () const
 
Int_t GetLevel () const
 
Double_t GetRatio () const
 
const TGeoElementRNGetTop () const
 
virtual TClassIsA () 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)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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 339 of file TGeoElement.h.

◆ TGeoElemIter() [2/3]

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

Default constructor.

Definition at line 812 of file TGeoElement.cxx.

◆ TGeoElemIter() [3/3]

TGeoElemIter::TGeoElemIter ( const TGeoElemIter iter)

Copy ctor.

Definition at line 821 of file TGeoElement.cxx.

◆ ~TGeoElemIter()

TGeoElemIter::~TGeoElemIter ( )
virtual

Destructor.

Definition at line 838 of file TGeoElement.cxx.

Member Function Documentation

◆ Class()

static TClass * TGeoElemIter::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TGeoElemIter::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static Version_t TGeoElemIter::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 360 of file TGeoElement.h.

◆ DeclFileName()

static const char * TGeoElemIter::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 360 of file TGeoElement.h.

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

◆ GetBranch()

TObjArray * TGeoElemIter::GetBranch ( ) const
inline

Definition at line 352 of file TGeoElement.h.

◆ GetElement()

const TGeoElementRN * TGeoElemIter::GetElement ( ) const
inline

Definition at line 354 of file TGeoElement.h.

◆ GetLevel()

Int_t TGeoElemIter::GetLevel ( ) const
inline

Definition at line 355 of file TGeoElement.h.

◆ GetRatio()

Double_t TGeoElemIter::GetRatio ( ) const
inline

Definition at line 356 of file TGeoElement.h.

◆ GetTop()

const TGeoElementRN * TGeoElemIter::GetTop ( ) const
inline

Definition at line 353 of file TGeoElement.h.

◆ IsA()

virtual TClass * TGeoElemIter::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 360 of file TGeoElement.h.

◆ Next()

TGeoElementRN * TGeoElemIter::Next ( )

Return next element.

Definition at line 914 of file TGeoElement.cxx.

◆ operator()()

TGeoElementRN * TGeoElemIter::operator() ( )

() operator.

Definition at line 864 of file TGeoElement.cxx.

◆ operator=()

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

Assignment.

Definition at line 846 of file TGeoElement.cxx.

◆ Print()

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

Print info about the current decay branch.

Definition at line 926 of file TGeoElement.cxx.

◆ SetLimitRatio()

void TGeoElemIter::SetLimitRatio ( Double_t  limit)
inline

Definition at line 358 of file TGeoElement.h.

◆ Streamer()

virtual void TGeoElemIter::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TGeoElemIter::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 360 of file TGeoElement.h.

◆ Up()

TGeoElementRN * TGeoElemIter::Up ( )
protected

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

Definition at line 872 of file TGeoElement.cxx.

Member Data Documentation

◆ fBranch

TObjArray* TGeoElemIter::fBranch
private

Definition at line 333 of file TGeoElement.h.

◆ fElem

const TGeoElementRN* TGeoElemIter::fElem
private

Definition at line 332 of file TGeoElement.h.

◆ fLevel

Int_t TGeoElemIter::fLevel
private

Definition at line 334 of file TGeoElement.h.

◆ fLimitRatio

Double_t TGeoElemIter::fLimitRatio
private

Definition at line 335 of file TGeoElement.h.

◆ fRatio

Double_t TGeoElemIter::fRatio
private

Definition at line 336 of file TGeoElement.h.

◆ fTop

const TGeoElementRN* TGeoElemIter::fTop
private

Definition at line 331 of file TGeoElement.h.

Libraries for TGeoElemIter:
[legend]

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