A++ » INCLUDE » TGeoIterator

class TGeoIterator


TGeoNode - base class for logical nodes. They represent volumes
positioned inside a mother volume


Function Members (Methods)

public:
virtual~TGeoIterator()
static TClass*Class()
const TGeoMatrix*GetCurrentMatrix() const
Int_tGetIndex(Int_t i) const
Int_tGetLevel() const
TGeoNode*GetNode(Int_t level) const
voidGetPath(TString& path) const
TGeoVolume*GetTopVolume() const
Int_tGetType() const
TGeoIteratorPlugin*GetUserPlugin() const
virtual TClass*IsA() const
TGeoNode*Next()
TGeoNode*operator()()
TGeoIterator&operator=(const TGeoIterator& iter)
voidReset(TGeoVolume* top = 0)
voidSetPluginAutoexec(Bool_t mode)
voidSetTopName(const char* name)
voidSetType(Int_t type)
voidSetUserPlugin(TGeoIteratorPlugin* plugin)
virtual voidShowMembers(TMemberInspector& insp) const
voidSkip()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGeoIterator(TGeoVolume* top)
TGeoIterator(const TGeoIterator& iter)
protected:
TGeoIterator()
private:
voidIncreaseArray()

Data Members

private:
Int_t*fArrayArray of node indices for the current path
Int_tfLevelCurrent level in the tree
TGeoHMatrix*fMatrixCurrent global matrix
Bool_tfMustResumePrivate flag to resume from current node.
Bool_tfMustStopPrivate flag to signal that the iterator has finished.
TGeoIteratorPlugin*fPluginUser iterator plugin
Bool_tfPluginAutoexecPlugin automatically executed during next()
TGeoVolume*fTopTop volume of the iterated branch
TStringfTopNameUser name for top
Int_tfTypeType of iteration

Class Charts

Inheritance Chart:
TGeoIterator

Function documentation

TGeoNode& operator=(const TGeoIterator& iter)
Int_t GetIndex()
{return 0;}
void IncreaseArray()
TGeoIterator()
{ }
TGeoIterator(TGeoVolume* top)
TGeoIterator(const TGeoIterator& iter)
virtual ~TGeoIterator()
TGeoNode * operator()()
TGeoNode * Next()
const TGeoMatrix * GetCurrentMatrix() const
Int_t GetLevel() const
{return fLevel;}
TGeoNode * GetNode(Int_t level) const
void GetPath(TString& path) const
* GetUserPlugin() const
{return fPlugin;}
TGeoVolume * GetTopVolume() const
{return fTop;}
Int_t GetType() const
{return fType;}
void Reset(TGeoVolume* top = 0)
void SetUserPlugin(TGeoIteratorPlugin* plugin)
void SetPluginAutoexec(Bool_t mode)
{fPluginAutoexec = mode;}
void SetType(Int_t type)
{fType = type;}
void SetTopName(const char* name)
void Skip()