53 #ifndef G4SteppingManager_h
54 #define G4SteppingManager_h 1
81 typedef std::vector<G4int>
83 typedef std::vector<G4int>
85 typedef std::vector<G4int>
88 static const size_t SizeOfSelectedDoItVector=100;
193 void DefinePhysicalStepLength();
197 void InvokeAtRestDoItProcs();
198 void InvokeAlongStepDoItProcs();
199 void InvokePostStepDoItProcs();
200 void InvokePSDIP(
size_t);
203 void ApplyProductionCut(
G4Track*);
214 G4bool PreStepPointIsGeom;
246 size_t MAXofAtRestLoops;
247 size_t MAXofAlongStepLoops;
248 size_t MAXofPostStepLoops;
250 size_t fAtRestDoItProcTriggered;
251 size_t fAlongStepDoItProcTriggered;
252 size_t fPostStepDoItProcTriggered;
254 G4int fN2ndariesAtRestDoIt;
255 G4int fN2ndariesAlongStepDoIt;
256 G4int fN2ndariesPostStepDoIt;
304 return GeometricalStep;
308 return CorrectedStep;
312 return PreStepPointIsGeom;
324 return TempInitVelocity;
334 return sumEnergyChange;
338 return fParticleChange;
352 return fPreStepPoint;
355 return fPostStepPoint;
359 return fCurrentVolume;
365 return fCurrentProcess;
369 return fAtRestDoItVector;
372 return fAlongStepDoItVector;
375 return fPostStepDoItVector;
379 return fAtRestGetPhysIntVector;
383 return fAlongStepGetPhysIntVector;
387 return fPostStepGetPhysIntVector;
391 return MAXofAtRestLoops;
394 return MAXofAlongStepLoops;
397 return MAXofPostStepLoops;
401 return fAtRestDoItProcTriggered;
404 return fAtRestDoItProcTriggered;
407 return fPostStepDoItProcTriggered;
410 return fN2ndariesAtRestDoIt;
413 return fN2ndariesAlongStepDoIt;
416 return fN2ndariesPostStepDoIt;
427 return fSelectedAtRestDoItVector;
431 return fSelectedAlongStepDoItVector;
435 return fSelectedPostStepDoItVector;
439 return fPreviousStepSize;
443 return fTouchableHandle;
447 return StepControlFlag;
450 return physIntLength;
456 return fGPILSelection;
468 fUserSteppingAction = apAction;
471 return fUserSteppingAction;
479 verboseLevel = vLevel;
483 fVerbose = yourVerbose;
490 inline G4double G4SteppingManager::CalculateSafety(){
491 return std::max( endpointSafety -
492 (endpointSafOrigin - fPostStepPoint->
GetPosition()).mag(),