54 fOldTouchableH(), fNewTouchableH(), fInitialTouchableH(), fFinalTouchableH()
147 G4ThreeVector preStepPosition, postStepPosition, direction, finalPostStepPosition;
165 direction= (finalPostStepPosition - preStepPosition).unit();
169 postStepPosition= preStepPosition;
172 for ( iStep=0; iStep < numberVoxelsInStep; iStep++ ){
174 G4double stepLength=0.0, energyLoss= 0.0;
179 preStepPosition= postStepPosition;
188 postStepPosition= preStepPosition + stepLength * direction;
194 if( iStep < numberVoxelsInStep -1 ){
196 G4int nextVoxelId= -1;
212 eLossFraction= (totalEnergyDeposit>0.0) ? energyLoss / totalEnergyDeposit : 1.0 ;
235 GetNavigatorForTracking()->CreateTouchableHistory(oldTouchableHistory->
GetHistory());
257 G4cout <<
" Current volume type is not Parameterised. " <<
G4endl;
258 G4Exception(
"G4ScoreSplittingProcess::CreateTouchableForSubStep",
260 "Score Splitting Process is used for Regular Structure - but did not find one here.");
262 return ptrTouchableHistory;
281 G4cout <<
"In mass geometry ------------------------------------------------" <<
G4endl;
284 G4cout <<
" PreStepPoint : "
289 {
G4cout <<
"NoProcessAssigned"; }
292 G4cout <<
" PostStepPoint : ";
296 {
G4cout <<
"OutOfWorld"; }
301 {
G4cout <<
"NoProcessAssigned"; }
305 G4cout <<
"In ghost geometry ------------------------------------------------" <<
G4endl;
307 <<
" TotalEnergyDeposit : "
309 G4cout <<
" PreStepPoint : "
316 {
G4cout <<
"NoProcessAssigned"; }
319 G4cout <<
" PostStepPoint : ";
327 {
G4cout <<
"OutOfWorld"; }
332 {
G4cout <<
"NoProcessAssigned"; }