Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGeoElemIter Class Reference

Iterator for decay branches.

Definition at line 358 of file TGeoElement.h.

Public Member Functions

 TGeoElemIter (const TGeoElemIter &iter)
 Copy ctor.
 
 TGeoElemIter (TGeoElementRN *top, Double_t limit=1.e-4)
 Default constructor.
 
virtual ~TGeoElemIter ()
 Destructor.
 
TObjArrayGetBranch () const
 
const TGeoElementRNGetElement () const
 
Int_t GetLevel () const
 
Double_t GetRatio () const
 
const TGeoElementRNGetTop () const
 
virtual TClassIsA () const
 
TGeoElementRNNext ()
 Return next element.
 
TGeoElementRNoperator() ()
 () operator.
 
TGeoElemIteroperator= (const TGeoElemIter &iter)
 Assignment.
 
virtual void Print (Option_t *option="") const
 Print info about the current decay branch.
 
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 constexpr 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.
 
TGeoElementRNUp ()
 Go upwards from the current location until the next branching, then down.
 

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

◆ TGeoElemIter() [2/3]

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

Default constructor.

Definition at line 831 of file TGeoElement.cxx.

◆ TGeoElemIter() [3/3]

TGeoElemIter::TGeoElemIter ( const TGeoElemIter iter)

Copy ctor.

Definition at line 840 of file TGeoElement.cxx.

◆ ~TGeoElemIter()

TGeoElemIter::~TGeoElemIter ( )
virtual

Destructor.

Definition at line 858 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 constexpr Version_t TGeoElemIter::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 389 of file TGeoElement.h.

◆ DeclFileName()

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

Definition at line 389 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 921 of file TGeoElement.cxx.

◆ GetBranch()

TObjArray * TGeoElemIter::GetBranch ( ) const
inline

Definition at line 381 of file TGeoElement.h.

◆ GetElement()

const TGeoElementRN * TGeoElemIter::GetElement ( ) const
inline

Definition at line 383 of file TGeoElement.h.

◆ GetLevel()

Int_t TGeoElemIter::GetLevel ( ) const
inline

Definition at line 384 of file TGeoElement.h.

◆ GetRatio()

Double_t TGeoElemIter::GetRatio ( ) const
inline

Definition at line 385 of file TGeoElement.h.

◆ GetTop()

const TGeoElementRN * TGeoElemIter::GetTop ( ) const
inline

Definition at line 382 of file TGeoElement.h.

◆ IsA()

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

Definition at line 389 of file TGeoElement.h.

◆ Next()

TGeoElementRN * TGeoElemIter::Next ( )

Return next element.

Definition at line 941 of file TGeoElement.cxx.

◆ operator()()

TGeoElementRN * TGeoElemIter::operator() ( )

() operator.

Definition at line 887 of file TGeoElement.cxx.

◆ operator=()

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

Assignment.

Definition at line 867 of file TGeoElement.cxx.

◆ Print()

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

Print info about the current decay branch.

Definition at line 956 of file TGeoElement.cxx.

◆ SetLimitRatio()

void TGeoElemIter::SetLimitRatio ( Double_t  limit)
inline

Definition at line 387 of file TGeoElement.h.

◆ Streamer()

virtual void TGeoElemIter::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TGeoElemIter::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 389 of file TGeoElement.h.

◆ Up()

TGeoElementRN * TGeoElemIter::Up ( )
protected

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

Definition at line 895 of file TGeoElement.cxx.

Member Data Documentation

◆ fBranch

TObjArray* TGeoElemIter::fBranch
private

Definition at line 362 of file TGeoElement.h.

◆ fElem

const TGeoElementRN* TGeoElemIter::fElem
private

Definition at line 361 of file TGeoElement.h.

◆ fLevel

Int_t TGeoElemIter::fLevel
private

Definition at line 363 of file TGeoElement.h.

◆ fLimitRatio

Double_t TGeoElemIter::fLimitRatio
private

Definition at line 364 of file TGeoElement.h.

◆ fRatio

Double_t TGeoElemIter::fRatio
private

Definition at line 365 of file TGeoElement.h.

◆ fTop

const TGeoElementRN* TGeoElemIter::fTop
private

Definition at line 360 of file TGeoElement.h.

Libraries for TGeoElemIter:

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