55 :
G4VProcess(processName,theType), fGhostNavigator(0), fNavigatorID(-1), fFieldTrack(
'0')
91 fGhostWorldName = parallelWorldName;
93 fGhostNavigator = fTransportationManager->
GetNavigator(fGhostWorld);
103 fGhostWorldName = parallelWorld->
GetName();
104 fGhostWorld = parallelWorld;
105 fGhostNavigator = fTransportationManager->
GetNavigator(fGhostWorld);
116 if(partName==
"opticalphoton")
return false;
117 if(partName==
"geantino")
return false;
118 if(partName==
"chargedgeantino")
return false;
122 if(pdgCode==22)
return false;
123 if(pdgCode==11)
return false;
124 if(pdgCode==2212)
return false;
125 if(pdgCode==-12)
return false;
126 if(pdgCode==12)
return false;
127 if(pdgCode==-14)
return false;
128 if(pdgCode==14)
return false;
129 if(pdgCode==-16)
return false;
130 if(pdgCode==16)
return false;
151 G4Exception(
"G4ParallelWorldScoringProcess::StartTracking",
153 "G4ParallelWorldScoringProcess is used for tracking without having a parallel world assigned");
169 fNewGhostTouchable = fOldGhostTouchable;
210 fNewGhostTouchable = fOldGhostTouchable;
292 fNewGhostTouchable = fOldGhostTouchable;
334 if (previousStepSize > 0.)
335 { fGhostSafety -= previousStepSize; }
338 if (fGhostSafety < 0.) fGhostSafety = 0.0;
343 if (currentMinimumStep <= fGhostSafety && currentMinimumStep > 0.)
346 returnedStep = currentMinimumStep;
348 proposedSafety = fGhostSafety - currentMinimumStep;
357 = fPathFinder->
ComputeStep(fFieldTrack,currentMinimumStep,fNavigatorID,
365 fGhostSafety = fGhostNavigator->
ComputeSafety(endTrack.GetPosition());
373 proposedSafety = fGhostSafety;
377 returnedStep *= (1.0 + 1.0e-9);
400 void G4ParallelWorldScoringProcess::CopyStep(
const G4Step & step)
426 G4cout <<
"In mass geometry ------------------------------------------------" <<
G4endl;
429 G4cout <<
" PreStepPoint : "
434 {
G4cout <<
"NoProcessAssigned"; }
437 G4cout <<
" PostStepPoint : ";
441 {
G4cout <<
"OutOfWorld"; }
446 {
G4cout <<
"NoProcessAssigned"; }
450 G4cout <<
"In ghost geometry ------------------------------------------------" <<
G4endl;
452 <<
" TotalEnergyDeposit : "
454 G4cout <<
" PreStepPoint : "
461 {
G4cout <<
"NoProcessAssigned"; }
464 G4cout <<
" PostStepPoint : ";
472 {
G4cout <<
"OutOfWorld"; }
477 {
G4cout <<
"NoProcessAssigned"; }