library: libGeom
#include "TGeoElement.h"

TGeoElemIter


class description - header file - source file
viewCVS header - viewCVS source

class TGeoElemIter

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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:
const TGeoElementRN*fTopTop element of the iteration
const TGeoElementRN*fElemCurrent element
TObjArray*fBranchCurrent branch
Int_tfLevelCurrent level
Double_tfLimitRatioMinimum cumulative branching ratio
Double_tfRatioCurrent ratio

Class Description


 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


TGeoElemIter(TGeoElementRN *top, Double_t limit)
 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*/)
 Print info about the current decay branch.
TGeoElementRN * GetElement()
{return fElem;}
TGeoElemIter()
{}
TObjArray * GetBranch()
{return fBranch;}
const TGeoElementRN * GetTop()
{return fTop;}
Int_t GetLevel()
{return fLevel;}
Double_t GetRatio()
{return fRatio;}
void SetLimitRatio(Double_t limit)
{fLimitRatio = limit;}

Author: Andrei Gheata 17/06/04
Last update: root/geom:$Name: $:$Id: TGeoElement.cxx,v 1.19 2006/11/16 17:17:37 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.