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... | |
TObjArray * | GetBranch () const |
const TGeoElementRN * | GetElement () const |
Int_t | GetLevel () const |
Double_t | GetRatio () const |
const TGeoElementRN * | GetTop () const |
TGeoElementRN * | Next () |
Return next element. More... | |
TGeoElementRN * | operator() () |
() operator. More... | |
TGeoElemIter & | operator= (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) |
Protected Member Functions | |
TGeoElemIter () | |
TGeoElementRN * | Down (Int_t ibranch) |
Go downwards from current level via ibranch as low in the tree as possible. More... | |
TGeoElementRN * | Up () |
Go upwards from the current location until the next branching, then down. More... | |
Private Attributes | |
TObjArray * | fBranch |
const TGeoElementRN * | fElem |
Int_t | fLevel |
Double_t | fLimitRatio |
Double_t | fRatio |
const TGeoElementRN * | fTop |
#include <TGeoElement.h>
|
inlineprotected |
Definition at line 339 of file TGeoElement.h.
TGeoElemIter::TGeoElemIter | ( | TGeoElementRN * | top, |
Double_t | limit = 1.e-4 |
||
) |
Default constructor.
Definition at line 785 of file TGeoElement.cxx.
TGeoElemIter::TGeoElemIter | ( | const TGeoElemIter & | iter | ) |
Copy ctor.
Definition at line 794 of file TGeoElement.cxx.
|
virtual |
Destructor.
Definition at line 811 of file TGeoElement.cxx.
|
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 870 of file TGeoElement.cxx.
|
inline |
Definition at line 352 of file TGeoElement.h.
|
inline |
Definition at line 354 of file TGeoElement.h.
|
inline |
Definition at line 355 of file TGeoElement.h.
|
inline |
Definition at line 356 of file TGeoElement.h.
|
inline |
Definition at line 353 of file TGeoElement.h.
TGeoElementRN * TGeoElemIter::Next | ( | ) |
Return next element.
Definition at line 886 of file TGeoElement.cxx.
TGeoElementRN * TGeoElemIter::operator() | ( | ) |
() operator.
Definition at line 837 of file TGeoElement.cxx.
TGeoElemIter & TGeoElemIter::operator= | ( | const TGeoElemIter & | iter | ) |
Assignment.
Definition at line 819 of file TGeoElement.cxx.
Print info about the current decay branch.
Definition at line 898 of file TGeoElement.cxx.
Definition at line 358 of file TGeoElement.h.
|
protected |
Go upwards from the current location until the next branching, then down.
Definition at line 845 of file TGeoElement.cxx.
|
private |
Definition at line 333 of file TGeoElement.h.
|
private |
Definition at line 332 of file TGeoElement.h.
|
private |
Definition at line 334 of file TGeoElement.h.
|
private |
Definition at line 335 of file TGeoElement.h.
|
private |
Definition at line 336 of file TGeoElement.h.
|
private |
Definition at line 331 of file TGeoElement.h.