class TGeoElemIter


 TGeoElement      - base class for chemical elements
 TGeoElementRN    - class representing a radionuclide
 TGeoElemIter     - iterator for decay branches
 TGeoDecayChannel - a decay channel for a radionuclide
 TGeoElementTable - table of elements


Function Members (Methods)

public:
TGeoElemIter(const TGeoElemIter& iter)
TGeoElemIter(TGeoElementRN* top, Double_t limit = 1.e-4)
virtual~TGeoElemIter()
static TClass*Class()
TObjArray*GetBranch() const
const TGeoElementRN*GetElement() const
Int_tGetLevel() const
Double_tGetRatio() const
const TGeoElementRN*GetTop() const
virtual TClass*IsA() const
TGeoElementRN*Next()
TGeoElementRN*operator()()
TGeoElemIter&operator=(const TGeoElemIter& iter)
virtual voidPrint(Option_t* option = "") const
voidSetLimitRatio(Double_t limit)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
TGeoElemIter()
TGeoElementRN*Down(Int_t ibranch)
TGeoElementRN*Up()

Data Members

private:
TObjArray*fBranchCurrent branch
const TGeoElementRN*fElemCurrent element
Int_tfLevelCurrent level
Double_tfLimitRatioMinimum cumulative branching ratio
Double_tfRatioCurrent ratio
const TGeoElementRN*fTopTop element of the iteration

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGeoElemIter(TGeoElementRN* top, Double_t limit = 1.e-4)
 Default constructor.
TGeoElemIter(const TGeoElemIter& iter)
 Copy ctor.
~TGeoElemIter()
 Destructor.
TGeoElemIter & operator=(const TGeoElemIter& iter)
 Assignment.
TGeoElementRN * operator()()
 () operator.
TGeoElementRN * Up()
 Go upwards from the current location until the next branching, then down.
TGeoElementRN * Down(Int_t ibranch)
 Go downwards from current level via ibranch as low in the tree as possible.
 Return value flags if the operation was successful.
TGeoElementRN * Next()
 Return next element.
void Print(Option_t* option = "") const
 Print info about the current decay branch.
TGeoElementRN * GetElement() const
{return fElem;}
TGeoElemIter()
{}
TObjArray * GetBranch() const
{return fBranch;}
const TGeoElementRN * GetTop() const
{return fTop;}
Int_t GetLevel() const
{return fLevel;}
Double_t GetRatio() const
{return fRatio;}
void SetLimitRatio(Double_t limit)
{fLimitRatio = limit;}

Author: Andrei Gheata 17/06/04
Last change: root/geom:$Id: TGeoElement.h 21425 2007-12-17 15:59:27Z brun $
Last generated: 2008-12-05 09:53
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.