Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TrackListNode Class Reference

#include <G4TrackList.hh>

Public Member Functions

G4TrackGetTrack ()
 
G4TrackListNodeGetNext ()
 
G4TrackListNodeGetPrevious ()
 
bool IsAttached ()
 

Protected Member Functions

 G4TrackListNode (G4Track *track=0)
 
 ~G4TrackListNode ()
 
void SetNext (G4TrackListNode *node)
 
void SetPrevious (G4TrackListNode *node)
 
void SetAttachedToList (bool flag)
 

Protected Attributes

bool fAttachedToList
 
G4ReferenceCountedHandle< _ListReffListRef
 
G4TrackfpTrack
 
G4TrackListNodefpPrevious
 
G4TrackListNodefpNext
 

Friends

class G4TrackList
 

Detailed Description

G4TrackListNode is the entity actually stored by the G4TrackList. A G4TrackListNode should belong only to one list. Also, a track should belong only to one list.

Definition at line 72 of file G4TrackList.hh.

Constructor & Destructor Documentation

◆ G4TrackListNode()

G4TrackListNode::G4TrackListNode ( G4Track track = 0)
protected

Default constructor

Definition at line 64 of file G4TrackList.cc.

64 :
65 fpTrack(track),
66 fpPrevious(0),
67 fpNext(0)
68{
69 fAttachedToList = false;
70}
G4TrackListNode * fpNext
Definition: G4TrackList.hh:95
G4Track * fpTrack
Definition: G4TrackList.hh:93
G4TrackListNode * fpPrevious
Definition: G4TrackList.hh:94

◆ ~G4TrackListNode()

G4TrackListNode::~G4TrackListNode ( )
protected

Default destructor

Definition at line 72 of file G4TrackList.cc.

73{;}

Member Function Documentation

◆ GetNext()

◆ GetPrevious()

G4TrackListNode * G4TrackListNode::GetPrevious ( )
inline

Definition at line 79 of file G4TrackList.hh.

79{ return fpPrevious;}

Referenced by G4TrackList::Hook(), G4TrackList_iterator::operator--(), and G4TrackList::Unhook().

◆ GetTrack()

◆ IsAttached()

bool G4TrackListNode::IsAttached ( )
inline

Definition at line 80 of file G4TrackList.hh.

80{ return fAttachedToList;}

◆ SetAttachedToList()

void G4TrackListNode::SetAttachedToList ( bool  flag)
inlineprotected

Definition at line 89 of file G4TrackList.hh.

89{ fAttachedToList = flag;}

◆ SetNext()

void G4TrackListNode::SetNext ( G4TrackListNode node)
inlineprotected

◆ SetPrevious()

void G4TrackListNode::SetPrevious ( G4TrackListNode node)
inlineprotected

Friends And Related Function Documentation

◆ G4TrackList

friend class G4TrackList
friend

Definition at line 74 of file G4TrackList.hh.

Member Data Documentation

◆ fAttachedToList

bool G4TrackListNode::fAttachedToList
protected

◆ fListRef

G4ReferenceCountedHandle<_ListRef> G4TrackListNode::fListRef
protected

Definition at line 92 of file G4TrackList.hh.

Referenced by G4TrackList::Flag(), and G4TrackList::Unflag().

◆ fpNext

G4TrackListNode* G4TrackListNode::fpNext
protected

Definition at line 95 of file G4TrackList.hh.

Referenced by GetNext(), and SetNext().

◆ fpPrevious

G4TrackListNode* G4TrackListNode::fpPrevious
protected

Definition at line 94 of file G4TrackList.hh.

Referenced by GetPrevious(), and SetPrevious().

◆ fpTrack

G4Track* G4TrackListNode::fpTrack
protected

Definition at line 93 of file G4TrackList.hh.

Referenced by GetTrack().


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