Geant4_10
Public Types | Public Member Functions | Protected Member Functions | List of all members
G4TrackList Class Reference

#include <G4TrackList.hh>

Public Types

typedef G4TrackList_iterator iterator
 

Public Member Functions

 G4TrackList ()
 
 ~G4TrackList ()
 
G4Trackback ()
 
G4int size () const
 
bool empty () const
 
iterator insert (iterator, G4Track *)
 
iterator begin ()
 
iterator end ()
 
bool Holds (const G4Track *) const
 
void push_front (G4Track *__track)
 
void push_back (G4Track *__track)
 
G4Trackpop_back ()
 
void remove (G4Track *)
 
iterator pop (G4Track *)
 
iterator pop (iterator __first, iterator __last)
 
iterator erase (G4Track *)
 
iterator erase (iterator __first, iterator __last)
 
void transferTo (G4TrackList *)
 

Protected Member Functions

G4TrackListNodeCreateNode (G4Track *)
 
G4TrackListNodeFlag (G4Track *)
 
G4TrackListNodeUnflag (G4Track *)
 
void CheckFlag (G4TrackListNode *)
 
void DeleteTrack (G4Track *)
 
void Hook (G4TrackListNode *, G4TrackListNode *)
 
void Unhook (G4TrackListNode *)
 
G4TrackListNodeEraseTrackListNode (G4Track *)
 

Detailed Description

G4TrackList is used by G4ITStepManager to save G4IT tracks only. Its advantage lies to a fast search of a track in this list.

Definition at line 106 of file G4TrackList.hh.

Member Typedef Documentation

Definition at line 120 of file G4TrackList.hh.

Constructor & Destructor Documentation

G4TrackList::G4TrackList ( )

Definition at line 77 of file G4TrackList.cc.

Here is the call graph for this function:

G4TrackList::~G4TrackList ( )

Definition at line 107 of file G4TrackList.cc.

Here is the call graph for this function:

Member Function Documentation

G4Track* G4TrackList::back ( )
inline

Definition at line 125 of file G4TrackList.hh.

Here is the call graph for this function:

G4TrackList::iterator G4TrackList::begin ( )
inline

Definition at line 271 of file G4TrackList.hh.

Here is the caller graph for this function:

void G4TrackList::CheckFlag ( G4TrackListNode __trackListNode)
protected

Definition at line 269 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4TrackListNode * G4TrackList::CreateNode ( G4Track __track)
protected

Complexity = constant

Definition at line 170 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4TrackList::DeleteTrack ( G4Track __track)
protected

Definition at line 335 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

bool G4TrackList::empty ( ) const
inline

Definition at line 267 of file G4TrackList.hh.

G4TrackList::iterator G4TrackList::end ( )
inline

Definition at line 274 of file G4TrackList.hh.

Here is the caller graph for this function:

G4TrackList::iterator G4TrackList::erase ( G4Track __track)

Definition at line 346 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4TrackList::iterator G4TrackList::erase ( iterator  __first,
iterator  __last 
)

Complexity = constant By storing the node inside the object, we avoid searching through all the container.

Definition at line 377 of file G4TrackList.cc.

Here is the call graph for this function:

G4TrackListNode * G4TrackList::EraseTrackListNode ( G4Track __track)
protected

Definition at line 325 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4TrackListNode * G4TrackList::Flag ( G4Track __track)
protected

Definition at line 142 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

bool G4TrackList::Holds ( const G4Track track) const

return an iterator that contains an empty node use for boundary checking only

Definition at line 137 of file G4TrackList.cc.

Here is the call graph for this function:

void G4TrackList::Hook ( G4TrackListNode __position,
G4TrackListNode __toHook 
)
protected

Definition at line 176 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4TrackList::iterator G4TrackList::insert ( G4TrackList::iterator  __position,
G4Track __track 
)

Definition at line 258 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4TrackList::iterator G4TrackList::pop ( G4Track __track)

Definition at line 317 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4TrackList::iterator G4TrackList::pop ( iterator  __first,
iterator  __last 
)

Definition at line 363 of file G4TrackList.cc.

Here is the call graph for this function:

G4Track * G4TrackList::pop_back ( )

Definition at line 308 of file G4TrackList.cc.

Here is the call graph for this function:

void G4TrackList::push_back ( G4Track __track)
inline

Definition at line 284 of file G4TrackList.hh.

Here is the call graph for this function:

void G4TrackList::push_front ( G4Track __track)
inline

Definition at line 279 of file G4TrackList.hh.

Here is the call graph for this function:

void G4TrackList::remove ( G4Track __track)

Definition at line 357 of file G4TrackList.cc.

Here is the call graph for this function:

G4int G4TrackList::size ( ) const
inline

Definition at line 131 of file G4TrackList.hh.

void G4TrackList::transferTo ( G4TrackList __destination)

Complexity = linear in size between __first and __last

Definition at line 389 of file G4TrackList.cc.

Here is the call graph for this function:

G4TrackListNode * G4TrackList::Unflag ( G4Track __track)
protected

Definition at line 288 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4TrackList::Unhook ( G4TrackListNode __toUnHook)
protected

Definition at line 225 of file G4TrackList.cc.

Here is the call graph for this function:

Here is the caller graph for this function:


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