52 if (__trackListNode == 0)
55 exceptionDescription <<
"This track " <<
GetIT(__track)->
GetName();
56 exceptionDescription <<
" was not connected to any trackList ";
58 exceptionDescription);
61 return __trackListNode;
105 if (__trackListNode != 0)
111 exceptionDescription <<
"This track " << __iTrack->
GetName();
112 exceptionDescription <<
" is already attached to a TrackList ";
113 G4Exception(
"G4FastList<OBJECT>::Flag",
"G4TrackList001",
115 exceptionDescription);
125 return __trackListNode;
132 if (__trackListNode->
fListRef->fpList !=
this)
136 exceptionDescription <<
"The track " <<
GetIT(track)->
GetName()
138 <<
" is not correctly linked to a TrackList."
140 <<
"You are probably trying to withdraw this track "
141 <<
"from the list but it probably does not belong to "
142 <<
"this track list." <<
G4endl;
143 G4Exception(
"G4FastList<OBJECT>::CheckFlag",
"G4FastList002",
168 if (__trackListNode == 0)
172 return __trackListNode;
182 if(__trackListNode == 0)
return 0;
183 if(__trackListNode->
fListRef ==
nullptr)
return 0;
185 return __trackListNode->
fListRef->fpList;
std::ostringstream G4ExceptionDescription
static G4FastListNode< OBJECT > * __GetNode(OBJECT *)
G4FastListNode< G4FastList< OBJECT > > * GetListNode()
G4shared_ptr< _ListRef< G4FastList< OBJECT > > > fListRef
void DeleteSecondaryVector()
static G4AllocatorList * GetAllocatorListIfExist()
void DeleteObject(OBJECT *)
G4FastListNode< OBJECT > * GetNext()
G4FastListNode< OBJECT > * Unflag(OBJECT *)
void Unhook(G4FastListNode< OBJECT > *)
static G4FastList< OBJECT > * GetList(OBJECT *)
void CheckFlag(G4FastListNode< OBJECT > *)
const G4Step * GetStep() const
G4shared_ptr< _ListRef< G4FastList< OBJECT > > > fListRef
G4TrackListNode * GetListNode()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4FastListNode< OBJECT > * Flag(OBJECT *)
static G4FastListNode< OBJECT > * GetNode(OBJECT *)
G4FastListNode< OBJECT > * EraseListNode(OBJECT *)
void SetListNode(G4TrackListNode *node)
G4TrackVector * GetfSecondary()
G4IT * GetIT(const G4Track *track)
bool Holds(const OBJECT *) const
virtual const G4String & GetName() const =0