Geant4  10.01
PriorityList Class Reference

#include <G4ITTrackHolder.hh>

+ Inheritance diagram for PriorityList:
+ Collaboration diagram for PriorityList:

Public Types

enum  Type { MainList = 0, SecondariesList = 1, WaitingList = 2, Undefined = -1 }
 

Public Member Functions

 PriorityList ()
 
 PriorityList (const PriorityList &right)
 
virtual ~PriorityList ()
 
virtual void NotifyDeletingList (G4TrackList *__list)
 
void NewMainList (G4TrackList *__list, G4TrackManyList &allMainList)
 
G4TrackList * NewMainList (G4TrackManyList &allMainList)
 
void PushToMainList (G4Track *__track, G4TrackManyList &allMainList)
 
void TransferToMainList (G4TrackList *&__list, G4TrackManyList &allMainList)
 
void PushToListOfSecondaries (G4Track *__track, G4TrackManyList &listOfAllSecondaries)
 
void PushToWaitingList (G4Track *__track)
 
void TransferSecondariesToMainList ()
 
void PushToMainList (G4Track *track)
 
void MergeWithMainList (G4TrackList *trackList)
 
G4TrackList * GetMainList ()
 
G4TrackList * GetSecondariesList ()
 
void SetWaitingList (G4TrackList *__list)
 
G4TrackList * Get (Type type)
 
int GetNTracks ()
 

Private Attributes

G4TrackList * fpMainList
 
G4TrackList fSecondaries
 
G4TrackList * fpWaitingList
 

Detailed Description

Definition at line 41 of file G4ITTrackHolder.hh.

Member Enumeration Documentation

Enumerator
MainList 
SecondariesList 
WaitingList 
Undefined 

Definition at line 44 of file G4ITTrackHolder.hh.

Constructor & Destructor Documentation

PriorityList::PriorityList ( )

Definition at line 44 of file G4ITTrackHolder.cc.

PriorityList::PriorityList ( const PriorityList &  right)

Definition at line 49 of file G4ITTrackHolder.cc.

PriorityList::~PriorityList ( )
virtual

Definition at line 56 of file G4ITTrackHolder.cc.

References fpMainList, and fpWaitingList.

Member Function Documentation

G4TrackList* PriorityList::Get ( Type  type)
inline
G4TrackList* PriorityList::GetMainList ( )
inline

Definition at line 77 of file G4ITTrackHolder.hh.

References fpMainList.

Referenced by G4ITTrackHolder::GetMainList(), and G4ITTrackHolder::MergeNextTimeToMainList().

+ Here is the caller graph for this function:

int PriorityList::GetNTracks ( )

Definition at line 161 of file G4ITTrackHolder.cc.

References fpMainList, fpWaitingList, fSecondaries, and G4FastList< OBJECT >::size().

+ Here is the call graph for this function:

G4TrackList* PriorityList::GetSecondariesList ( )
inline

Definition at line 82 of file G4ITTrackHolder.hh.

References fSecondaries.

void PriorityList::MergeWithMainList ( G4TrackList *  trackList)

Definition at line 155 of file G4ITTrackHolder.cc.

References fpMainList, and G4FastList< OBJECT >::transferTo().

+ Here is the call graph for this function:

void PriorityList::NewMainList ( G4TrackList *  __list,
G4TrackManyList &  allMainList 
)

Definition at line 84 of file G4ITTrackHolder.cc.

References G4ManyFastLists< OBJECT >::Add(), and fpMainList.

Referenced by NewMainList(), PushToMainList(), and TransferToMainList().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4TrackList * PriorityList::NewMainList ( G4TrackManyList &  allMainList)

Definition at line 92 of file G4ITTrackHolder.cc.

References fpMainList, and NewMainList().

+ Here is the call graph for this function:

void PriorityList::NotifyDeletingList ( G4TrackList *  __list)
virtual

Definition at line 70 of file G4ITTrackHolder.cc.

References fpMainList, and fpWaitingList.

void PriorityList::PushToListOfSecondaries ( G4Track *  __track,
G4TrackManyList &  listOfAllSecondaries 
)

Definition at line 124 of file G4ITTrackHolder.cc.

References G4ManyFastLists< OBJECT >::Add(), fSecondaries, G4FastList< OBJECT >::GetListNode(), and G4FastList< OBJECT >::push_back().

Referenced by G4ITTrackHolder::PushTo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PriorityList::PushToMainList ( G4Track *  __track,
G4TrackManyList &  allMainList 
)

Definition at line 99 of file G4ITTrackHolder.cc.

References fpMainList, NewMainList(), and G4FastList< OBJECT >::push_back().

Referenced by G4ITTrackHolder::PushTo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PriorityList::PushToMainList ( G4Track *  track)

Definition at line 149 of file G4ITTrackHolder.cc.

References fpMainList, and G4FastList< OBJECT >::push_back().

+ Here is the call graph for this function:

void PriorityList::PushToWaitingList ( G4Track *  __track)

Definition at line 135 of file G4ITTrackHolder.cc.

References fpWaitingList, and G4FastList< OBJECT >::push_back().

Referenced by G4ITTrackHolder::PushTo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PriorityList::SetWaitingList ( G4TrackList *  __list)
inline

Definition at line 87 of file G4ITTrackHolder.hh.

References fpWaitingList.

void PriorityList::TransferSecondariesToMainList ( )

Definition at line 144 of file G4ITTrackHolder.cc.

References fpMainList, fSecondaries, and G4FastList< OBJECT >::transferTo().

+ Here is the call graph for this function:

void PriorityList::TransferToMainList ( G4TrackList *&  __list,
G4TrackManyList &  allMainList 
)

Definition at line 109 of file G4ITTrackHolder.cc.

References fpMainList, NewMainList(), and G4FastList< OBJECT >::transferTo().

Referenced by G4ITTrackHolder::MergeNextTimeToMainList().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4TrackList* PriorityList::fpWaitingList
private
G4TrackList PriorityList::fSecondaries
private

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