37G4ITBox::G4ITBox() : fNbIT(0), fpFirstIT(0), fpLastIT(0), fpPreviousBox(0), fpNextBox(0)
44 G4IT * aIT = fpFirstIT;
55 if(fpPreviousBox) fpPreviousBox->
SetNextBox(fpNextBox) ;
62 fpFirstIT = right.fpFirstIT;
63 fpLastIT = right.fpLastIT;
88 if( aStackedIT == fpFirstIT )
90 fpFirstIT = aStackedIT->
GetNext();
92 else if( aStackedIT == fpLastIT )
111 if( fNbIT == 0 )
return 0;
113 G4IT * temp = fpLastIT;
116 while(find ==
false && temp != 0)
118 if(temp-> GetTrack() == &track)
131 if( fNbIT == 0 )
return 0;
133 const G4IT * temp = fpLastIT;
136 while(find ==
false && temp != 0)
138 if(temp-> GetTrack() == &track)
151 G4IT * ITToTransfer = fpFirstIT;
155 aStack->
Push(ITToTransfer);
156 ITToTransfer = ITToTransfer->
GetNext();
void TransferTo(G4ITBox *)
void SetPreviousBox(G4ITBox *box)
void SetNextBox(G4ITBox *box)
G4IT * FindIT(const G4Track &)