38G4ITBox::G4ITBox() : fNbIT(0), fpFirstIT(0), fpLastIT(0), fpPreviousBox(0), fpNextBox(0)
45 G4IT * aIT = fpFirstIT;
56 if(fpPreviousBox) fpPreviousBox->
SetNextBox(fpNextBox) ;
63 fpFirstIT = right.fpFirstIT;
64 fpLastIT = right.fpLastIT;
89 if( aStackedIT == fpFirstIT )
91 fpFirstIT = aStackedIT->
GetNext();
93 else if( aStackedIT == fpLastIT )
112 if( fNbIT == 0 )
return 0;
114 G4IT * temp = fpLastIT;
117 while(find ==
false && temp != 0)
119 if(temp-> GetTrack() == &track)
132 if( fNbIT == 0 )
return 0;
134 const G4IT * temp = fpLastIT;
137 while(find ==
false && temp != 0)
139 if(temp-> GetTrack() == &track)
152 G4IT * ITToTransfer = fpFirstIT;
156 aStack->
Push(ITToTransfer);
157 ITToTransfer = ITToTransfer->
GetNext();
void TransferTo(G4ITBox *)
void SetPreviousBox(G4ITBox *box)
void SetNextBox(G4ITBox *box)
G4IT * FindIT(const G4Track &)